]> git.pld-linux.org Git - packages/nagios-plugin-check_rbl.git/commitdiff
- move the ini file usage to check_rbl command definition for easier overriding host...
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 4 Feb 2010 13:13:30 +0000 (13:13 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    check_rbl.cfg -> 1.6
    nagios-plugin-check_rbl.spec -> 1.6

check_rbl.cfg
nagios-plugin-check_rbl.spec

index c86295adc02b0d75b6ccbb2f7548641940234733..12ee3413904efc03431d49b2712a1f8646aab55f 100644 (file)
@@ -2,7 +2,7 @@
 # check_rbl!-s RBLSERVER -s RBLSERVER ...
 define command {
        command_name    check_rbl
-       command_line    /usr/lib/nagios/plugins/check_rbl -H $HOSTADDRESS$ $ARG1$
+       command_line    /usr/lib/nagios/plugins/check_rbl!--extra-opts=rbl@/etc/nagios/plugins/check_rbl.ini -t 60 -H $HOSTADDRESS$ $ARG1$
 }
 
 # service definition
@@ -23,5 +23,5 @@ define service {
        max_check_attempts      2
 
        ; use [rbl] section for servers list
-       check_command           check_rbl!--extra-opts=rbl@/etc/nagios/plugins/check_rbl.ini
+       check_command           check_rbl
 }
index 92b2901aa8bfa30d90e336230b49b9c7a82f301f..566cd58dce018c6f6b960ad3a6a59ea1f6efe539 100644 (file)
@@ -7,7 +7,7 @@
 Summary:       check_rbl is a Nagios plugin to check if an SMTP server is blacklisted
 Name:          nagios-plugin-%{plugin}
 Version:       1.1.0
-Release:       1
+Release:       2
 License:       GPL
 Group:         Networking
 Source0:       https://trac.id.ethz.ch/projects/nagios_plugins/downloads/%{plugin}-%{version}.tar.gz
This page took 0.091253 seconds and 4 git commands to generate.