summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2020-10-31 18:57:49 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2020-10-31 19:06:46 +0000
commit7a208348b91b18c0b6878dd9e594c94348168ae2 (patch)
tree8602cf0b6316ffb2824bb962178100a41b4bf9bd
parentDo a proper HTTPS check, not just a TCP connect (diff)
downloadconfig-7a208348b91b18c0b6878dd9e594c94348168ae2.tar.bz2
config-7a208348b91b18c0b6878dd9e594c94348168ae2.tar.xz
config-7a208348b91b18c0b6878dd9e594c94348168ae2.zip
Add passive checks for GB API
-rw-r--r--nagios/objects/cluster.cfg25
1 files changed, 25 insertions, 0 deletions
diff --git a/nagios/objects/cluster.cfg b/nagios/objects/cluster.cfg
index 0987114..8e8df91 100644
--- a/nagios/objects/cluster.cfg
+++ b/nagios/objects/cluster.cfg
@@ -377,3 +377,28 @@ define service {
check_command check_crm
}
+#
+# Passive checks
+#
+define command {
+ command_name passive-only
+ command_line echo "Unknown: passive-only" && exit 3
+}
+define service {
+ use generic-service
+ name passive-service
+ register 0
+ active_checks_enabled 0
+ passive_checks_enabled 1
+ check_command passive-only
+}
+define service {
+ use passive-service
+ host_name firebrand
+ service_description GB API Package Updates
+}
+define service {
+ use passive-service
+ host_name firebrand
+ service_description GB API Bug Updates
+}