Expected busy periods (processor warnings)

A processor that is busy for a few minutes is not always a problem: Windows Defender scans, Windows Update installs, backups, a vulnerability scan or a nightly job make a host busy on purpose. Netlens judges a processor warning by what is busy and when, so these do not raise a warning.

Switch: Health → When to warn → Do not warn about expected busy periods (on by default).

What is busy: known jobs

While the processor is over its limit, the reading also notes the busiest processes: through one extra query on Windows (WinRM and SSH), and from the processor time of the busiest processes between two rounds on Linux (SSH). When one process holds most of the load and it is a known harmless job, there is no warning as long as it runs for a normal time:

Job Normal time at most
Windows Defender (MsMpEng, MpCmdRun) 90 minutes
Windows Update installing (TiWorker), checking (MoUsoCoreWorker) 120 / 45 minutes
Windows telemetry, search indexing, .NET native image compiler 45 / 60 / 45 minutes
Package updates (apt, dpkg, dnf, yum …), ClamAV, log rotation, locate database, fstrim 60 / 180 / 20 / 30 / 30 minutes
Backups (borg, restic, duplicity, Duplicati, Kopia …) 240 minutes
RAID check or rebuild (mdadm) 12 hours
Greenbone / OpenVAS scan 6 hours

Names are matched as the host writes them. Hosts read over SNMP, or through the locked-down probe account, give no process names; the next check still works for them.

When: regular times

Netlens keeps every busy period of a host (also the ones it did not warn about) and recognises when the host is busy

  • every day around the same hour,
  • on the same weekday and hour, week after week, or
  • at a steady interval (every 4 hours, every 90 minutes …).

A busy period that fits is not reported while it lasts no longer than the earlier ones (plus a margin). A pattern needs at least three earlier busy periods, so a new host is watched for a few days first. This works for any process, for example a nightly Greenbone scan.

When it does warn

A busy period that goes on longer than usual is a problem after all, and the warning says what it is: “… processor busy is 99% (limit 98%), mostly msmpeng (Windows Defender, the anti-malware scan); it has been busy for 95 minutes, longer than the usual 90”. Any warning also names the busiest process when there is one. A warning that is already out is never hidden afterwards.

A device’s Health tab lists its Busy periods of the last 14 days: when, how long, how high, what ran, and whether Netlens explained it.

Malware can use the name of a harmless program. That is why a known job only counts for the time such a job normally runs.