summaryrefslogtreecommitdiffstats
path: root/debian/pluginconfig/dns.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'debian/pluginconfig/dns.cfg')
-rw-r--r--debian/pluginconfig/dns.cfg11
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/pluginconfig/dns.cfg b/debian/pluginconfig/dns.cfg
new file mode 100644
index 0000000..d2363bf
--- /dev/null
+++ b/debian/pluginconfig/dns.cfg
@@ -0,0 +1,11 @@
+# 'check_dns' command definition
+define command{
+ command_name check_dns
+ command_line /usr/lib/nagios/plugins/check_dns -H www.google.com -s '$HOSTADDRESS$' '$ARG1$'
+}
+
+# 'check_dig' command definition
+define command{
+ command_name check_dig
+ command_line /usr/lib/nagios/plugins/check_dig -H '$HOSTADDRESS$' -l '$ARG1$' '$ARG2$'
+}