[mrtg] Fwd: Problem with running memory util on cat6509

Westley Chang ChangW at gao.gov
Tue Dec 28 22:49:56 MET 2004


Hello,
  I am having a huge problem with monitoring memory utilization on a
cat6509 switch.
Here is the DOS commands:


C:\mrtg\bin>perl mrtg server_farm_a.cfg
Daemonizing MRTG ...
Do Not close this window. Or MRTG will die
SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 1 (OID: 1.3.6.1.2.1.25.2.3.1.6.2)  <-  Does this OID only work
for ROUTERS?????????????????
SNMPv1_Session (remote host: "10.x.x.x" [10.X.X.X].161)
                  community: "xxxxxx"
                 request ID: 564848919
                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.2.1.25.2.3.1.6.2 1.3.6.1.2.1.25.2.3.1.6.2
sysUptime
sysName on xxxxxxxxxx at x.x.x.x::::::v4only 
 at mrtg line 1849
ERROR: Target[x.xx.x][_IN_] ' $target->[0]{$mode} ' did not eval into
defined data
ERROR: Target[x.x.x.x][_OUT_] ' $target->[0]{$mode} ' did not eval into
defined data

Here is the .cfg file used to run the mrtg script:
# Created by 
# cfgmaker xxxxxxxx at 10.x.x.x --global 'WorkDir: c:\mrtg\server_farm'
-output server_farm3.cfg


### Global Config Options

#  for UNIX
# WorkDir: /home/http/mrtg

#  or for NT
# WorkDir: c:\mrtgdata

### Global Defaults

#  to get bits instead of bytes and graphs growing to the right
# Options[_]: growright, bits

EnableIPv6: no

######################################################################
# System: c6509_Svr_Farm.gao.gov
# Description: Cisco Systems WS-C6509
#          Cisco Catalyst Operating System Software, Version 8.3(2)
#          Copyright (c) 1995-2004 by Cisco Systems
#          
# Contact: 
# Location:
######################################################################


### Interface 1 >> Descr: 'xx' | Name: 'xx' | Ip: '10.x.x.x' | Eth: ''
###

Target[10.1.16.116]:
1.3.6.1.2.1.25.2.3.1.6.2&1.3.6.1.2.1.25.2.3.1.6.2:XXXXXXXXX at 10.X.X.X
MaxBytes[10.x.x.x]: 100
Title[10.x.x.x]: Memory In Use c6509_Svr_Farm.gao.gov
kMG[10.x.x.x]: ,k,,,
Options[10.x.x.x]: gauge, absolute, unknaszero
YLegend[10.x.x.x]: Memory in Use
ShortLegend[10.x.x.x]: Bytes
Legend1[10.x.x.x]: Allocated Memory Pool in Use
Legend2[10.x.x.x]: .
Legend3[10.x.x.x]: Peak Allocated Memory Pool In Use
Legend4[10.x.x.x]: .
LegendI[10.x.x.x]: Memory:
LegendO[10.x.x.x]: .
Colours[10.x.x.x]: GREEN#00eb0c,BLUE#0000ff,GRAY#AAAAAA,VIOLET#ff00ff
WithPeak[10.x.x.x]:wmy
PageTop[10.x.x.x]: <H1>Memory In Use -- c6509_Svr_Farm.gao.gov</H1>
 <TABLE>
   <TR><TD>System:</TD>     <TD></TD></TR>
   <TR><TD>Maintainer:</TD> <TD></TD></TR>
   <TR><TD>Description:</TD><TD>sc0  </TD></TR>
   <TR><TD>ifType:</TD>     <TD>propVirtual (53)</TD></TR>
   <TR><TD>ifName:</TD>     <TD></TD></TR>
   <TR><TD>Max Speed:</TD>  <TD>1250.0 kBytes/s</TD></TR>
   <TR><TD>Ip:</TD>         <TD>10.x.x.x ()</TD></TR>
 </TABLE>


WorkDir: c:\mrtg\server_farm
runasdaemon: yes

####################################################3

DOES MIBS: 1.3.6.1.2.1.25.2.3.1.6.2&1.3.6.1.2.1.25.2.3.1.6.2 only work
for ROUTERS and NOT switches.......
Any information will be hugely appreciated!:)

tHANKS!

     Wes

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