]>
Commit | Line | Data |
---|---|---|
6e4444f9 | 1 | # Usage: |
8a7c226d | 2 | # check_rbl!-s RBLSERVER -s RBLSERVER ... |
6e4444f9 ER |
3 | define command { |
4 | command_name check_rbl | |
55f2b915 | 5 | command_line /usr/lib/nagios/plugins/check_rbl --extra-opts=rbl@/etc/nagios/plugins/check_rbl.ini -t 60 -H $HOSTADDRESS$ $ARG1$ |
6e4444f9 | 6 | } |
22ec52de ER |
7 | |
8 | # service definition | |
9 | define service { | |
10 | use generic-service | |
11 | name rbl | |
12 | service_description rbl | |
13 | register 0 | |
14 | ||
083a5161 ER |
15 | ; When the service is being checked, |
16 | ; we can't solve remote DNS problems during night, so don't bother checking | |
17 | check_period workhours | |
18 | ||
34f47bf7 ER |
19 | normal_check_interval 180 ; 3h |
20 | notification_interval 180 ; 3h | |
21 | ||
22 | ; no point checking more often, results in dns cache anyway | |
23 | max_check_attempts 2 | |
22ec52de ER |
24 | |
25 | ; use [rbl] section for servers list | |
930670bb | 26 | check_command check_rbl |
22ec52de | 27 | } |