]> git.pld-linux.org Git - projects/nagios-config.git/blob - commands/check_dns.cfg
092c0a88126e8cc6fe898d9ff3a59a68c6f92988
[projects/nagios-config.git] / commands / check_dns.cfg
1 # 'check_dns' command definition
2 define command {
3         command_name    check_dns
4         command_line    /usr/lib/nagios/plugins/check_dns -s $HOSTADDRESS$ -H www.yahoo.com $ARG1$
5 }
6
7 # check if DNSBL is returning success on test record 127.0.0.2
8 define command {
9         command_name    check_dnsbl
10         command_line    /usr/lib/nagios/plugins/check_dns -s $HOSTADDRESS$ -H 2.0.0.127.$ARG1$ -a 127.0.0.2 $ARG2$
11 }
12
13 # DNS
14 define service {
15         use                     generic-service
16         name                    dns
17         service_description     dns
18         register                0
19
20         normal_check_interval   10
21         retry_check_interval    5
22         notification_interval   30
23
24         check_command           check_dns
25 }
This page took 0.030995 seconds and 2 git commands to generate.