[mrtg] Cisco Catalyst 4000 Power Supply Status

Chu, Quang qchu at ci.portland.or.us
Tue Jul 22 20:59:42 MEST 2003


Hi all,

I want to be able to monitor the Redundant Supply Changes State of my
switch.  This is the sample config file that I am using.  within the config
file, I load the MIB that I downloaded from cisco website.  The OID I am
using is also from the cisco website.  But for some reasons, I keep getting
the below errors.  Can someone help please?  


CONFIG FILE
------------------
WorkDir: C:\data
IconDir: C:\mrtg\images
LoadMIBs: my MIB folder
RunAsDaemon: Yes
Refresh: 300
NoMib2: Yes

# -----------------------------------------------------------------------
# -----------------------------------------------------------------------
Target[MyTarget]:
1.3.6.1.4.1.9.5.1.2.4.1&1.3.6.1.4.1.9.5.1.2.7.1:community at MyIPaddress
MaxBytes[MyTarget]: 6
Options[MyTarget]: growright, nopercent, integer, unknaszero
WithPeak[MyTarget]: wmy
YLegend[CMyTarget]: Power Supply
ShortLegend[CMyTarget]: status
Colours[MyTarget]: GREEN#00eb0c,BLUE#0000ff,GRAY#AAAAAA,VIOLET#ff00ff
Legend1[MyTarget]: Power Supply 1 
Legend2[MyTarget]: Power Supply 2 
Legend3[CMyTarget]: Max value per interval on graph 
Legend4[MyTarget]: Max value per interval on graph 
LegendI[MyTarget]: Power Supply 1: 
LegendO[MyTarget]: Power Supply 2: 
Title[MyTarget]: C4000 Power Supply Status
PageTop[MyTarget]: <H1>C4000 Power Supply Status</H1>
   <TABLE>
     <TR><TD>System:</TD><TD>C4000</TD></TR>
     <TR><TD>Maintainer:</TD><TD>NOC CENTER</TD></TR>
     <TR><TD VALIGN="top">Description:</TD><TD>The current state of the
power supply being instrumented<BR>
					1) Normal<BR>
					2) Warning<BR>
					3) Critical<BR>
					4) Shutdown<BR>
					5) Not Present<BR>
					6) Not Functioning</TD></TR>
     <TR><TD>Resource:</TD><TD>ciscoEnvMonSupplyState</TD></TR>
   </TABLE>
-------------------------------------------------------

ERROR


C:\mrtg\bin>perl mrtg power.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.4.1.9.5.1.2.4.1)
SNMPv1_Session (remote host: "MyIP" [MyIP].161)
                  community: "NETpdx"
                 request ID: -862039821
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at C:/mrtg/bin\..\lib\mrtg2/SNMP_util.pm line 478
SNMPGET Problem for 1.3.6.1.4.1.9.5.1.2.4.1 1.3.6.1.4.1.9.5.1.2.7.1 on
MyIP:::::v4only
 at mrtg line 1751

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