[Nagiosplug-devel] [ nagiosplug-Patches-1817228 ] check_http: Displays WARNING on critical response time
SourceForge.net
noreply at sourceforge.net
Mon Dec 10 02:15:44 CET 2007
Patches item #1817228, was opened at 2007-10-21 07:39
Message generated for change (Comment added) made by psychotrahe
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: Closed
Resolution: None
Priority: 5
Private: No
Submitted By: Nobuhiro Ban (ban_nobuhiro)
>Assigned to: Matthias Eble (psychotrahe)
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)
----------------------------------------------------------------------
>Comment By: Matthias Eble (psychotrahe)
Date: 2007-12-10 02:15
Message:
Logged In: YES
user_id=1694341
Originator: NO
Hi,
I've just committed a fix for this problem to svn.
Thanks for your report
Matthias
----------------------------------------------------------------------
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