summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-06-06 22:49:35 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2021-06-06 22:49:35 +0100
commitde8213ad52ae133cae9062c852d3785132d728b7 (patch)
treee60fb3a0a719bf0d7930fb59baffee855cbda75b
parentAllow 1 failure in check_crm (diff)
downloadconfig-de8213ad52ae133cae9062c852d3785132d728b7.tar.bz2
config-de8213ad52ae133cae9062c852d3785132d728b7.tar.xz
config-de8213ad52ae133cae9062c852d3785132d728b7.zip
Only check critical HAProxy services
-rw-r--r--nagios/nrpe.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/nagios/nrpe.cfg b/nagios/nrpe.cfg
index 0d17f86..e93ea7c 100644
--- a/nagios/nrpe.cfg
+++ b/nagios/nrpe.cfg
@@ -18,7 +18,7 @@ command[check_raid]=/usr/lib64/nagios/plugins/check_raid.pl
command[check_file_age]=/usr/lib64/nagios/plugins/check_file_age -f $ARG1$ -w 1800 -c 2700
command[check_file_no_linger]=/usr/lib64/nagios/plugins/check_file_age -f $ARG1$ -w 600 -c 86400 -i
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
+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
command[check_swap]=/usr/lib64/nagios/plugins/check_swap $ARG1$
command[check_sensors]=/usr/lib64/nagios/plugins/check_lm_sensors --sanitize $$(cat /etc/nagios/nrpe.sensors)