Skip to content

Linux load over SSH (ssh_load) ​

Reads /proc/loadavg over SSH and reports the 1, 5 and 15 minute load averages, and the five-minute load divided by the number of processor cores.

Channels ​

KeyNameUnitDefault limits
load1Load average (1 minute)nonenone
load5Load average (5 minutes)nonenone
load15Load average (15 minutes)nonenone
load_per_coreLoad per core (5 minutes)nonewarning above 1.5, error above 3

If the number of cores cannot be read, load_per_core is unknown and the other three are still reported.

Parameters ​

ParameterDefaultMeaning
port22TCP port of the SSH server.

Suggested interval: 60 seconds. Credential: SSH (ssh_password or ssh_key).

On the target ​

A Linux host with an SSH server and an unprivileged account. The command run is cat /proc/loadavg; getconf _NPROCESSORS_ONLN 2>/dev/null || grep -c '^processor' /proc/cpuinfo. The host key is recorded on first use, as described for ssh_disk.

Failures ​

MessageMeaning
/proc/loadavg did not contain three load figures (is the target a Linux host?) (kind protocol)The target accepted the login but is not Linux, or its shell printed something unexpected.
reading /proc/loadavg failed on the target (exit status N): ... (kind protocol)The command failed.
Host key changed, rejected credential, unusable key, missing credential, timeoutsAs for ssh_disk.

AGPL-3.0-only