aboutsummaryrefslogtreecommitdiffstats
path: root/sitesummary-nodes
diff options
context:
space:
mode:
Diffstat (limited to 'sitesummary-nodes')
-rwxr-xr-xsitesummary-nodes1
1 files changed, 1 insertions, 0 deletions
diff --git a/sitesummary-nodes b/sitesummary-nodes
index 0961c74..635d4a4 100755
--- a/sitesummary-nodes
+++ b/sitesummary-nodes
@@ -223,6 +223,7 @@ sub generate_nagios_config {
if (defined $defaultroute && !exists $hosts{$defaultroute}) {
print_nagios_host_check($defaultroute, $defaultroute, "site-none");
$hosts{$defaultroute} = $defaultroute;
+ $hostgroup{"site-none"} = 1;
print_nagios_service_check(0, $defaultroute, "ping",
"check_ping", "100.0,20%!500.0,60%");
}