Description

This article showcases the SNMP OIDs used to monitor power usage (Max capacity, Actual usage and power remainder, FPC max and used power) on EX92xy and QFX10008.

Symptoms

On EX92xy and QFX10008 switches, SNMP OIDs used to monitor power usage were not displaying the correct information in earlier Junos releases.

Solution

Engineering implemented SNMP OIDs to monitor power usage on EX92xy (PR 1715664) and on QFX10008 (PR 1715050).

Consider the example below taken on a EX9208 chassis that shows the SNMP OIDs used to monitor power usage  (Max capacity, Actual usage and power remainder, FPC max and used power).

labroot@ex9208> show chassis power detail | no-more 

PEM 0:

 State:   Online

 AC input: OK (1 feed expected, 1 feed connected)

 Capacity: 2050 W (maximum 2050 W)

 DC output: 285 W (zone 0     V, 13% of capacity)

 

PEM 1:

 State:   Online

 AC input: OK (1 feed expected, 1 feed connected)

 Capacity: 2050 W (maximum 2050 W)

 DC output: 116 W (zone 0     V, 5% of capacity)

 

PEM 2:

 State:   Online

  AC input: OK (1 feed expected, 1 feed connected)

 Capacity: 2050 W (maximum 2050 W)

 DC output: 228 W (zone 0     V, 11% of capacity)

 

PEM 3:

 State:   Empty

 Input:   Absent

 

System:

 Zone 0:

   Capacity:     4100 W (maximum 4100 W)

   Allocated power:  1044 W (3056 W remaining)

   Actual usage:   629 W

 Total system capacity: 4100 W (maximum 4100 W)

 Total remaining power: 3056 W

 

labroot@ex9208> show chassis hardware detail | no-more 

calars | Hardware inventory:

Item       Version Part number Serial number   Description

... Omitted for brevity ...

PEM 0      Rev 01  740-063046  QCS1738U01E    PS 1.4-2.52kW; 90-264V AC in

PEM 1      Rev 01  740-063046  QCS1928U055    PS 1.4-2.52kW; 90-264V AC in

PEM 2      Rev 11  740-029970  QCS1525U0AY    PS 1.4-2.52kW; 90-264V AC in

... Omitted for brevity ... 

 

labroot@ex9208> show snmp mib walk jnxPsuObjects | no-more 

jnxPsuAvailableDeviceCount.0 = 3

jnxPsuAvailableMaxPowerSupply.0 = 4100

jnxPsuChassisPowerAllocated.0 = 1044

jnxPsuTotalPowerAvailable.0 = 3056

jnxPsuChassisPowerConsumed.0 = 629

jnxPsuMaxPower.2.1.0.0 = 2050

jnxPsuMaxPower.2.2.0.0 = 2050

jnxPsuMaxPower.2.3.0.0 = 2050

jnxPsuOutletName.2.1.0.0 = PEM 0

jnxPsuOutletName.2.2.0.0 = PEM 1

jnxPsuOutletName.2.3.0.0 = PEM 2

jnxPsuOutletDescription.2.1.0.0 = PS 1.4-2.52kW; 90-264V AC in

jnxPsuOutletDescription.2.2.0.0 = PS 1.4-2.52kW; 90-264V AC in

jnxPsuOutletDescription.2.3.0.0 = PS 1.4-2.52kW; 90-264V AC in

jnxPsuOutletMaxPower.2.1.0.0 = 2050

jnxPsuOutletMaxPower.2.2.0.0 = 2050

jnxPsuOutletMaxPower.2.3.0.0 = 2050

jnxPsuOutletStatus.2.1.0.0 = 1

jnxPsuOutletStatus.2.2.0.0 = 1

jnxPsuOutletStatus.2.3.0.0 = 1

 

labroot@ex9208> show snmp mib walk jnxOperatingFRUPower | no-more 

jnxOperatingFRUPower.2.1.0.0 = 285

jnxOperatingFRUPower.2.2.0.0 = 116

jnxOperatingFRUPower.2.3.0.0 = 228

  

labroot@ex9208> show snmp mib walk jnxContainersType | no-more 

jnxContainersType.1 = jnxChassisEX9208.0

jnxContainersType.2 = jnxEX9208SlotPower.0

jnxContainersType.4 = jnxEX9208SlotFan.0

jnxContainersType.7 = jnxEX9208SlotFPC.0

jnxContainersType.8 = jnxEX9208MediaCardSpacePIC.0

jnxContainersType.9 = jnxEX9208SlotHM.0

jnxContainersType.10 = jnxEX9208SlotFPB.0

jnxContainersType.12 = jnxEX9208SlotCB.0

jnxContainersType.20 = jnxEX9208MediaCardSpaceMIC.0

 

labroot@ex9208> show snmp mib walk jnxPsuScalars | no-more 

jnxPsuAvailableDeviceCount.0 = 3

jnxPsuAvailableMaxPowerSupply.0 = 4100

jnxPsuChassisPowerAllocated.0 = 1044

jnxPsuTotalPowerAvailable.0 = 3056

jnxPsuChassisPowerConsumed.0 = 629

Modification History

2024-10-30 : changed working to add more clarity

2023-10-09 : Article Created