packages: nagios-plugin-check_poldek/check_poldek.cfg - add service template

glen glen at pld-linux.org
Wed Jan 11 20:02:33 CET 2012


Author: glen                         Date: Wed Jan 11 19:02:33 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- add service template

---- Files affected:
packages/nagios-plugin-check_poldek:
   check_poldek.cfg (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/nagios-plugin-check_poldek/check_poldek.cfg
diff -u packages/nagios-plugin-check_poldek/check_poldek.cfg:1.1 packages/nagios-plugin-check_poldek/check_poldek.cfg:1.2
--- packages/nagios-plugin-check_poldek/check_poldek.cfg:1.1	Wed Jan 11 15:53:22 2012
+++ packages/nagios-plugin-check_poldek/check_poldek.cfg	Wed Jan 11 20:02:28 2012
@@ -1,6 +1,19 @@
 # Usage:
-# check_poldek
+# check_poldek!-w 5 -c 10 -n th
 define command {
 	command_name    check_poldek
 	command_line    /usr/lib/nagios/plugins/check_poldek $ARG1$
+}
+
+define service {
+    use                     generic-service
+    name                    check_poldek
+    service_description     check_poldek
+    register                0
+
+    ; check every 12h is sufficent, notify daily
+    normal_check_interval   720
+    notification_interval   1440
+
+    check_command           check_poldek
 }
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/nagios-plugin-check_poldek/check_poldek.cfg?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list