summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArkadiusz Miśkiewicz2018-03-09 11:33:42 (GMT)
committerArkadiusz Miśkiewicz2018-03-09 11:33:42 (GMT)
commitcf8bb3b1eb003c921c14bed986c79b03eef215ee (patch)
treea5254dc42d8f2a3d9c69aeed0273bd2c6f63ad4b
parentc74b2f1b9fb00ad5411aa781473ff2038acf4cb0 (diff)
downloadnagios-config-cf8bb3b1eb003c921c14bed986c79b03eef215ee.zip
nagios-config-cf8bb3b1eb003c921c14bed986c79b03eef215ee.tar.gz
check_dns_name for checking if specified name resolvesHEADmaster
-rw-r--r--commands/check_dns.cfg6
1 files changed, 6 insertions, 0 deletions
diff --git a/commands/check_dns.cfg b/commands/check_dns.cfg
index 092c0a8..01ab269 100644
--- a/commands/check_dns.cfg
+++ b/commands/check_dns.cfg
@@ -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