[mrtg] Problem with Cisco Memory Utilization - Newbie alert!

Scott Neader scott.neader at CenturyTel.com
Thu Mar 30 21:14:31 MEST 2006


Hi all. I am probably doing something very dumb, but I don't know what
it is... Yet.

MRTG is working OK (including rrdtool and Steve Shipway's routers2 --
awesome!!)

However, I am having trouble pulling Free and Used Memory from a Cisco
4503.  I can get SNMP data for these values from the device, but am not
smart enough to configure MRTG to do it.

Here is how I have MRTG config file set up (in part):

### Memory Utilization - Used and Free ###

Target[172.16.1.1_mem]:
1.3.6.1.4.1.9.9.48.1.1.1.6.0&1.3.6.1.4.1.9.9.48.1.1.1.5.0:comm_string at 17
2.16.1.1:
Options[172.16.1.1_mem]: nopercent,growright,gauge
SetEnv[172.16.1.1_mem]: MRTG_INT_IP="" MRTG_INT_DESCR="Memory
Utilization"
MaxBytes[172.16.1.1_mem]: 235988720
Title[172.16.1.1_mem]: Memory Utilization -- 4503
PageTop[172.16.1.1_mem]: <h1>Memory Utilization -- 4503</h1>

With it set this way, I get the following error in my MRTG console
window:

SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 1 (OID: 1.3.6.1.4.1.9.9.48.1.1.1.6.0)
SNMPv1_Session (remote host: "172.16.1.1" [172.16.1.1].161)
                  community: "comm_string"
                 request ID: 602562140
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at C:/mrtg/bin\..\lib\mrtg2/SNMP_util.pm line 490
SNMPGET Problem for 1.3.6.1.4.1.9.9.48.1.1.1.6.0
1.3.6.1.4.1.9.9.48.1.1.1.5.0 on
 comm_string at 172.16.1.1::::::v4only
 at mrtg line 1981
ERROR: Target[172.16.1.1_mem][_IN_] ' $target->[27]{$mode} ' did not
eval into
defined data
ERROR: Target[172.16.1.1_mem][_OUT_] ' $target->[27]{$mode} ' did not
eval into
 defined data

 
Any pointers or examples to do this would be greatly appreciated by this
MRTG newbie. :-)

- Scott

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



More information about the mrtg mailing list