forked from pool/monitoring-plugins
63d0309470
- update apparmor profiles: - check_load: allow to read /run/systemd/sessions/1 while we still have to use "uptime" (upstream issue 1999) - check_disk: allow to read /proc/pid/mountinfo OBS-URL: https://build.opensuse.org/request/show/1166211 OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=122
13 lines
323 B
Plaintext
13 lines
323 B
Plaintext
#include <tunables/global>
|
|
/usr/lib/nagios/plugins/check_load {
|
|
#include <abstractions/base>
|
|
#include <abstractions/consoles>
|
|
#include <abstractions/wutmp>
|
|
/usr/lib/nagios/plugins/check_load rm,
|
|
/usr/bin/uptime rmix,
|
|
/proc/uptime r,
|
|
/proc/meminfo r,
|
|
/proc/loadavg r,
|
|
/run/systemd/sessions/1 r,
|
|
}
|