[mrtg] cpu util on a 5509 cisco switch

Ralf van Dooren ralf.van.dooren at asml.com
Thu Oct 24 14:58:52 MEST 2002


Has anybody been succesfull in getting the cpu load from a Cisco 5509
switch? I've searched through the archive of various lists, but haven't
able to come up with a solution.

I tried various OID's, like the one found in de CISCO-PROCESS-MIB and
one found at

http://www.cisco.com/warp/public/126/HAS_baseline.html#catalystmibs

They all don't work.

My config:

Target[switch_cpu]:
1.3.6.1.4.1.9.9.109.1.1.1.5&1.3.6.1.4.1.9.9.109.1.1.1.5:pu
blic at switch
MaxBytes[switch_cpu]: 100
Title[switch_cpu]: cpu load
PageTop[switch_cpu]: <h1>cpu load -- switch</h1>
  <TABLE>
    <TR><TD>System:</TD>     <TD>switch</TD></TR>
    <TR><TD>Maintainer:</TD> <TD>Networkmanagement</TD></TR>
    <TR><TD>Description:</TD><TD>test  </TD></TR>
    <TR><TD>ifType:</TD>     <TD>test</TD></TR>
    <TR><TD>ifName:</TD>     <TD>test</TD></TR>
    <TR><TD>Port Name:</TD>  <TD>test</TD></TR>
    <TR><TD>Max Speed:</TD>  <TD>test</TD></TR>
  </TABLE>

The error when running mrtg:

SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 1 (OID: 1.3.6.1.4.1.9.9.109.1.1.1.5)
SNMPv1_Session (remote host: "switch" [192.168.0.1].161)
                  community: "public"
                 request ID: 701255496
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/local/mrtg-2/bin/../lib/mrtg2/SNMP_util.pm line 450
SNMPGET Problem for 1.3.6.1.4.1.9.9.109.1.1.1.5
1.3.6.1.4.1.9.9.109.1.1.1.5 sysUptime sysName on public at switch
 at /usr/local/mrtg-2/bin/mrtg line 1485
WARNING: Expected a number but got ''
WARNING: Expected a number but got ''


getting info for interfaces works like a charm.

Thanks in advance for any hints/helps/clues.

--
Ralf van Dooren                 e: ralf.van.dooren at asml.com
ASML Building 2D2.085           

--
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