]> git.pld-linux.org Git - projects/nagios-config.git/commitdiff
check_dns_name for checking if specified name resolves master
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 9 Mar 2018 11:33:42 +0000 (12:33 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 9 Mar 2018 11:33:42 +0000 (12:33 +0100)
commands/check_dns.cfg

index 092c0a88126e8cc6fe898d9ff3a59a68c6f92988..01ab2690a06cba283ef91a0f27b21a98ca2de4ab 100644 (file)
@@ -4,6 +4,12 @@ define command {
        command_line    /usr/lib/nagios/plugins/check_dns -s $HOSTADDRESS$ -H www.yahoo.com $ARG1$
 }
 
+# 'check_dns_name' command definition
+define command {
+       command_name    check_dns_name
+       command_line    /usr/lib/nagios/plugins/check_dns -s $HOSTADDRESS$ -H $ARG1$ $ARG2$
+}
+
 # check if DNSBL is returning success on test record 127.0.0.2
 define command {
        command_name    check_dnsbl
This page took 0.232383 seconds and 4 git commands to generate.