[mrtg] Linux CPU Usage

Joey Officer jofficer at insidehouston.org
Fri Sep 3 18:16:59 MEST 1999

heres an intersting one I found I had a problem with today.

I'm using CMU's package of SNMPd of Linux, ver3.7.  I've compiled the MIB
tree so that I can read and parse through to find the OID needed for CPU
utilization, I found it.  When I use a browser, I am able to get the correct
results from the SNMP oid.  However when I do an snmpget I get the following

[harryk at prepaid harryk]$ snmpget public
Error in packet.
Reason: There is no such variable name in this MIB.
This name doesn't exist:

When I add a ending zero, I'm able to get the proper data from the command
[harryk at prepaid run]$ snmpget public
enterprises.tubs.ibr.linuxMIB.linuxObjects.linuxLoadAvg1.0 = INTEGER: 116

But I am still unable to get the proper information into MRTG.  Its like its
ignoring the data.  Also see attached a copy of my conifg...

:public at
RouterUptime[powerppc.cpu]: public at
MaxBytes[powerppc.cpu]: 100
AbsMax[powerppc.cpu]: 200
#Title[powerppc.cpu]: CPU LOAD
PageTop[powerppc.cpu]: <H1>CPU Load %</H1>
Title[powerppc.cpu]: CPU Utilization On Prepaid
WithPeak[powerppc.cpu]: ymw
Unscaled[powerppc.cpu]: ymw
ShortLegend[powerppc.cpu]: %
XSize[powerppc.cpu]: 380
YSize[powerppc.cpu]: 100
YLegend[powerppc.cpu]: CPU Utilization

Can anyone offer any suggestions.

Joey Officer
Quality Publishing, Inc.
The Woodlands, Tx. 77380
281-362-7141 x106

|no matter where you go, there you are...  |
|                                          |
|       --buckaroo banzai                  |

* To unsubscribe from the mrtg mailing list, send a message with the
  subject: unsubscribe to mrtg-request at list.ee.ethz.ch
* The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg

More information about the mrtg mailing list