×

Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.

ASA 5512 - monitor power supply status via snmp oid

Unanswered Question
Nov 1st, 2014
User Badges:
  • Cisco Employee,

Device – ASA 5512 running 9.1(1).

 

Show version:

 

ASA-1# sh ver

 

Cisco Adaptive Security Appliance Software Version 9.1(1)

Device Manager Version 6.6(1)

 

Compiled on Wed 28-Nov-12 11:15 PST by builders

System image file is "disk0:/asa911-smp-k8.bin"

Config file at boot was "startup-config"

 

ASA-1 up 8 hours 38 mins

 

Hardware:   ASA5512-K7, 4096 MB RAM, CPU Clarkdale 2792 MHz, 1 CPU (2 cores)

            ASA: 2048 MB RAM, 1 CPU (1 core)

Internal ATA Compact Flash, 4096MB

BIOS Flash MX25L6445E @ 0xffbb0000, 8192KB

 

Issue: looking for a snmp OID to poll power supply status (Inbuilt Power Supply -  no redundant power supply in this scenario). Possibly what we see in show environment.

 

CSE analysis:

 

I tried using the OIDs belonging to CISCO-ENTITY-FRU-CONTROL-MIB , like cefcFRUPowerOperStatus and cefcFRUPowerAdminStatus but it didn’t return anything.

 

NOTE: I have done all the snmp walks from the Linux server. Do I doubt it’s something to do from the snmp manager side.

 

Couple of observations. The  CISCO-ENTITY-FRU-CONTROL-MIB talks about the field replaceable power supplies, so I doubt if it’s going to return the value for inbuilt power supply.

 

Second, I noticed that there are snmp traps supported for power supply and threshold setting. See configuration below. Is it that only traps works for power supply and environment related details?

 

 

Snmpwalk on cefcFRUPowerStatusEntry returns nothing:

 

 

[root@tonbenso-eagle bin]# ./snmpwalk -v2c -c public 172.16.169.29 1.3.6.1.4.1.9.9.117.1.1.2.1

SNMPv2-SMI::enterprises.9.9.117.1.1.2.1 = No Such Object available on this agent at this OID

 

Snmpwalk on cefcFRUPowerOperStatus returns nothing:

 

 

[root@tonbenso-eagle bin]# ./snmpwalk -v2c -c public 172.16.169.29 1.3.6.1.4.1.9.9.117.1.1.2.1.2

SNMPv2-SMI::enterprises.9.9.117.1.1.2.1.2 = No Such Instance currently exists at this OID

 

Snmpwalk on cefcFRUPowerAdminStatus returns nothing:

 

 

[root@tonbenso-eagle bin]# ./snmpwalk -v2c -c public 172.16.169.29 1.3.6.1.4.1.9.9.117.1.1.2.1.1

SNMPv2-SMI::enterprises.9.9.117.1.1.2.1.1 = No Such Instance currently exists at this OID

[root@tonbenso-eagle bin]#

login as: root

 

 

I tried polling the ciscoEntityFRUControlMIB to see what all values it return. It just returned enterprises.9.9.117.1.3.1.0 = INTEGER: 2. Meaning cefcMIBEnableStatusNotification is FALSE (value 2). Meaning cefcModuleStatusChange, cefcPowerStatusChange, cefcFRUInserted, cefcFRURemoved, cefcUnrecognizedFRU and cefcFanTrayStatusChange are prevented from being sent.

 

Snmpwalk on ciscoEntityFRUControlMIB

 

[1]+  Stopped                 ./snmpwalk -v2c -c public 172.16.169.29

[root@tonbenso-eagle bin]# ./snmpwalk -v2c -c public 172.16.169.29 1.3.6.1.4.1.9.9.117

SNMPv2-SMI::enterprises.9.9.117.1.3.1.0 = INTEGER: 2

 

 

 

Object

cefcMIBEnableStatusNotification

OID

1.3.6.1.4.1.9.9.117.1.3.1

Type

TruthValue

Permission

read-write

Status

current

MIB

CISCO-ENTITY-FRU-CONTROL-MIB ;   -   View Supporting Images this link will generate a new window

Description

"This variable indicates whether the system
produces the following notifications:
cefcModuleStatusChange, cefcPowerStatusChange,
cefcFRUInserted, cefcFRURemoved,
cefcUnrecognizedFRU and cefcFanTrayStatusChange.

A false value will prevent these notifications
from being generated."

 

 

Found couple of bugs:

 

CSCty32558 – but then this is for 5585 and I see it is fixed in 8.4

 

CSCul90037 – New state

 

Show snmp-server oidlist:

 

http://www-tac.cisco.com/Teams/ks/c3/getLargeFile.php?srId=632222409&fileName=20141030-013905_ASA-show-snmp-server-oidlist.txt

 

Show tech:

 

Sh run | in snmp:

 

ASA-1# sh run | in snmp

snmp-server host asa 172.18.123.228 community *****

no snmp-server location

no snmp-server contact

snmp-server community *****

snmp-server enable traps entity power-supply-presence power-supply-temperature  -----à I was talking about this trap above

 

 

any help will be appreciated.

 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.

Actions

This Discussion