aboutsummaryrefslogtreecommitdiffstats
path: root/debian/sitesummary.postinst
diff options
context:
space:
mode:
authorPetter Reinholdtsen <pere@hungry.com>2010-04-06 13:35:24 +0000
committerPetter Reinholdtsen <pere@hungry.com>2010-04-06 13:35:24 +0000
commitbb2af3a10fc9f400be8a1a6fb35629f54ec5a879 (patch)
treef8a7b5c26c240e14957f422793e9469a93659024 /debian/sitesummary.postinst
parent91886ce1f5d3e1115130b97b13b72241ff54246d (diff)
downloadsitesummary-bb2af3a10fc9f400be8a1a6fb35629f54ec5a879.tar.gz
sitesummary-bb2af3a10fc9f400be8a1a6fb35629f54ec5a879.tar.bz2
sitesummary-bb2af3a10fc9f400be8a1a6fb35629f54ec5a879.tar.xz
Add service definition to dummy nagios configuration generated at
install time to make sure the dummy entry work with Nagios 3.2 too.
Diffstat (limited to 'debian/sitesummary.postinst')
-rw-r--r--debian/sitesummary.postinst7
1 files changed, 7 insertions, 0 deletions
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