Home / Blog / Data center
Data center

Turning SNMP Traps into SCADA Alarms Without Drowning in Noise

UPS, PDUs and cooling units announce trouble with SNMP traps. Facility systems speak in alarms. Connecting the two sounds trivial and regularly goes wrong, either because traps are lost or because every trap becomes an alarm.

Traps are not alarms

A trap is a one-way UDP message from a device to a manager, normally on port 162. It is not acknowledged. If the packet is dropped, nobody knows. It also carries no state: a device sends "on battery" and, later, a separate "back on mains". An alarm in a SCADA sense has a state, a priority, an acknowledgement and a return to normal. The integration work is converting one model into the other.

Four rules that prevent most problems

  • Poll as a backstop. Never rely on traps alone. Poll the status OIDs behind each important trap at a modest interval, so a lost trap is detected within one cycle and the alarm state is always derived from the device's real condition.
  • Prefer informs where supported. SNMP informs are acknowledged by the receiver and resent if not confirmed.
  • Pair set and clear. Map each trap to an alarm together with its clearing trap or its polled status, so alarms return to normal by themselves.
  • Load the vendor MIB. Without it a trap is a string of numbers. With it, variable bindings become named values with units.

Severity mapping

Devices have their own idea of severity, and vendors disagree with each other. Decide the priority in the SCADA, by consequence for the facility:

Example trapSuggested handling
UPS on batteryHigh priority alarm; start correlation with upstream electrical events
UPS battery low / runtime below thresholdHigh priority, escalation by SMS or call
PDU branch overcurrent warningMedium priority, trend the branch current
Cooling unit high return temperatureMedium priority, correlate with rack inlet temperatures
Fan speed changed, configuration savedEvent only, no alarm

Trap storms

A failing network link or a flapping sensor can send thousands of traps in minutes. Protect the alarm list with rate limiting per source, de-duplication of identical traps inside a time window, and a single "device is flapping" alarm instead of a thousand lines. Communication loss to a device should itself be one alarm per device, not one per data point.

Security

SNMP v1 and v2c send community strings in clear text. Where devices support it, use SNMPv3 with authentication and privacy, restrict trap sources by address, and keep management traffic on its own network segment.

The pay-off: correlation with the power chain

The value of having traps in the SCADA is not the trap itself. It is that "UPS-A on battery" appears on the same time base as the breaker event from the electrical system and the temperature rise from the cooling plant. A static transfer switch transfer, a PDU current step and a utility dip then read as one incident with one cause.

See how Argus handles SNMP devices and how Argus Data Center correlates A/B power-chain events.

Related articles

All articles

Have a project in mind?