Skip to content

SNMP CPU load (snmp_cpu) ​

Reads the processor load over SNMP, averaged across all processors the device reports in the Host Resources MIB (hrProcessorLoad). When the device does not offer that, it uses the UCD figure: 100 minus ssCpuIdle.

Channels ​

KeyNameUnitDefault limits
cpu_pctCPU load%warning above 85, error above 95

Parameters ​

ParameterDefaultMeaning
port161UDP port of the SNMP agent.

Suggested interval: 60 seconds. Credential: SNMP.

On the target ​

SNMP with a read-only community or v3 user that can read HOST-RESOURCES-MIB (hrProcessorLoad) or, on net-snmp, UCD-SNMP-MIB (ssCpuIdle). On net-snmp, make sure the community's view includes those subtrees.

Failures ​

MessageMeaning
the device offers no usable CPU figure: neither hrProcessorLoad nor ssCpuIdle, or values outside 0 to 100 (net-snmp serves none for about a minute after the agent starts) (kind protocol)The device answers SNMP but not with a usable CPU figure. Values outside 0 to 100 are treated as a broken row. Seen when an Alpine container was restarted: the sensor recovers by itself after about a minute, but with a failure count of two and a 15-second interval an incident opened and closed. Give the sensor a failure count that covers a restart if that matters.
no SNMP answer, SNMPv3 authentication failed, missing credentialAs for snmp_interface.

AGPL-3.0-only