aboutsummaryrefslogtreecommitdiffstats
path: root/sitesummary-nodes
diff options
context:
space:
mode:
authorPetter Reinholdtsen <pere@hungry.com>2010-01-23 10:30:49 +0000
committerPetter Reinholdtsen <pere@hungry.com>2010-01-23 10:30:49 +0000
commit4621c4dc41a22b6c1b7e3fdb94edc0ca0c62a2f8 (patch)
treef3941b09f2c345eeb7cad57a0aad680c9ba81d83 /sitesummary-nodes
parentc7c1711b655176f8513a763ef19419b23169c492 (diff)
downloadsitesummary-4621c4dc41a22b6c1b7e3fdb94edc0ca0c62a2f8.tar.gz
sitesummary-4621c4dc41a22b6c1b7e3fdb94edc0ca0c62a2f8.tar.bz2
sitesummary-4621c4dc41a22b6c1b7e3fdb94edc0ca0c62a2f8.tar.xz
Put default routers in the router host group.
Diffstat (limited to 'sitesummary-nodes')
-rwxr-xr-xsitesummary-nodes4
1 files changed, 2 insertions, 2 deletions
diff --git a/sitesummary-nodes b/sitesummary-nodes
index 1602fcb..0b5b673 100755
--- a/sitesummary-nodes
+++ b/sitesummary-nodes
@@ -255,9 +255,9 @@ sub generate_nagios_config {
# Also check default route host
if (defined $defaultroute && !exists $hosts{$defaultroute}) {
print_nagios_host_check(undef, $defaultroute, $defaultroute,
- undef, "site-none");
+ undef, "router");
$hosts{$defaultroute} = $defaultroute;
- $hostgroup{"site-none"} = 1;
+ $hostgroup{"router"} = 1;
print_nagios_service_check(0, $defaultroute, "ping",
"check_ping", "100.0,20%!500.0,60%");
}