cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3132
Views
0
Helpful
15
Replies

SNMP power supply monitoring an XR 12404

becase
Level 1
Level 1

I'm trying to monitor basic health status of the Power Supply on a 12404. However, I cannot find the relevant information from the ENTITY MIB or it's Cisco extensions.

15 Replies 15

Nael Mohammad
Level 5
Level 5

Nael, thanks so much for the feedback. I've tried polling that OID, but nothing returned.

This is my attempt, prefaced by a successful query of SysDescription :

$ snmpwalk -v2c -c sysdescr

SNMPv2-MIB::sysDescr.0 = STRING: Cisco IOS XR Software (Cisco 12404/PRP),  Version 3.7.1[00]

$ snmpwalk -v2c -c 1.3.6.1.4.1.9.9.117.2.0.2

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

From the device directly:

RP/0/0/CPU0:(admin)#show ver | i cisco         

Copyright (c) 1994-2007 by cisco Systems,  Inc.

cisco 12404/PRP (7457) processor with 3670016K bytes of memory.

RP/0/0/CPU0:(admin)#show env power-supply detail

                      48V       Current

R/S/I     Module      (V)           (A)

0/24/*    PEM1         52             8

          PEM2         52             8

    Total Power Supplies:                  2200W

        PEM  Description  Watts

        -----------------------

        PEM1 Smart  AC    1100

        PEM2 Smart  AC    1100

    Redundant Power Supplies:              1100W

    Worst Case Power Used:                 1125W

     Slot Description                                        Max Watts

     ---- -----------                                        ---------

        0 Cisco 12000 Series Performance Route Processor            60

        1 Cisco 12000 Series - Multi-Service Blade                 250

        2 Cisco 12000 Series - Multi-Service Blade                 250

        3 Cisco 12000 Series SPA Interface Processor-              240

       17 GSR 12404 Consolidated Fabric/Alarm Card                 117

       24 Alarm Board(404)                                         208

    Worst Case Redundant Power Available:  None

    Worst Case Total Power Available:      1075W

RP/0/0/CPU0:(admin)#show inventory  | i PEM    

NAME: "PEM2", DESCR: "GSR 12404 Intelligent AC Power Supply"

PID: 12000/4-AC-PEM=   , VID: V01, SN:

NAME: "PEM1", DESCR: "GSR 12404 Intelligent AC Power Supply"

PID: 12000/4-AC-PEM=   , VID: V01, SN:

Any thoughts?

Does the device support the config "snmp-server enable trap fru-ctrl", and does it have that configured? Because 1.3.6.1.4.1.9.9.117.2.0.2 / cefcPowerStatusChange belongs to the trap part of CISCO-ENTITY-FRU-CONTROL-MIB--once "snmp-server enable trap fru-ctrl" is configured, the traps come to "you" (your NMS); you don't query/poll an SNMP "trap".

http://tools.cisco.com/Support/SNMP/do/BrowseOID.do?objectInput=1.3.6.1.4.1.9.9.117.2.0.2&translate=Translate

The OIDs that are meant to be polled via SNMP are under the 1.3.6.1.4.1.9.9.117.1 branch:

http://tools.cisco.com/Support/SNMP/do/BrowseOID.do?local=en&translate=Translate&objectInput=1.3.6.1.4.1.9.9.117.1

becase
Level 1
Level 1

Thanks yjdabear, I didn't realize this was a trap OID. At this point our monitoring tool is not setup to process inbound traps, we process everything by polling supporting OID's.

Are you aware of a non-trap OID that we can poll directly for power supply status on the 12404?

Thanks yjdabear, but unfortunately I'm getting 'No Such Object ... ' returned when polling those OID's :

$ snmpwalk -v2c -c 1.3.6.1.4.1.9.9.117.1.1.1.1.1

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

$ snmpwalk -v2c -c 1.3.6.1.4.1.9.9.117.1.1.1.1.5

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

$ snmpwalk -v2c -c 1.3.6.1.4.1.9.9.117.1.1.1.1.6

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

Bummer, looks like those OIDs are not supported on the XR platform. Here's what it looks like on a cat6k:

snmpwalk cat6k 1.3.6.1.4.1.9.9.117.1.1.1.1.1
cisco.ciscoMgmt.ciscoEntityFRUControlMIB.cefcMIBObjects.cefcFRUPower.cefcFRUPowerSupplyGroupTable.cefcFRUPowerSupplyGroupEntry.cefcPowerRedundancyMode.15 : INTEGER: redundant

Also check cefcFRUPowerStatusTable (1.3.6.1.4.1.9.9.117.1.1.2) or ciscoEnvMonSupplyStatusTable (1.3.6.1.4.1.9.9.13.1.5).

Nevermind ciscoEnvMonSupplyStatusTable, not supported on this device.

Thanks Joel. So take a look at the returns for cefcFRUPowerStatusTable:

$ snmpwalk -v2c -c 1.3.6.1.4.1.9.9.117.1.1.2

SNMPv2-SMI::enterprises.9.9.117.1.1.2.1.1.3 = INTEGER: 1

SNMPv2-SMI::enterprises.9.9.117.1.1.2.1.1.15 = INTEGER: 1

SNMPv2-SMI::enterprises.9.9.117.1.1.2.1.1.33 = INTEGER: 1

SNMPv2-SMI::enterprises.9.9.117.1.1.2.1.1.51 = INTEGER: 1

SNMPv2-SMI::enterprises.9.9.117.1.1.2.1.1.53 = INTEGER: 1

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

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

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

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

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

SNMPv2-SMI::enterprises.9.9.117.1.1.2.1.3.3 = INTEGER: 0

SNMPv2-SMI::enterprises.9.9.117.1.1.2.1.3.15 = INTEGER: 0

SNMPv2-SMI::enterprises.9.9.117.1.1.2.1.3.33 = INTEGER: 0

SNMPv2-SMI::enterprises.9.9.117.1.1.2.1.3.51 = INTEGER: 0

SNMPv2-SMI::enterprises.9.9.117.1.1.2.1.3.53 = INTEGER: 0

I'm assuming those index numbers are ENTITY-MIB id's, which would mean they correspond the these:

SNMPv2-SMI::mib-2.47.1.1.1.1.2.3 = STRING: "Cisco 12000 Series Performance Route Processor  2"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.15 = STRING: "Cisco 12000 Series - Multi-Service Blade "
SNMPv2-SMI::mib-2.47.1.1.1.1.2.33 = STRING: "Cisco 12000 Series - Multi-Service Blade "
SNMPv2-SMI::mib-2.47.1.1.1.1.2.51 = STRING: "Cisco 12000 Series SPA Interface Processor-  401"
SNMPv2-SMI::mib-2.47.1.1.1.1.2.53 = STRING: "2-port Gigabit Ethernet Shared Port Adapter_V2"
Doesn't look like cefcFRUPowerStatusTable has status on the actual power supplies.

  The cefcFRUPowerStatusTable is composed by:

     -   --   cefcFRUPowerStatusTable (2)
      |
       - -- cefcFRUPowerStatusEntry (1)
         |
         | --   cefcFRUPowerAdminStatus (1) object Details
         |
         | --   cefcFRUPowerOperStatus (2)
         |
         | --   cefcFRUCurrent (3)

  So SNMPv2-SMI::enterprises.9.9.117.1.1.2.1.1.3 = INTEGER: 1 corresponds to a cefcFRUPowerAdminStatus of "on". These are the values of cefcFRUPowerAdminStatus:

1:on
2:off
3:inlineAuto
4:inlineOn
5:powerCycle


  The entries on this table are for:

"A cefcFRUPowerStatusTable entry lists the  desired administrative status, the operational status of the power manageable component, and the current required by the component for operation.

Entries are created by  the agent at system power-up or the insertion of the  component.  Entries are deleted by the agent at the removal  of the component.

Only components with power control are  listed in the table."

  This table is indexed by entPhysicalIndex as you saw, so these power manageable components are receiving enough power and their operational power status is healthy:

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

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

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

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

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

cefcFRUPowerOperStatus values:

1:offEnvOther
2:on
3:offAdmin
4:offDenied
5:offEnvPower
6:offEnvTemp
7:offEnvFan
8:failed
9:onButFanFail
10:offCooling
11:offConnectorRating

  Seems the problem might be more that the entPhysicalDescr is not showing any power supplies on this device. What does a full walk show? What do you get from a "sh power status power-supply"?

Thanks Joel. Here is the output from a walk of entPhysicalDescr:

SNMPv2-SMI::mib-2.47.1.1.1.1.2.1 = STRING: "Cisco 12404 80Gbps fabric"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.2 = STRING: "Line Card/RP slot "

SNMPv2-SMI::mib-2.47.1.1.1.1.2.3 = STRING: "Cisco 12000 Series Performance Route Processor  2"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.4 = STRING: "host__PLIM_V7_HDD_5V"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.5 = STRING: "host__PLIM_V6_1.5V"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.6 = STRING: "host__PLIM_V4_1.3V"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.7 = STRING: "host__PLIM_V5_1.8V"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.8 = STRING: "host__PLIM_V3_2.5V"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.9 = STRING: "host__3.3V"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.10 = STRING: "host__5V"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.11 = STRING: "host__Mbus5V"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.12 = STRING: "host__InletTemp"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.13 = STRING: "host__HotTemp"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.14 = STRING: "Line Card/RP slot "

SNMPv2-SMI::mib-2.47.1.1.1.1.2.15 = STRING: "Cisco 12000 Series - Multi-Service Blade "

SNMPv2-SMI::mib-2.47.1.1.1.1.2.16 = STRING: "host__12V"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.17 = STRING: "host__0.75V"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.18 = STRING: "host__1.2V_MPU"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.19 = STRING: "host__1.2V"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.20 = STRING: "host__1.25V"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.21 = STRING: "host__1.25V_IXP1"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.22 = STRING: "host__1.5V"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.23 = STRING: "host__MB_PLL_1.5V"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.24 = STRING: "host__1.8V"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.25 = STRING: "host__2.5V"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.26 = STRING: "host__3.3V_DB1_AUX"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.27 = STRING: "host__3.3V"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.28 = STRING: "host__5V"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.29 = STRING: "host__Mbus5V"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.30 = STRING: "host__HotTemp"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.31 = STRING: "host__InletTemp"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.32 = STRING: "Line Card/RP slot "

SNMPv2-SMI::mib-2.47.1.1.1.1.2.33 = STRING: "Cisco 12000 Series - Multi-Service Blade "

SNMPv2-SMI::mib-2.47.1.1.1.1.2.34 = STRING: "host__12V"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.35 = STRING: "host__0.75V"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.36 = STRING: "host__1.2V_MPU"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.37 = STRING: "host__1.2V"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.38 = STRING: "host__1.25V"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.39 = STRING: "host__1.25V_IXP1"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.40 = STRING: "host__1.5V"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.41 = STRING: "host__MB_PLL_1.5V"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.42 = STRING: "host__1.8V"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.43 = STRING: "host__2.5V"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.44 = STRING: "host__3.3V_DB1_AUX"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.45 = STRING: "host__3.3V"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.46 = STRING: "host__5V"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.47 = STRING: "host__Mbus5V"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.48 = STRING: "host__HotTemp"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.49 = STRING: "host__InletTemp"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.50 = STRING: "Line Card/RP slot "

SNMPv2-SMI::mib-2.47.1.1.1.1.2.51 = STRING: "Cisco 12000 Series SPA Interface Processor-  401"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.52 = STRING: "Shared Port Adapter(SPA) Bay"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.53 = STRING: "2-port Gigabit Ethernet Shared Port Adapter_V2"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.54 = STRING: "Shared Port Adapter(SPA) Port Slot"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.55 = STRING: "Shared Port Adapter(SPA) Port Slot"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.56 = STRING: "Shared Port Adapter(SPA) Bay"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.57 = STRING: "Shared Port Adapter(SPA) Bay"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.58 = STRING: "Shared Port Adapter(SPA) Bay"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.59 = STRING: "host__DtrCard_Tcam3"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.60 = STRING: "host__DtrCard_Tcam2"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.61 = STRING: "host__DtrCard_Tcam1"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.62 = STRING: "host__DtrCard_1.2Vs2"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.63 = STRING: "host__DtrCard_1.2Vs1"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.64 = STRING: "host__DtrCard_Wwolf"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.65 = STRING: "host__DtrCard_PLL"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.66 = STRING: "host__DtrCard_0.75V"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.67 = STRING: "host__DtrCard_1.5V"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.68 = STRING: "host__DtrCard_1.8V"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.69 = STRING: "host__DtrCard_1.25V"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.70 = STRING: "host__DtrCard_2.5V"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.71 = STRING: "host__DtrCard_Sonet"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.72 = STRING: "host__DtrCard_3.3V"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.73 = STRING: "host__DtrCard_12V"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.74 = STRING: "host__MB_Tcam3"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.75 = STRING: "host__MB_Tcam2"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.76 = STRING: "host__MB_Tcam1"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.77 = STRING: "host__MB_1.2Vsupply2"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.78 = STRING: "host__MB_1.2Vsupply1"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.79 = STRING: "host__MB_CPU_1.3V"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.80 = STRING: "host__MB_PLL_1.5V"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.81 = STRING: "host__MB_0.75V"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.82 = STRING: "host__MB_1.5V"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.83 = STRING: "host__MB_1.8V"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.84 = STRING: "host__MB_1.25V"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.85 = STRING: "host__MB_2.5V"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.86 = STRING: "host__MB_3.3V"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.87 = STRING: "host__MB_12V"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.88 = STRING: "host__Mbus5V"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.89 = STRING: "host__InletTemp"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.90 = STRING: "host__HotTemp"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.105 = STRING: "spa0__3.3V_AUX"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.106 = STRING: "spa0__12V"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.107 = STRING: "spa0__1.2V"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.108 = STRING: "spa0__1.5V"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.109 = STRING: "spa0__2.5V"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.110 = STRING: "spa0__3.3V"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.111 = STRING: "spa0__DownStream_Temp"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.112 = STRING: "spa0__UpStream_Temp"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.113 = STRING: "GE SX"

SNMPv2-SMI::mib-2.47.1.1.1.1.2.114 = STRING: "GE SX"

The "sh power status power-supply" isn't available, but I do have the following:
#show env power-supply detail
                      48V       Current
R/S/I     Module      (V)           (A)
0/24/*    PEM1         52             8
          PEM2         52             8
    Total Power Supplies:                  2200W
        PEM  Description  Watts
        -----------------------
        PEM1 Smart  AC    1100
        PEM2 Smart  AC    1100
    Redundant Power Supplies:              1100W
    Worst Case Power Used:                 1125W
     Slot Description                                        Max Watts
     ---- -----------                                        ---------
        0 Cisco 12000 Series Performance Route Processor            60
        1 Cisco 12000 Series - Multi-Service Blade                 250
        2 Cisco 12000 Series - Multi-Service Blade                 250
        3 Cisco 12000 Series SPA Interface Processor-              240
       17 GSR 12404 Consolidated Fabric/Alarm Card                 117
       24 Alarm Board(404)                                         208
    Worst Case Redundant Power Available:  None
    Worst Case Total Power Available:      1075W

Unfortunately, I do not have one of these devices to thoroughly test this. But based on the entPhysicalDescr, looks to me like the values from cefcFRUPowerStatusTable are pretty much what you have available. What exactly would you expect to see?

Thanks Joel. If there is anything you'd like me to try on these 12K's just let know and I'll test.


As far as what I'm looking to acheive here, just need a way to poll these GSR's for status of their Power Supplies so I know when a PS fails.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco