summaryrefslogtreecommitdiff
path: root/nagios/objects
diff options
context:
space:
mode:
Diffstat (limited to 'nagios/objects')
-rw-r--r--nagios/objects/cluster.cfg7
-rw-r--r--nagios/objects/commands.cfg5
2 files changed, 12 insertions, 0 deletions
diff --git a/nagios/objects/cluster.cfg b/nagios/objects/cluster.cfg
index 7d1ab50..7e6adb9 100644
--- a/nagios/objects/cluster.cfg
+++ b/nagios/objects/cluster.cfg
@@ -298,3 +298,10 @@ define service {
service_description IMAPS
check_command check_simap
}
+define service {
+ use local-service
+ host_name virtualip
+ service_description CRM
+ check_command check_crm
+}
+
diff --git a/nagios/objects/commands.cfg b/nagios/objects/commands.cfg
index 5e13407..19f62ac 100644
--- a/nagios/objects/commands.cfg
+++ b/nagios/objects/commands.cfg
@@ -73,6 +73,11 @@ define command {
command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_haproxy
}
+define command {
+ command_name check_crm
+ command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_crm
+}
+
################################################################################
# NOTE: The following 'check_...' commands are used to monitor services on