[Nagiosplug-devel] [ nagiosplug-Patches-738608 ] patch for check_http.t against rel1_3

SourceForge.net noreply at sourceforge.net
Sat May 17 10:41:08 CEST 2003


Patches item #738608, was opened at 2003-05-16 03:36
Message generated for change (Comment added) made by tonvoon
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=738608&group_id=29880

Category: Bugfix
Group: None
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Mathew Ericson (mericson23)
>Assigned to: Ton Voon (tonvoon)
Summary: patch for check_http.t against rel1_3

Initial Comment:
--- check_http.t.orig   2003-05-16 10:47:05.000000000 +1000
+++ check_http.t        2003-05-16 10:52:03.000000000 +1000
@@ -13,7 +13,7 @@

 $str = `./check_http $Cache::hostname -wt 300 -ct 600`;
 $t += ok $?>>8,0;
-$t += ok $str, '/HTTP\/1.1 [0-9]{3} (OK|Found) -
[0-9]+ second response time/';
+$t += ok $str,
'/(HTTP\s[o|O][k|K]\s)?\s?HTTP\/1.1\s[0-9]{3}\s(OK|Found)\s-\s+([0-9]+|[0-9]+\.[0-9]+)\ssecond
response time/';

 $str = `./check_http $Cache::nullhost -wt 1 -ct 2`;
 $t += ok $?>>8,2; 

----------------------------------------------------------------------

>Comment By: Ton Voon (tonvoon)
Date: 2003-05-17 18:40

Message:
Logged In: YES 
user_id=664364

Thanks for the patch. Committed in r1_3_0 and HEAD.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=738608&group_id=29880




More information about the Devel mailing list