Skip to content

Files

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

APC PDU

Overview

I have created a very detailed template for a Rack Mounted APC PDU. I spent a considerable amount of time digging through the MIB to obtain all the correct OID numbers pertaining to each Item for the PDU to use with SNMP. The template includes:

  • 7 Applications:
    • Enviornment
    • Information
    • Outlets
    • Peaks
    • Phases
    • Power
    • Thresholds
  • 39 Items for monitoring that range from:
    • 7 Items for each phase totaling 21 items
      • Load
      • Overload Thresholds
      • Current
      • Power
      • Voltage
    • Firmware Rev
    • Total Power
    • Peak Power
    • Load State
    • Rack Temp/Humidity (if the sensors are present)
  • 13 Triggers
    • Individual triggers for each phase
      • Voltage High and Low
    • Load State Changes
    • Power Trigger
    • Near overload and Overload Triggers
  • 3 Default Graphs
    • Current Usage
    • Phase Power Status
    • Temp/Humid (If sensors are present)

I hope you enjoy using this template as much as I have. You can tweak the Interval and History settings within each item per your needs. I have also included HOSTNAME calls in each Trigger to Identify the host that is causing the Trigger.

Author

Chad Hoye

Macros used

Name Description Default Type
{$SNMP_COMMUNITY}

-

public Text macro

Template links

There are no template links in this template.

Discovery rules

Name Description Type Key and additional info
Outlets

-

SNMP agent rPDU2Outlet

Update: 3600

Items collected

Name Description Type Key and additional info
Phase 3 Voltage

-

SNMP agent rPDU2PhaseStatusVoltage.3

Update: 10s

Phase 1 Power

-

SNMP agent rPDU2PhaseStatusPower.1

Update: 10s

Phase 3 Overload Threshold

-

SNMP agent rPDULoadPhaseConfigOverloadThreshold.3

Update: 12h

System Up Time

-

SNMP agent sysUpTime.0

Update: 1h

Phase 1 Low Load Threshold

-

SNMP agent rPDULoadPhaseConfigLowLoadThreshold.1

Update: 12h

Load State

Indicates the present load status of the Rack PDU.

SNMP agent rPDU2DeviceStatusLoadState.1

Update: 10s

Max Phase Current Rating

The maximum current rating, measured in Amps, for the Rack PDU

SNMP agent rPDU2DevicePropertiesMaxPhaseCurrentRating.1

Update: 1h

Power Near Overload Threshold

User-defined near power overload threshold, measured in tenths of kilowatts. Models that do not support this feature will respond to this OID with a value of -1.

SNMP agent rPDU2DeviceConfigNearOverloadPowerThreshold.1

Update: 12h

Phase 2 Overload Threshold

-

SNMP agent rPDULoadPhaseConfigOverloadThreshold.2

Update: 12h

Model Number

-

SNMP agent rPDU2IdentModelNumber.1

Update: 12h

Phase 2 Load

-

SNMP agent rPDULoadStatusLoad.2

Update: 10s

Peak Power Timestamp

-

SNMP agent rPDU2DeviceStatusPeakPowerTimestamp.1

Update: 1h

Power Overload Threshold

User-defined near power overload threshold, measured in tenths of kilowatts. Models that do not support this feature will respond to this OID with a value of -1.

SNMP agent rPDU2DeviceConfigOverloadPowerThreshold.1

Update: 12h

Phase 3 Load

-

SNMP agent rPDULoadStatusLoad.3

Update: 10s

Phase 1 Overload Threshold

-

SNMP agent rPDULoadPhaseConfigOverloadThreshold.1

Update: 12h

Phase 2 Near Overload Threshold

-

SNMP agent rPDULoadPhaseConfigNearOverloadThreshold.2

Update: 12h

Phase Status Peak Current Timestamp

-

SNMP agent rPDU2PhaseStatusPeakCurrentTimestamp.1

Update: 1h

Phase 3 Low Load Threshold

-

SNMP agent rPDULoadPhaseConfigLowLoadThreshold.3

Update: 12h

Phase 1 Near Overload Threshold

-

SNMP agent rPDULoadPhaseConfigNearOverloadThreshold.1

Update: 12h

Location

-

SNMP agent rPDU2IdentLocation.1

Update: 1h

Phase 2 Low Load Threshold

-

SNMP agent rPDULoadPhaseConfigLowLoadThreshold.2

Update: 12h

Rack Inlet Temp

Temperature of Air entering Rack

SNMP agent rPDU2SensorTempHumidityStatusTempF.1

Update: 10s

Power Consumption

The power consumption of the Rack PDU load in hundredths of kilowatts. Models that do not support this feature will respond to this OID with a value of -1.

SNMP agent rPDU2DeviceStatusPower.1

Update: 10s

Phase 1 Peak Current

-

SNMP agent rPDU2PhaseStatusPeakCurrent.1

Update: 12h

Phase 3 Near Overload Threshold

-

SNMP agent rPDULoadPhaseConfigNearOverloadThreshold.3

Update: 12h

Phase 2 Power

-

SNMP agent rPDU2PhaseStatusPower.2

Update: 10s

Total Energy

A user re-settable energy meter measuring Rack PDU load energy consumption in tenths of kilowatt-hours.

SNMP agent rPDU2DeviceStatusEnergy.1

Update: 1h

Serial Number

-

SNMP agent rPDU2IdentSerialNumber.1

Update: 12h

Phase 3 Peak Current

-

SNMP agent rPDU2PhaseStatusPeakCurrent.3

Update: 10s

Rack Inlet Humidity

The Relative Humidity entering the rack

SNMP agent rPDU2SensorTempHumidityStatusRelativeHumidity.1

Update: 10s

Phase 2 Voltage

-

SNMP agent rPDU2PhaseStatusVoltage.2

Update: 10s

Identification Name

-

SNMP agent rPDU2IdentName.1

Update: 1h

Phase 2 Peak Current

-

SNMP agent rPDU2PhaseStatusPeakCurrent.2

Update: 10s

Firmware Rev

-

SNMP agent rPDU2IdentFirmwareRev.1

Update: 12h

Phase 1 Load

-

SNMP agent rPDULoadStatusLoad.1

Update: 10s

Phase 3 Power

-

SNMP agent rPDU2PhaseStatusPower.3

Update: 10s

Phase 1 Voltage

-

SNMP agent rPDU2PhaseStatusVoltage.1

Update: 10s

Peak Power

The peak power consumption of the Rack PDU load in hundredths of kilowatts.

SNMP agent rPDU2DeviceStatusPeakPower.1

Update: 10s

Power Supply Alarm

Indicates a power supply alarm is active when value equals alarm (2)

SNMP agent rPDU2DeviceStatusPowerSupplyAlarm.1

Update: 10s

Outlet $1 Name

-

SNMP agent rPDU2OutletSwitchedConfigName[{#SNMPINDEX}]

Update: 3600

LLD

Outlet $1 Bank

-

SNMP agent rPDU2OutletSwitchedPropertiesBank[{#SNMPINDEX}]

Update: 86400

LLD

Outlet $1 State

-

SNMP agent rPDU2OutletSwitchedStatusState[{#SNMPINDEX}]

Update: 60

LLD

Triggers

Name Description Expression Priority
Outlet {#SNMPVALUE} State Change

-

Expression: {APC PDU:rPDU2OutletSwitchedStatusState[{#SNMPINDEX}].diff()}=1

Recovery expression:

information
Outlet {#SNMPVALUE} State Change (LLD)

-

Expression: {APC PDU:rPDU2OutletSwitchedStatusState[{#SNMPINDEX}].diff()}=1

Recovery expression:

information