[Nagiosplug-devel] [ nagiosplug-Bugs-1254656 ] uptime result error in check_load
SourceForge.net
noreply at sourceforge.net
Tue Aug 9 12:26:19 CEST 2005
Bugs item #1254656, was opened at 2005-08-09 10:36
Message generated for change (Tracker Item Submitted) made by Item Submitter
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: Open
Resolution: None
Priority: 5
Submitted By: Ronald Tin (hokuto_su)
Assigned to: Nobody/Anonymous (nobody)
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
----------------------------------------------------------------------
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