[c-nsp] Power Consumption OID

Ryan West rwest at zyedge.com
Mon Mar 28 08:48:42 EDT 2011


The following MIB should work for the 7606, but since the 3750 is fixed, I'm not sure you'll be able to extract the information via SNMP.

snmpwalk 4510E 1.3.6.1.4.1.9.9.117.1.1.1
CISCO-ENTITY-FRU-CONTROL-MIB::cefcPowerRedundancyMode.15 = INTEGER: redundant(2)
CISCO-ENTITY-FRU-CONTROL-MIB::cefcPowerUnits.15 = STRING: centiAmpsAt12V
CISCO-ENTITY-FRU-CONTROL-MIB::cefcTotalAvailableCurrent.15 = INTEGER: 18333
CISCO-ENTITY-FRU-CONTROL-MIB::cefcTotalDrawnCurrent.15 = INTEGER: 10766
CISCO-ENTITY-FRU-CONTROL-MIB::cefcPowerRedundancyOperMode.15 = INTEGER: redundant(2)

18333 * 0.01 * 12 = 2199.66
10766 * 0.01 * 12 = 1291.92

4510E#show power
Power                                             Fan      Inline
Supply  Model No          Type       Status       Sensor   Status
------  ----------------  ---------  -----------  -------  -------
PS1     PWR-C45-6000ACV   AC 6000W   good         good     good
PS1-1                         220V   good
PS1-2                         220V   good
PS2     PWR-C45-6000ACV   AC 6000W   good         good     good
PS2-1                         220V   good
PS2-2                         220V   good

Power supplies needed by system    : 1
Power supplies currently available : 2

Power Summary                      Maximum
(in Watts)              Used     Available
----------------------   ----     ---------
System Power (12V)       1292        2200

-ryan

From: Mohammad Khalil [mailto:eng_mssk at hotmail.com]
Sent: Monday, March 28, 2011 4:40 AM
To: Ryan West; cisco-nsp at puck.nether.net
Subject: RE: [c-nsp] Power Consumption OID

Hi

yes that what i am looking for , but the OIDs does not exist for my devices such as 7606S and ME3750

> From: rwest at zyedge.com<mailto:rwest at zyedge.com>
> To: eng_mssk at hotmail.com<mailto:eng_mssk at hotmail.com>; cisco-nsp at puck.nether.net<mailto:cisco-nsp at puck.nether.net>
> Subject: RE: [c-nsp] Power Consumption OID
> Date: Sun, 27 Mar 2011 17:34:24 +0000
>
> Is this what you're looking for:
>
> ftp://ftp.cisco.com/pub/mibs/v2/POWER-ETHERNET-MIB.my
>
> 3560:
> snmpwalk test1-sw1 .1.3.6.1.2.1.105.1.3.1.1.2
> POWER-ETHERNET-MIB::pethMainPsePower.1 = Gauge32: 370 Watts
> snmpwalk test2-sw1 .1.3.6.1.2.1.105.1.3.1.1.4
> POWER-ETHERNET-MIB::pethMainPseConsumptionPower.1 = Gauge32: 189 Watts
>
> 4510E
> snmpwalk test2-sw1 .1.3.6.1.2.1.105.1.3.1.1.2
> POWER-ETHERNET-MIB::pethMainPsePower.1 = Gauge32: 1550 Watts
> POWER-ETHERNET-MIB::pethMainPsePower.2 = Gauge32: 1550 Watts
> POWER-ETHERNET-MIB::pethMainPsePower.3 = Gauge32: 800 Watts
> POWER-ETHERNET-MIB::pethMainPsePower.4 = Gauge32: 800 Watts
> POWER-ETHERNET-MIB::pethMainPsePower.7 = Gauge32: 800 Watts
> POWER-ETHERNET-MIB::pethMainPsePower.8 = Gauge32: 800 Watts
> snmpwalk test2-sw1 .1.3.6.1.2.1.105.1.3.1.1.4
> POWER-ETHERNET-MIB::pethMainPseConsumptionPower.1 = Gauge32: 6 Watts
> POWER-ETHERNET-MIB::pethMainPseConsumptionPower.2 = Gauge32: 11 Watts
> POWER-ETHERNET-MIB::pethMainPseConsumptionPower.3 = Gauge32: 0 Watts
> POWER-ETHERNET-MIB::pethMainPseConsumptionPower.4 = Gauge32: 0 Watts
> POWER-ETHERNET-MIB::pethMainPseConsumptionPower.7 = Gauge32: 30 Watts
> POWER-ETHERNET-MIB::pethMainPseConsumptionPower.8 = Gauge32: 3 Watts
>
> -ryan
>
> -----Original Message-----
> From: cisco-nsp-bounces at puck.nether.net<mailto:cisco-nsp-bounces at puck.nether.net> [mailto:cisco-nsp-bounces at puck.nether.net]<mailto:[mailto:cisco-nsp-bounces at puck.nether.net]> On Behalf Of Mohammad Khalil
> Sent: Sunday, March 27, 2011 10:45 AM
> To: cisco-nsp at puck.nether.net<mailto:cisco-nsp at puck.nether.net>
> Subject: [c-nsp] Power Consumption OID
>
>
> i am trying to find an OID for power consumption ? is there a way to extract these information?
>
> Thanks
>
> _______________________________________________
> cisco-nsp mailing list cisco-nsp at puck.nether.net<mailto:cisco-nsp at puck.nether.net> https://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/


More information about the cisco-nsp mailing list