aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/changelog3
-rw-r--r--debian/sitesummary.postinst7
2 files changed, 10 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index f9e11da..a53be94 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,9 @@ sitesummary (0.0.63) UNRELEASED; urgency=low
* Save some time when collecting cdp information by skipping the
loopback interface. It is unlikely to be connected to a Cisco
switch.
+ * Add service definition to dummy nagios configuration generated at
+ install time to make sure the dummy entry work with Nagios 3.2
+ too.
-- Petter Reinholdtsen <pere@debian.org> Tue, 23 Mar 2010 22:35:46 +0100
diff --git a/debian/sitesummary.postinst b/debian/sitesummary.postinst
index 6362027..c1c82b9 100644
--- a/debian/sitesummary.postinst
+++ b/debian/sitesummary.postinst
@@ -24,6 +24,13 @@ define host {
host_name localhost
address localhost
}
+
+define service {
+ use server-service
+ host_name localhost
+ service_description ping
+ check_command check_ping!100.0,20%!500.0,60%
+}
EOF
fi
fi