Description :
OID for Power supply status via SNMP in ASA 5510.
Information :
Show ver
Cisco Adaptive Security Appliance Software Version 8.4(1)
Device Manager Version 7.2(2)
Compiled on Mon 31-Jan-11 02:11 by builders
System image file is "disk0:/asa841-k8.bin"
Config file at boot was "startup-config"
vpn up 2 years 125 days
failover cluster up 2 years 125 days
Hardware: ASA5510, 1024 MB RAM, CPU Pentium 4 Celeron 1599 MHz
Internal ATA Compact Flash, 256MB
BIOS Flash M50FW080 @ 0xfff00000, 1024KB
This platform has an ASA 5510 Security Plus license.
According to this:
http://www.cisco.com/en/US/docs/security/asa/asa84/release/notes/asarn84.html#wp522232
Section SNMP Traps and MIBs you would try : CISCO-ENTITY-FRU-CONTROL-MIB, for your task.
In order to get the right information you need to enable the entity traps in the device :
vpn(config)# snmp-server enable traps entity
After that run the snmpwalk for ciscoEntityFRUControlMIB :
C:\usr\bin>snmpwalk -v2c -c cisny 172.16.4.230 1.3.6.1.4.1.9.9.117
SNMPv2-SMI::enterprises.9.9.117.1.3.1.0 = INTEGER: 1
This is a TruthValue you are going to received just 2 values :
1: ok
2: false
If you received (1) it means it is working, however if you don't have the entity traps enable you will received (2) :
vpn(config)# no snmp-server enable traps entity
C:\usr\bin>snmpwalk -v2c -c cisny 172.16.4.230 1.3.6.1.4.1.9.9.117
SNMPv2-SMI::enterprises.9.9.117.1.3.1.0 = INTEGER: 2
This test is for version 8.4(1).
There are some bugs for the same behavior but for ASA 5585:
CSCty32558 SNMP power supply sensor values on ASA 5585 oscillate
It is fixed in 8.4
CSCul90037 ASA5585 Power supply entries needs to be updated in ENTITY-MIB
There is an enhancement request for a trap when the power supply module is removed/installed and Power off/on
CSCtr76874 SNMP trap for Power Supply does not generate
Hope it helps!
Claudio Gonzalez S