[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
Target[powerppc.cpu]:.1.3.6.1.4.1.1575.1.5.2.3.0&.1.3.6.1.4.1.1575.1.5.2.3.0
:public at 192.168.10.200
into
Target[powerppc.cpu]:1.3.6.1.4.1.1575.1.5.2.3.0&1.3.6.1.4.1.1575.1.5.2.3.0
:public at 192.168.10.200
Charles
-----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
error:
[harryk at prepaid harryk]$ snmpget 192.168.10.200 public
.1.3.6.1.4.1.1575.1.5.2.3
Error in packet.
Reason: There is no such variable name in this MIB.
This name doesn't exist:
enterprises.tubs.ibr.linuxMIB.linuxObjects.linuxLoadAvg1
When I add a ending zero, I'm able to get the proper data from the command
line:
[harryk at prepaid run]$ snmpget 192.168.10.200 public
.1.3.6.1.4.1.1575.1.5.2.3.0
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...
Target[powerppc.cpu]:.1.3.6.1.4.1.1575.1.5.2.3.0&.1.3.6.1.4.1.1575.1.5.2.3.0
:public at 192.168.10.200
RouterUptime[powerppc.cpu]: public at 127.0.0.1
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
800-792-6397
+------------------------------------------+
|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