Перейти к основному содержимому
Версия: 0.4 · текущая

Проверки Linux

СправочникПроверено 11 октября 2026 г.
Область применения:Excubius 0.4Роли: Оператор, Редактор, Администратор сущности
ПланыFree · Core · Pro · EnterpriseРазвертываниеСамостоятельное размещение

Модуль linux содержит 8 проверок. Узлы Linux и macOS через SSH (оболочка POSIX, только для чтения). Выходные данные — JSON, который формируется средствами оболочки или python3, если он доступен.

Эта страница создается из каталога проверок продукта при сборке документации, поэтому правила, интервалы и уровни серьезности по умолчанию всегда соответствуют версии, которую вы читаете. Пороговые значения указаны по умолчанию; сущности и ресурсы могут их переопределить.

ПроверкаИнтервалСерьезность по умолчаниюПравило
linux.load_cpu
Load average and CPU
60swarningwarning > 80 percent · 15m / critical > 90 percent · 5m
linux.memory
Memory available
60swarningwarning < 10 percent · 10m / critical < 5 percent · 5m
linux.disk_free
Filesystem free space
300swarningwarning < 15 percent / critical < 10 percent
linux.services
systemd units active
60scriticalactive = active
linux.updates_pending
Pending package updates (check only)
21600swarningwarning >= 1 count / critical >= 1 count
linux.reboot_required
Reboot required (new kernel)
3600swarningreboot_required = false
linux.auth_events
Authentication and privilege events
120swarningwarning >= 10 count / critical >= 50 count
linux.hardening
Hardening posture (sshd, SELinux, firewall, open ports)
3600swarningpermit_root_login = no, password_auth = no, selinux = Enforcing

Проверки​

linux.load_cpu

Load average and CPU

Метрика
cpu_percent (percent) · каждые 60s · ssh
Правило
warning > 80 percent · 15m / critical > 90 percent · 5m · Серьезность по умолчанию: warning
Действие
—
Базовый уровень
Load1 > cpu_count for 15 min is an additional derived rule in the normalizer.

linux.memory

Memory available

Метрика
available_percent (percent) · каждые 60s · ssh
Правило
warning < 10 percent · 10m / critical < 5 percent · 5m · Серьезность по умолчанию: warning
Действие
—

linux.disk_free

Filesystem free space

Метрика
free_percent (percent) · каждые 300s · ssh
Правило
warning < 15 percent / critical < 10 percent · Серьезность по умолчанию: warning
Действие
—

linux.services

systemd units active

Метрика
unit_state · каждые 60s · ssh
Правило
active = active · Серьезность по умолчанию: critical
Действие
—
Базовый уровень
Unit list comes from resource attributes.

linux.updates_pending

Pending package updates (check only)

Метрика
security_updates (count) · каждые 21600s · ssh
Правило
warning >= 1 count / critical >= 1 count · Серьезность по умолчанию: warning
Действие
—
Базовый уровень
Critical when security advisories are pending; bugfix-only is a warning. The platform never installs.

linux.reboot_required

Reboot required (new kernel)

Метрика
reboot_required · каждые 3600s · ssh
Правило
reboot_required = false · Серьезность по умолчанию: warning
Действие
—

linux.auth_events

Authentication and privilege events

Метрика
ssh_failed (count) · каждые 120s · ssh
Правило
warning >= 10 count / critical >= 50 count · Серьезность по умолчанию: warning
Действие
—
Базовый уровень
users_created >= 1 and sudo spikes raise their own events in the normalizer.

linux.hardening

Hardening posture (sshd, SELinux, firewall, open ports)

Метрика
hardening · каждые 3600s · ssh
Правило
permit_root_login = no, password_auth = no, selinux = Enforcing · Серьезность по умолчанию: warning
Действие
—
Базовый уровень
Root login and password auth off, SELinux enforcing, firewalld on; listening ports compared with the resource's allowed list. · источник