From 44a321cb8a42d6c0ea2d96a1086a17f2134c89cc Mon Sep 17 00:00:00 2001 From: Ethan Galstad Date: Thu, 28 Feb 2002 06:42:51 +0000 Subject: Initial revision git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2 f882894a-f735-0410-b71e-b25c423dba1c --- plugins/tests/check_dns | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 plugins/tests/check_dns (limited to 'plugins/tests/check_dns') 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) -- cgit v1.2.3