[Nagiosplug-devel] [ nagiosplug-Bugs-1283131 ] check_load gives incorrect data on AIX

SourceForge.net noreply at sourceforge.net
Thu Mar 23 08:10:05 CET 2006


Bugs item #1283131, was opened at 2005-09-06 16:58
Message generated for change (Comment added) made by tonvoon
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1283131&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: General plugin execution
Group: None
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Andrew Elwell (elwell2000)
>Assigned to: Ton Voon (tonvoon)
Summary: check_load gives incorrect data on AIX

Initial Comment:
compare output from check_load to that of "uptime" -
they do not match and I'm seeing stupidly high (eg
30000) loads from the nagios plugin intermittently



/usr/local/nagios/libexec/check_load  -w 15,10,5 -c
30,25,20 ; uptime
OK - load average: 0.01, 0.01,
0.24|load1=0.013;15.000;30.000;0;
load5=0.012;10.000;25.000;0; load15=0.235;5.000;20.000;0; 
  04:48PM   up 1 day,   5:55,  31 users,  load average:
1.09, 1.07, 1.61


----------------------------------------------------------------------

>Comment By: Ton Voon (tonvoon)
Date: 2006-03-23 16:09

Message:
Logged In: YES 
user_id=664364

Andrew,

Thanks for the report. It seems from Martin that this works in CVS. Closing this 
call. Please change if it is still a problem.

Ton

----------------------------------------------------------------------

Comment By: Martin Richard (martinrichard)
Date: 2005-10-20 18:13

Message:
Logged In: YES 
user_id=1226367

Just tested - this has been fixed in check_load 1.30 on the
cvs. It changes %f to %lf in the sscanf to parse the result
from uptime.. works great now:

# ./check_load -w 3,2,1 -c 6,5,4; uptime
OK - load average: 0.09, 0.17,
0.09|load1=0.090;3.000;6.000;0; load5=0.170;2.000;5.000;0;
load15=0.090;1.000;4.000;0;
  01:06PM   up 122 days,  22:33,  1 user,  load average:
0.09, 0.17, 0.09


----------------------------------------------------------------------

Comment By: Martin Richard (martinrichard)
Date: 2005-10-20 18:00

Message:
Logged In: YES 
user_id=1226367

Same symptoms on 2 different AIX 5 here..

# ./check_load -w 3,2,1 -c 6,5,4; uptime
OK - load average: 0.13, 0.01,
0.01|load1=0.135;3.000;6.000;0; load5=0.007;2.000;5.000;0;
load15=0.012;1.000;4.000;0;
  12:59PM   up 21 days,  15:44,  2 users,  load average:
1.51, 0.98, 1.06
#


Would it matter in any way that the machine has 2 CPUs ?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1283131&group_id=29880




More information about the Devel mailing list