library/roles/nagios/templates/common-nrpe.cfg.j2: Add memory and swap checks to the common nrpe commands.

This commit is contained in:
Andrea Dell'Amico 2016-07-28 11:17:24 +02:00
parent 2f45446416
commit 80c6b54497
1 changed files with 3 additions and 2 deletions

View File

@ -1,8 +1,9 @@
# Debian 4 doesn't support "-A -i options" #
command[global_check_disk]={{ nagios_plugins_dir }}/check_disk -w {{ nagios_check_disk_w }}% -c {{ nagios_check_disk_c }}% -X tmpfs -X proc -X sysfs -X devpts -X dev -A -i /mnt/.* command[global_check_disk]={{ nagios_plugins_dir }}/check_disk -w {{ nagios_check_disk_w }}% -c {{ nagios_check_disk_c }}% -X tmpfs -X proc -X sysfs -X devpts -X dev -A -i /mnt/.*
#command[global_check_disk]={{ nagios_plugins_dir }}/check_disk -w {{ nagios_check_disk_w }}% -c {{ nagios_check_disk_c }}% -X tmpfs -X proc -X sysfs -X devpts
command[global_check_load]={{ nagios_plugins_dir }}/check_load -w 20,15,10 -c 35,30,25 command[global_check_load]={{ nagios_plugins_dir }}/check_load -w 20,15,10 -c 35,30,25
command[global_check_memory]={{ nagios_plugins_dir }}/check_memory -u G -w 5% -c 1%
command[global_check_load]={{ nagios_plugins_dir }}/check_swap -w 20% -c 5%
command[global_check_zombie_procs]={{ nagios_plugins_dir }}/check_procs -w 5 -c 10 -s Z command[global_check_zombie_procs]={{ nagios_plugins_dir }}/check_procs -w 5 -c 10 -s Z
command[global_check_total_procs]={{ nagios_plugins_dir }}/check_procs -w 800 -c 1000 command[global_check_total_procs]={{ nagios_plugins_dir }}/check_procs -w 800 -c 1000