12-16-2014 06:21 AM
Hi,
We have an Cisco ASR9010 (IOS-XR) some messages regarding power supply failures.
pwrmon[379]: %PLATFORM-PWRMON-2-MODULE_FAILURE : Power-module 0/PM0/SP failure condition raised
The problem is that we did not receive any traps of this. Cisco told us there exists no SNMP trap for this and we need to poll the status. Does any one know what OID to be used of how we can read the status with SNMP?
Kindly regards,
Maikel
Solved! Go to Solution.
12-16-2014 08:08 PM
Hi Maikel,
To check the power supply status::
ASR9k supports the entity mib 1.3.6.1.2.1.47, which will give you the entity for PEMs and
supports the ciscoEntityFRUControlMIB 1.3.6.1.4.1.9.9.117 to check the status of the
entity.
For example here I have 2 AC PEMs, one is connected to the power and another is not:
RP/0/RSP0/CPU0#admin show environment power-supply
R/S/I Modules Capacity Status
(W)
0/PM0/*
host PM 3000 Ok
0/PM1/*
host PM 0 Unpowered
:~$ snmpwalk -v2c -c lan-1 1.3.6.1.2.1.47.1.1.1.1.2 | grep -i "ac power mod"
ENTITY-MIB::entPhysicalDescr.21657197 = STRING: 3kW AC Power Module
ENTITY-MIB::entPhysicalDescr.66531208 = STRING: 3kW AC Power Module
:~$ snmpwalk -v2c -c lan-1 1.3.6.1.2.1.47.1.1.1.1.7 | grep -i "power-mod"
ENTITY-MIB::entPhysicalName.21657197 = STRING: power-module 0/PM1/SP
ENTITY-MIB::entPhysicalName.66531208 = STRING: power-module 0/PM0/SP
:~$ snmpwalk -v2c -c lan-1 1.3.6.1.4.1.9.9.117.1.1.2.1.2.66531208
CISCO-SMI::ciscoMgmt.117.1.1.2.1.2.66531208 = INTEGER: 2
:~$ snmpwalk -v2c -c lan-1 1.3.6.1.4.1.9.9.117.1.1.2.1.2.21657197
CISCO-SMI::ciscoMgmt.117.1.1.2.1.2.21657197 = INTEGER: 1
2 means On and 1 is OFF
http://tools.cisco.com/Support/SNMP/do/BrowseOID.do?local=en&translate=Translate&objectInp
ut=1.3.6.1.4.1.9.9.117.1.1.2.1.2#oidContent
Note, to poll ciscoEntityFRUControlMIB we need to add systemowner to the community
configuration on the ASR:
!
snmp-server community ww SystemOwner
!
Hope it will help
Thanks-
Afroz
***Ratings Encourages Contributors *****
12-16-2014 08:08 PM
Hi Maikel,
To check the power supply status::
ASR9k supports the entity mib 1.3.6.1.2.1.47, which will give you the entity for PEMs and
supports the ciscoEntityFRUControlMIB 1.3.6.1.4.1.9.9.117 to check the status of the
entity.
For example here I have 2 AC PEMs, one is connected to the power and another is not:
RP/0/RSP0/CPU0#admin show environment power-supply
R/S/I Modules Capacity Status
(W)
0/PM0/*
host PM 3000 Ok
0/PM1/*
host PM 0 Unpowered
:~$ snmpwalk -v2c -c lan-1 1.3.6.1.2.1.47.1.1.1.1.2 | grep -i "ac power mod"
ENTITY-MIB::entPhysicalDescr.21657197 = STRING: 3kW AC Power Module
ENTITY-MIB::entPhysicalDescr.66531208 = STRING: 3kW AC Power Module
:~$ snmpwalk -v2c -c lan-1 1.3.6.1.2.1.47.1.1.1.1.7 | grep -i "power-mod"
ENTITY-MIB::entPhysicalName.21657197 = STRING: power-module 0/PM1/SP
ENTITY-MIB::entPhysicalName.66531208 = STRING: power-module 0/PM0/SP
:~$ snmpwalk -v2c -c lan-1 1.3.6.1.4.1.9.9.117.1.1.2.1.2.66531208
CISCO-SMI::ciscoMgmt.117.1.1.2.1.2.66531208 = INTEGER: 2
:~$ snmpwalk -v2c -c lan-1 1.3.6.1.4.1.9.9.117.1.1.2.1.2.21657197
CISCO-SMI::ciscoMgmt.117.1.1.2.1.2.21657197 = INTEGER: 1
2 means On and 1 is OFF
http://tools.cisco.com/Support/SNMP/do/BrowseOID.do?local=en&translate=Translate&objectInp
ut=1.3.6.1.4.1.9.9.117.1.1.2.1.2#oidContent
Note, to poll ciscoEntityFRUControlMIB we need to add systemowner to the community
configuration on the ASR:
!
snmp-server community ww SystemOwner
!
Hope it will help
Thanks-
Afroz
***Ratings Encourages Contributors *****
12-17-2014 04:11 AM
Works like you said. Thanks for the help.
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