forked from pool/monitoring-plugins
83ad0b15ce
- Add attach_disconnected flag for usr.lib.nagios.plugins.check_procs and usr.lib.nagios.plugins.check_procs.sle15 apparmor profiles to permit /proc/PID/exe access; (bsc#1209194) OBS-URL: https://build.opensuse.org/request/show/1090989 OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=107
14 lines
316 B
Plaintext
14 lines
316 B
Plaintext
#include <tunables/global>
|
|
/usr/lib/nagios/plugins/check_procs flags=(attach_disconnected) {
|
|
#include <abstractions/nameservice>
|
|
#include <abstractions/base>
|
|
#include <abstractions/consoles>
|
|
|
|
capability sys_ptrace,
|
|
|
|
/{usr/,}bin/ps rix,
|
|
/proc/ r,
|
|
/proc/** r,
|
|
/usr/lib/nagios/plugins/check_procs mr,
|
|
}
|