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

glen glen at pld-linux.org
Mon Feb 1 17:40:11 CET 2010


Author: glen                         Date: Mon Feb  1 16:40:11 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- add service template

---- Files affected:
packages/nagios-plugin-check_rbl:
   check_rbl.cfg (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: packages/nagios-plugin-check_rbl/check_rbl.cfg
diff -u packages/nagios-plugin-check_rbl/check_rbl.cfg:1.2 packages/nagios-plugin-check_rbl/check_rbl.cfg:1.3
--- packages/nagios-plugin-check_rbl/check_rbl.cfg:1.2	Mon Feb  1 17:15:32 2010
+++ packages/nagios-plugin-check_rbl/check_rbl.cfg	Mon Feb  1 17:40:06 2010
@@ -4,3 +4,18 @@
 	command_name    check_rbl
 	command_line    /usr/lib/nagios/plugins/check_rbl -H $HOSTADDRESS$ $ARG1$
 }
+
+# service definition
+define service {
+	use                     generic-service
+	name                    rbl
+	service_description     rbl
+	register                0
+
+	normal_check_interval   1440
+	notification_interval   1440
+	max_check_attempts      1
+
+	; use [rbl] section for servers list
+	check_command           check_rbl!--extra-opts=rbl@/etc/nagios/plugins/check_rbl.ini
+}
================================================================

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



More information about the pld-cvs-commit mailing list