banshee est en développement actif : les collecteurs vont encore changer, et une version que vous publiez demandera sans doute des ajustements. Pour un usage stable, attendez la version 1.0.0.

Hardware

banshee/hardware-collection/hardware/pdu/apc/snmp/

outlets

The load state, current and power of each outlet of an APC rack PDU metered by outlet by SNMP.

  • hardware
  • pdu
  • apc
  • schneider
  • powernet
  • rack
  • outlet
  • power
  • snmp

par banshee0 installation1 version

v1Dernière

Publiée le 28 octobre 2026. First version.

Outlets of an APC rack PDU, by SNMP (PowerNet-MIB)

Returns, for each outlet of an APC rack PDU metered by outlet, the load state the PDU judges against the outlet's own thresholds, the current and the power of the device plugged in, and the name an administrator gave the outlet. Four watches are offered, each one set on the probe.

Versions

Generic: written for the rPDU2OutletMeteredStatusTable of PowerNet-MIB, which APC's rack PDUs metered by outlet serve, with or without switching. A PDU metered as a whole only does not serve it, and stops the collector misconfigured: its phases are read by pdu/apc/snmp/phases. Hence the common level.

How it works

The collector reads rPDU2OutletMeteredStatusTable (1.3.6.1.4.1.318.1.1.26.9.4.3.1):

ColumnOIDRead as
rPDU2OutletMeteredStatusModule.2the PDU's number in its group
rPDU2OutletMeteredStatusName.3label, the name an administrator gave the outlet
rPDU2OutletMeteredStatusNumber.4the outlet's number: with the PDU's, the instance pdu <number> outlet <number>
rPDU2OutletMeteredStatusState.5load-state: low (1), normal (2), near-overload (3), overload (4)
rPDU2OutletMeteredStatusCurrent.6current, in A (the agent counts tenths)
rPDU2OutletMeteredStatusPower.7power, in W
  • An outlet is named by its PDU and its number, which do not change when its name is edited on the PDU.
  • An agent that serves no metered outlet stops the collector misconfigured.
  • The collector only reads: SNMP sends nothing but reads. No outlet is switched.

Prerequisites

  • The SNMP agent of the PDU enabled, reachable from the poller (UDP 161), its access restricted to the poller.
  • Read-only access, SNMPv2c or SNMPv3, set on the host or one of its folders (protocol:snmp:* variables).

Outputs

NameLabelUnitPer instance
labelOutlet name—yes, per outlet
load-stateLoad state—yes, per outlet
currentCurrentAyes, per outlet
powerPowerWyes, per outlet

Watches

NameTitleKindDefaultsChecked by default
load-stateOutlet near overload or overloadedstate to avoid, on load-statewarning on near-overload, critical on overloadyes
unpluggedOutlet draws nothingbelow a threshold, on powerno threshold: it raises nothing until one is set on the probeno
powerOutlet draws too muchabove a threshold, on powerno threshold: it raises nothing until one is set on the probeno
missingOutlet missingexpected instances, on load-stateno outlet named: it raises nothing until names are set on the probeno
  • unplugged, set at a few watts with the selection limited to the outlets in use, tells a server that lost one of its two power cords.

Limits

  • The unit of rPDU2OutletMeteredStatusPower is read as watts: the public copies of the MIB do not give it, where they give tenths of A for the current and hundredths of kW for the power of a phase. Not checked: a PDU that counted otherwise would show a power off by that factor.
  • Not checked against a PDU: the OIDs are those of PowerNet-MIB as its public copies give it (LibreNMS, Observium, Netdisco, gathered by oidref.com).