Aaron Scamehorn | 1 Apr 2008 19:32

Re: [opennms-discuss] SNMP Resource Graphs


I finally figure this out...

I am running into the 32bit rollover bug in net-snmp.

My ssCpuRawIdle counter is stuck at 2^32-1.  This makes it look like my
machines have no idle time....

As Jeff explained, the CPU Stats graph is using Idle time:  hence, 100%
usage.

-----Original Message-----
From: opennms-discuss-bounces <at> lists.sourceforge.net
[mailto:opennms-discuss-bounces <at> lists.sourceforge.net] On Behalf Of Jeff
Gehlbach
Sent: Thursday, March 27, 2008 9:22 AM
To: General OpenNMS Discussion
Subject: Re: [opennms-discuss] SNMP Resource Graphs

On Mar 27, 2008, at 9:57 AM, Aaron Scamehorn wrote:
> I understand that, but they are displaying the same values (in
> particular, CPU Usage).  The problem I'm seeing is the values that  
> they
> are displaying in the graphs disagree.  In other words, on the CPU  
> Usage
> graph, I see values between 20-60% usage.  On the CPU Stats graph,
> Utilization is dark red, indicating 91-100% usage.

The "CPU Usage" graph definition pulls in more data sources than the  
"CPU Statistics" one:

report 
.netsnmp 
.cpuUsage 
.columns 
= 
CpuRawInterrupt 
,CpuRawUser,CpuRawWait,CpuRawNice,CpuRawSystem,CpuRawKernel

report 
.netsnmp 
.cpuStats 
.columns 
= 
loadavg1 
,loadavg5,loadavg15,CpuRawUser,CpuRawSystem,CpuRawIdle,CpuRawNice

If you remove the loadavg* data sources from the cpuStats graph,  
you're left with CpuRawUser,CpuRawSystem,CpuRawIdle,CpuRawNice, which  
means that this graph does not include the CpuRawInterrupt,  
CpuRawWait, or CpuRawKernel.  Also, the cpuUsage graph does not  
include CpuRawIdle.

This sounds terribly inconsistent, but the reason these reports are  
defined the way they are is that there are significant differences in  
the stats that the Net-SNMP provides across different agent versions  
and different OS kernel versions.  There's a wiki article that goes  
into some detail on this subject:
http://www.opennms.org/index.php/Net-snmp_5.3_CPU_collections 
.

These graph definitions could probably stand updating.  Any volunteers?

-jeff

------------------------------------------------------------------------
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketp
lace
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of
this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss


Gmane