[mrtg] Re: Linux CPU Usage

Charles Gillanders charles at toucan.ie
Fri Sep 3 18:31:32 MEST 1999

Yes, lose the leading . from the target statement

I.E. change

:public at


:public at


-----Original Message-----
From: Joey Officer [mailto:jofficer at insidehouston.org]
Sent: 03 September 1999 17:17
To: MRTG Mailling List
Subject: [mrtg] Linux CPU Usage

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.oetiker.ch/pipermail/mrtg/attachments/19990903/d4c49824/attachment.htm 

More information about the mrtg mailing list