From dfce55705597fb8a14075513f16d53c2b9bf8c8b Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Thu, 8 Sep 2022 19:32:19 +0100 Subject: Add gateway to some service checks --- nagios/objects/cluster.cfg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nagios/objects/cluster.cfg b/nagios/objects/cluster.cfg index f54e75a..89f3268 100644 --- a/nagios/objects/cluster.cfg +++ b/nagios/objects/cluster.cfg @@ -223,6 +223,7 @@ define service { define service { use local-service hostgroup_name linux-servers + host_name gateway service_description SSH check_command check_ssh action_url /nagiosgraph/cgi-bin/show.cgi?host=$HOSTNAME$&service=$SERVICEDESC$&db=time%2Cdata&geom=800x180 @@ -427,7 +428,7 @@ define service { } define service { use local-service - host_name virtualipin + host_name virtualipin,gateway service_description HTTP check_command check_http action_url /nagiosgraph/cgi-bin/show.cgi?host=$HOSTNAME$&service=$SERVICEDESC$&db=time%2Cdata&geom=800x180 -- cgit v1.2.3