]> git.pld-linux.org Git - packages/nagios-plugin-check_rbl.git/blobdiff - check_rbl.cfg
- default check at 3h
[packages/nagios-plugin-check_rbl.git] / check_rbl.cfg
index 7cc707a6b0afa05bf83be6794b57cfa3330059c4..9213db1a2aed4a4a98c2641ebb1af564eab52e39 100644 (file)
@@ -4,3 +4,20 @@ define command {
        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   180 ; 3h
+       notification_interval   180 ; 3h
+
+       ; no point checking more often, results in dns cache anyway
+       max_check_attempts      2
+
+       ; use [rbl] section for servers list
+       check_command           check_rbl!--extra-opts=rbl@/etc/nagios/plugins/check_rbl.ini
+}
This page took 0.073894 seconds and 4 git commands to generate.