From bb2af3a10fc9f400be8a1a6fb35629f54ec5a879 Mon Sep 17 00:00:00 2001 From: Petter Reinholdtsen Date: Tue, 6 Apr 2010 13:35:24 +0000 Subject: Add service definition to dummy nagios configuration generated at install time to make sure the dummy entry work with Nagios 3.2 too. --- debian/changelog | 3 +++ debian/sitesummary.postinst | 7 +++++++ 2 files changed, 10 insertions(+) (limited to 'debian') 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 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 -- cgit v1.2.3