summaryrefslogtreecommitdiff
path: root/nagios/objects/commands.cfg
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2019-04-08 17:11:49 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2019-04-08 17:11:49 +0100
commita101bc4cdf403beaf46661f5708f8489e38d8bef (patch)
tree99fa63e4796105622d2a75c7d4fd51b81c33bf2e /nagios/objects/commands.cfg
parentAdd Nagios config (diff)
downloadconfig-a101bc4cdf403beaf46661f5708f8489e38d8bef.tar.bz2
config-a101bc4cdf403beaf46661f5708f8489e38d8bef.tar.xz
config-a101bc4cdf403beaf46661f5708f8489e38d8bef.zip
Add haproxy monitoring to nagios
Diffstat (limited to 'nagios/objects/commands.cfg')
-rw-r--r--nagios/objects/commands.cfg5
1 files changed, 5 insertions, 0 deletions
diff --git a/nagios/objects/commands.cfg b/nagios/objects/commands.cfg
index 0b22568..b11cc68 100644
--- a/nagios/objects/commands.cfg
+++ b/nagios/objects/commands.cfg
@@ -48,6 +48,11 @@ define command {
command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_swap -a $ARG1$
}
+define command {
+ command_name check_haproxy
+ command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_haproxy
+}
+
################################################################################
# NOTE: The following 'check_...' commands are used to monitor services on