Hi,

UCD-SNMP-MIB::ssCpuRawUser.0 = Counter32: 5782002
UCD-SNMP-MIB::ssCpuRawNice.0 = Counter32: 12624
UCD-SNMP-MIB::ssCpuRawSystem.0 = Counter32: 1117747
UCD-SNMP-MIB::ssCpuRawIdle.0 = Counter32: 365871442
UCD-SNMP-MIB::ssCpuRawWait.0 = Counter32: 535411
UCD-SNMP-MIB::ssCpuRawKernel.0 = Counter32: 1100994
UCD-SNMP-MIB::ssCpuRawInterrupt.0 = Counter32: 16753

I see that for a Linux kernel on Redhat Enterprise Linux / CentOS,
with 2.4.x the wait, kernel and idle OIDs are not included, with 2.6.x
they are.  The documentation on the Net-SNMP site for the UDC-SNMP-MIB
says the additional counters 'may' be part of the System counter as
well.  I am writing a Nagios plugin that does the two measures for
each and then wants to check thresholds based on % utilization by
metric (user decides which metrics to check).   The plugin will use
the additional 3 if they are present or ignore them if they are not
present.

The problem I am having is that I now do not know how to properly
calculate % used for each of the additional metrics if they do exist
due to the ambiguous 'may be included in ssCpuRawSystem' :) in the
UCD-SNMP-MIB documentation I see online.

I admittedly haven't checked the code yet, but does anyone on this
list know if for Linux the System CPU counter does include the
additional wait, interrupt, and kernel metrics or are they counted
separately?  How about Solaris?

RTFM responses with pointers of where I can start to look in the code
for the Solaris and Linux variants of the UCD MIB (if there are any)
are welcome as well!

Thank you,
Max

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to