[mrtg] Using non-standard MIBs
Stojan Rancic
stojan.rancic at k2.net
Sat Oct 30 01:33:12 MEST 1999
Hello
I've installed the latest UCD-SNMP package (4.01) and the latest MRTG (2.8.8) on my RedHat Linux box, kernel 2.0.38
(if it matters..)
I'm having problems following certain variables, such as :
.1.3.6.1.4.1.2021.11.11.1 (enterprises.ucdavis.systemStats.ssCpuIdle.1)
.1.3.6.1.4.1.2021.11.9.1 (enterprises.ucdavis.systemStats.ssCpuUser.1)
.1.3.6.1.4.1.2021.11.10.1 (enterprises.ucdavis.systemStats.ssCpuSystem.1)
.1.3.6.1.4.1.2021.9.1.7.1 (enterprises.ucdavis.diskTable.dskEntry.dskAvail.1)
I can see them normally using snmpwalk or a Windows program such as Getif, but MRTG says something like this :
SNMP Error:
Received SNMP response with error code
error status: noSuchName
index 1 (OID: 1.3.6.1.2.1.2.2.1.10)
SNMPv1_Session (remote host: "machine.name.com" [192.160.15.38].161
community: "comm.string"
request ID: 1121477135
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
SNMPGET Problem for ifInOctets. ifOutOctets. sysUptime sysName on comm.stringt at machine.name.com
SNMPGET: Failed to reach target: "1.3.6.1.4.1.2021.11.11.1:comm.string at machine.name.com". I tried multiple times!
My entry in the cfg file is like this :
Target[cpu_box]: 1.3.6.1.4.1.2021.11.11.1:comm.stringt at machine.name.com
MaxBytes[cpu_box]: 100
Title[cpu_box]: CPU usage on pamir.K2.Net
Options[cpu_box]: gauge, nopercent
PageTop[cpu_box]: <H1>CPU usage for Ljubljana1.si.k2.net</H1>
YLegend[cpu_box]: %
LegendI[cpu_box]: 5min
LegendO[cpu_box]: 1min
Legend1[cpu_box]: 5min CPU
Legend2[cpu_box]: 1min CPU
Anyone know what's going on and how I could monitor those variables ?
-------------------------------------------------------------------------------
Stojan Rancic // Knowledge is power !
K2.Net // Use it, don't abuse it !
http://www.k2.net //
--
* 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