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_http | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 plugins/tests/check_http (limited to 'plugins/tests/check_http') diff --git a/plugins/tests/check_http b/plugins/tests/check_http new file mode 100644 index 00000000..e09f6ff7 --- /dev/null +++ b/plugins/tests/check_http @@ -0,0 +1,9 @@ +check_http + +[normal] +www.infoplease.com -wt 300 -ct 600 +HTTP/1.1 200 OK - [0-9]+ second response time + +[critical] +$nullhost -wt 1 -ct 2 +(Connection refused by host|Network is unreachable|Connection refused or timed out|Socket timeout after [0-9]+ seconds)$ -- cgit v1.2.3-74-g34f1