diff options
-rw-r--r-- | nagios/nrpe.cfg | 2 | ||||
-rw-r--r-- | nagios/objects/cluster.cfg | 2 | ||||
-rw-r--r-- | nagios/objects/commands.cfg | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/nagios/nrpe.cfg b/nagios/nrpe.cfg index e3c95d1..054f1a6 100644 --- a/nagios/nrpe.cfg +++ b/nagios/nrpe.cfg @@ -21,7 +21,7 @@ command[check_file_no_linger]=/usr/lib64/nagios/plugins/check_file_age -f $ARG1$ command[check_file_exists]=/usr/lib64/nagios/plugins/check_file_age -f $ARG1$ -w 15552000 -c 15552001 command[check_haproxy]=/usr/lib64/nagios/plugins/check_haproxy_stats -s /run/haproxy.stats -p http,https,smtp,submissions,imaps,mysql command[check_time]=/usr/lib64/nagios/plugins/check_ntp_time -H uk.pool.ntp.org -w 0.015 -c 0.03 -command[check_swap]=/usr/lib64/nagios/plugins/check_swap $ARG1$ +command[check_swap]=/usr/lib64/nagios/plugins/check_swap -w $ARG1$ -c $ARG2$ -a warning command[check_sensors]=/usr/lib64/nagios/plugins/check_lm_sensors --sanitize $$(cat /etc/nagios/nrpe.sensors) command[check_crm]=/usr/lib64/nagios/plugins/check_crm -w -f2 command[check_service]=/usr/lib64/nagios/plugins/check_service -s $ARG1$ diff --git a/nagios/objects/cluster.cfg b/nagios/objects/cluster.cfg index dd5c081..a81fbe0 100644 --- a/nagios/objects/cluster.cfg +++ b/nagios/objects/cluster.cfg @@ -101,7 +101,7 @@ define service { use remote-service hostgroup_name linux-servers service_description Swap Usage - check_command check_swap!20 + check_command check_swap!20!10 action_url /nagiosgraph/cgi-bin/show.cgi?host=$HOSTNAME$&service=$SERVICEDESC$&db=swap%2Cdata&geom=800x180 } define service { diff --git a/nagios/objects/commands.cfg b/nagios/objects/commands.cfg index 0befcfa..651590a 100644 --- a/nagios/objects/commands.cfg +++ b/nagios/objects/commands.cfg @@ -65,7 +65,7 @@ define command { define command { command_name check_swap - command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_swap -a $ARG1$ + command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_swap -a $ARG1$ $ARG2$ } define command { |