02-17-2014 03:14 AM
Hello everybody,
I need to monitor status of RPS of stack switches.
I have found this OID chassisPs2Status 1.3.6.1.4.1.9.5.1.2.7
It returns 2 when OK, 4 in case of failure, but it works only for master switch in stack. It doesn´t change when RPS of member switch fail.
SW Status RPS Name RPS Serial# RPS Port#
-- ------------- ---------------- ----------- ---------
1 Active <>
2 Standby <>
It still return 2 as OK
Is there some OID for stack members? In case of stack of 9 switches they cannot be backed up by one RPS and we need to monitor it's RPS status.
02-17-2014 09:07 AM
Hi Petr,
When monitoring the status of the PS's on the master you should be able to get the information about the slaves as well. You can also use the CISCO-ENVMON-MIB which contain two OIDs to fulfill your purpose: 1) .1.3.6.1.4.1.9.9.13.1.5 2) .1.3.6.1.4.1.9.9.13.1.5.1.4
Thanks-
Afroz
[Do rate the useful post]
****Ratings Encourages Contributors ****
02-17-2014 09:58 AM
Hi Ahmad,
thank you for you quick response. I have checked the suggested MIB in lab.
There is stack of 2 switches C3750. Master is OK, member has faulty RPS.
It displays faulty RPS only in string description.
Is that the only way how to find that it's faulty?
Switch# Role Mac Address Priority Version State
----------------------------------------------------------
*1 Master 0023.5d1c.4000 15 0 Ready
2 Member 0023.3449.1180 1 0 Ready
0rad0-s22-lab#sh env rps
SW Status RPS Name RPS Serial# RPS Port#
-- ------------- ---------------- ----------- ---------
1 Active <>
2 Standby <>
Switch# Role Mac Address Priority Version State
----------------------------------------------------------
*1 Master 0023.5d1c.4000 15 0 Ready
2 Member 0023.3449.1180 1 0 Ready
C:\Users\pnyvlt>snmpwalk -v2c -c XXX 10.160.35.248 1.3.6.1.4.1.9.5.1.2.4
SNMPv2-SMI::enterprises.9.5.1.2.4.0 = INTEGER: 2 !chassisPs1Status 2->ok
C:\Users\pnyvlt>snmpwalk -v2c -c XXX 10.160.35.248 1.3.6.1.4.1.9.5.1.2.7
SNMPv2-SMI::enterprises.9.5.1.2.7.0 = INTEGER: 2 !chassisPs2Status, 2->ok
C:\Users\pnyvlt>snmpwalk -v2c -c XXX 10.160.35.248 1.3.6.1.4.1.9.9.13.1.5
SNMPv2-SMI::enterprises.9.9.13.1.5.1.2.1003 = STRING: "Sw1, PS1 Normal, RPS Normal"
SNMPv2-SMI::enterprises.9.9.13.1.5.1.2.2003 = STRING: "Sw2, PS1 Normal, RPS Critical"
SNMPv2-SMI::enterprises.9.9.13.1.5.1.3.1003 = INTEGER: 1 !The current state of the power supply being instrumented.1 -> normal, (6 in case of power failure)
SNMPv2-SMI::enterprises.9.9.13.1.5.1.3.2003 = INTEGER: 1
SNMPv2-SMI::enterprises.9.9.13.1.5.1.4.1003 = INTEGER: 2 !The power supply source. 2 -> AC
SNMPv2-SMI::enterprises.9.9.13.1.5.1.4.2003 = INTEGER: 2
02-17-2014 06:50 PM
Hi Petr,
You can use these OID's for other stack memebers .These are the olny OID's available to get the results.
1.3.6.1.4.1.9.9.13.1.5.1.3 >> to know the state of power supply
1.3.6.1.4.1.9.9.13.1.5.1.2 >> for textual descriptionYou can use this table (ciscoEnvMonSupplyStatusTable -1.3.6.1.4.1.9.9.13.1.5) to know all details of power supply
Thanks-
Afroz
[Do rate the useful post]
****Ratings Encourages Contributors ****
02-18-2014 12:29 AM
Hi Ahmad,
To summary,
There is only textual description
1.3.6.1.4.1.9.9.13.1.5.2 that shows status of RPS of member switches.
OID 1.3.6.1.4.1.9.5.1.2.7 can be used only for monitoring of stack master's RPS. I can't imagine how to address each stack member with own address to ask for this OID...
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide