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

SourceForge.net noreply at sourceforge.net
Thu May 15 19:37:04 CEST 2003


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

Category: Bugfix
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Mathew Ericson (mericson23)
Assigned to: Nobody/Anonymous (nobody)
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; 

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

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