[Nagiosplug-devel] [ nagiosplug-Bugs-1254656 ] uptime result error in check_load

SourceForge.net noreply at sourceforge.net
Wed Aug 24 15:18:06 CEST 2005


Bugs item #1254656, was opened at 2005-08-08 22:36
Message generated for change (Comment added) made by seanius
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: 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: M. Sean Finney (seanius)
Date: 2005-08-24 18: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