From d93cb21b8927eb21967e76f044becf3f965887e4 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Thu, 26 Oct 2017 13:02:08 +0200 Subject: [PATCH] nagios check_memory: report the data in MB instead of GB. --- nagios/templates/common-nrpe.cfg.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nagios/templates/common-nrpe.cfg.j2 b/nagios/templates/common-nrpe.cfg.j2 index 48fa5d8..0965f01 100644 --- a/nagios/templates/common-nrpe.cfg.j2 +++ b/nagios/templates/common-nrpe.cfg.j2 @@ -2,7 +2,7 @@ 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_load]={{ nagios_plugins_dir }}/check_load {% if nagios_load_per_cpu %}-r{% endif %} -w {{ nagios_load_w }} -c {{ nagios_load_c }} -command[global_check_memory]={{ nagios_plugins_dir }}/check_memory -u G -w 5% -c 1% +command[global_check_memory]={{ nagios_plugins_dir }}/check_memory -u M -w 5% -c 1% command[global_check_swap]={{ 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_total_procs]={{ nagios_plugins_dir }}/check_procs -w 800 -c 1000