Linux checks
The linux module has 8 checks. Linux and macOS hosts over SSH (POSIX shell, read-only). Output is JSON built with shell or python3 where available.
This page is generated from the product's check catalog when the documentation is built, so the rules, intervals and default severities always match the version you are reading. Thresholds are defaults; entities and resources can override them.
| Check | Every | Default severity | Rule |
|---|---|---|---|
linux.load_cpuLoad average and CPU | 60s | warning | warning > 80 percent · 15m / critical > 90 percent · 5m |
linux.memoryMemory available | 60s | warning | warning < 10 percent · 10m / critical < 5 percent · 5m |
linux.disk_freeFilesystem free space | 300s | warning | warning < 15 percent / critical < 10 percent |
linux.servicessystemd units active | 60s | critical | active = active |
linux.updates_pendingPending package updates (check only) | 21600s | warning | warning >= 1 count / critical >= 1 count |
linux.reboot_requiredReboot required (new kernel) | 3600s | warning | reboot_required = false |
linux.auth_eventsAuthentication and privilege events | 120s | warning | warning >= 10 count / critical >= 50 count |
linux.hardeningHardening posture (sshd, SELinux, firewall, open ports) | 3600s | warning | permit_root_login = no, password_auth = no, selinux = Enforcing |
Checks
linux.load_cpu
Load average and CPU
- Measures
cpu_percent(percent) · every60s·ssh- Rule
warning > 80 percent · 15m / critical > 90 percent · 5m· Default severity: warning- Action
- —
- Baseline
- Load1 > cpu_count for 15 min is an additional derived rule in the normalizer.
linux.memory
Memory available
- Measures
available_percent(percent) · every60s·ssh- Rule
warning < 10 percent · 10m / critical < 5 percent · 5m· Default severity: warning- Action
- —
linux.disk_free
Filesystem free space
- Measures
free_percent(percent) · every300s·ssh- Rule
warning < 15 percent / critical < 10 percent· Default severity: warning- Action
- —
linux.services
systemd units active
- Measures
unit_state· every60s·ssh- Rule
active = active· Default severity: critical- Action
- —
- Baseline
- Unit list comes from resource attributes.
linux.updates_pending
Pending package updates (check only)
- Measures
security_updates(count) · every21600s·ssh- Rule
warning >= 1 count / critical >= 1 count· Default severity: warning- Action
- —
- Baseline
- Critical when security advisories are pending; bugfix-only is a warning. The platform never installs.
linux.reboot_required
Reboot required (new kernel)
- Measures
reboot_required· every3600s·ssh- Rule
reboot_required = false· Default severity: warning- Action
- —
linux.auth_events
Authentication and privilege events
- Measures
ssh_failed(count) · every120s·ssh- Rule
warning >= 10 count / critical >= 50 count· Default severity: warning- Action
- —
- Baseline
- users_created >= 1 and sudo spikes raise their own events in the normalizer.
linux.hardening
Hardening posture (sshd, SELinux, firewall, open ports)
- Measures
hardening· every3600s·ssh- Rule
permit_root_login = no, password_auth = no, selinux = Enforcing· Default severity: warning- Action
- —
- Baseline
- Root login and password auth off, SELinux enforcing, firewalld on; listening ports compared with the resource's allowed list. · source
Related content
- Linux: prerequisites and how to add resources
- Thresholds and baselines: how a default threshold is overridden