[Nagiosplug-devel] [ nagiosplug-Patches-1817228 ] check_http: Displays WARNING on critical response time
SourceForge.net
noreply at sourceforge.net
Sun Oct 21 07:39:48 CEST 2007
Patches item #1817228, was opened at 2007-10-21 14:39
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=1817228&group_id=29880
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Bugfix
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobuhiro Ban (ban_nobuhiro)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_http: Displays WARNING on critical response time
Initial Comment:
Problems:
1. check_http returns 2 (STATE_CRITICAL) if the reaponse time is longer than
critical check time threshold (argument -c), but shows ``WARNING''.
% check_http -w 0.1 -c 0.2 -H sourceforge.net
HTTP WARNING: HTTP/1.0 200 OK - 0.654 second response time |time=0.654401s;0.100000;0.200000;0.000000 size=25176B;;;0
% echo $?
2
2. Error messages for time threshold options (-c and -w) are wrong.
These options accept float number.
How to fix:
1. Apply the attached patch.
2. And fix the gettext .po files. (Sorry, no patch is ready)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=1817228&group_id=29880
More information about the Devel
mailing list