aboutsummaryrefslogtreecommitdiff
path: root/plugins/tests/check_dns
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/tests/check_dns')
-rw-r--r--plugins/tests/check_dns9
1 files changed, 9 insertions, 0 deletions
diff --git a/plugins/tests/check_dns b/plugins/tests/check_dns
new file mode 100644
index 00000000..2e9b9a09
--- /dev/null
+++ b/plugins/tests/check_dns
@@ -0,0 +1,9 @@
+check_dns
+
+[normal]
+127.0.0.1
+DNS ok - +[\.0-9]+ seconds response time, Address\(es\) is\/are 127\.0\.0\.1
+
+[critical]
+$nullhost
+DNS (problem - Probably a non-existent host/domain|CRITICAL - Non-existent host/domain|CRITICAL - Connection timed out after [0-9]+ seconds)