[Nagiosplug-devel] [ nagiosplug-Bugs-1254656 ] uptime result error in check_load
SourceForge.net
noreply at sourceforge.net
Wed Sep 14 02:55:40 CEST 2005
Bugs item #1254656, was opened at 2005-08-09 03:36
Message generated for change (Comment added) made by tonvoon
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1254656&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: Parsing problem
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Ronald Tin (hokuto_su)
Assigned to: M. Sean Finney (seanius)
Summary: uptime result error in check_load
Initial Comment:
While performing sscanf, the parameter should be %lf
instead of %f because the actual la[] array is double.
line 140 :
sscanf (input_buffer, "%*[^l]load average: %lf, %lf,
%lf", &la1, &la5, &la15);
Applies to nagios-plugins 1.4.1
----------------------------------------------------------------------
>Comment By: Ton Voon (tonvoon)
Date: 2005-09-14 10:54
Message:
Logged In: YES
user_id=664364
Ronald,
Thanks for the patch. I've applied it to CVS as check_load.c v1.30
Ton
----------------------------------------------------------------------
Comment By: M. Sean Finney (seanius)
Date: 2005-08-24 23:17
Message:
Logged In: YES
user_id=226838
hi,
thanks for finding this, i'll commit a fix to cvs shortly.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1254656&group_id=29880
More information about the Devel
mailing list