[mrtg] Using non-standard MIBs

Stojan Rancic stojan.rancic at k2.net
Sat Oct 30 01:33:12 MEST 1999


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 :

. (enterprises.ucdavis.systemStats.ssCpuIdle.1)
. (enterprises.ucdavis.systemStats.ssCpuUser.1)
. (enterprises.ucdavis.systemStats.ssCpuSystem.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:
SNMPv1_Session (remote host: "machine.name.com" [].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: " at machine.name.com". I tried multiple times!

My entry in the cfg file is like this :

Target[cpu_box]: 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]: &nbsp;5min
LegendO[cpu_box]: &nbsp;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