From 0da2fc9598fbef8e39638192e10f0906a5d74ef4 Mon Sep 17 00:00:00 2001 From: Andy Witter Date: Wed, 8 May 2013 19:19:37 -0400 Subject: [PATCH] fix swap usage bug --- templates/monitor/nrpe_local.cfg | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/templates/monitor/nrpe_local.cfg b/templates/monitor/nrpe_local.cfg index 06581f5..b8ea7c1 100644 --- a/templates/monitor/nrpe_local.cfg +++ b/templates/monitor/nrpe_local.cfg @@ -11,10 +11,13 @@ command[check_swap]=/usr/lib/nagios/plugins/check_swap -w $ARG1$ -c $ARG2$ command[check_storage_disk]=/usr/lib/nagios/plugins/check_disk -u GB -w $ARG1$ -c $ARG2$ ### Check Processes -command[check_proc]=/usr/lib/nagios/plugins/check_procs -C $ARG1$ -w $ARG2$ -c $ARG3$ +command[check_proc]=/usr/lib/nagios/plugins/check_procs -w $ARG2$ -c $ARG3$ -C $ARG1$ ### Clark command[check_clark]=/usr/lib/nagios/plugins/check_procs -w1:5 -c1:5 -C Clark ### Hold Targeter Lock File Age command[check_hold_targeter_lock]=/usr/lib/nagios/plugins/check_file_age -w 14400 -c 21600 /tmp/hold_targeter-LOCK + +# CPU I/O +command[check_cpu_io]=/usr/lib/nagios/plugins/check_cpu.sh -iw 30 -ic 50 -- 2.11.0