[mrtg] noSuchName?

Phil Iovino phil at nxtek.net
Fri Apr 4 17:50:48 MEST 2003

I'm trying to get the "User vs Idle CPU usage" working per
http://www.net-snmp.org/tutorial-5/mrtg/index.html. Here is the block in
my mrtg.cfg -

LoadMIBs: /usr/share/snmp/mibs/UCD-SNMP-MIB.txt
Target[ns2-cpu]:ssCpuRawUser.0&ssCpuRawIdle.0:xxx at ns2.nxtek.net
MaxBytes[ns2-cpu]: 100
Title[ns2-cpu]: CPU LOAD
PageTop[ns2-cpu]: <H1>User CPU Load %</H1>
Unscaled[ns2-cpu]: ymwd
ShortLegend[ns2-cpu]: %
YLegend[ns2-cpu]: CPU Utilization
Legend1[ns2-cpu]: User CPU in % (Load)
Legend2[ns2-cpu]: Idle CPU in % (Load)
LegendI[ns2-cpu]:  User
LegendO[ns2-cpu]:  Idle
Options[ns2-cpu]: growright,nopercent

Note that my path to UCD-SNMP-MIB.txt is correct. I do see mention of
ssCpuRawUser and ssCpuRawIdle in /usr/share/snmp/mibs/UCD-SNMP-MIB.txt.
When I run it, I get this -

SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 1 (OID:
SNMPv1_Session (remote host: "ns2.nxtek.net" [].161)
                  community: "xxx"
                 request ID: 404959725
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/local/mrtg-2/bin/../lib/mrtg2/SNMP_util.pm line 458
SNMPGET Problem for ssCpuRawUser.0 ssCpuRawIdle.0 on xxx at ns2.nxtek.net
 at /usr/local/mrtg-2/bin/mrtg line 1620
WARNING: skipping because at least the query for ssCpuRawUser.0 on
ns2.nxtek.net did not succeed
WARNING: no data for ssCpuRawUser&ssCpuRawIdle:xxx at ns2.nxtek.net.
Skipping further queries for Host ns2.nxtek.net in this round.

Does anyone have any ideas?

Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

More information about the mrtg mailing list