forked from pool/monitoring-plugins
f1a27a1d58
(Apparmor profiles in /etc/apparmor.d/) - add README files for check_ping and check_ntp_time - enhance all README files with Apparmor information - whitespace and some spelling fixes on check_cups - added debug option to check_cups OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=7
25 lines
513 B
Plaintext
25 lines
513 B
Plaintext
#include <tunables/global>
|
|
|
|
/usr/lib/nagios/plugins/check_ntp_time {
|
|
#include <abstractions/base>
|
|
#include <abstractions/consoles>
|
|
#include <abstractions/nameservice>
|
|
#include <abstractions/xad>
|
|
|
|
network inet dgram,
|
|
network inet6 dgram,
|
|
|
|
capability ipc_lock,
|
|
capability net_bind_service,
|
|
capability sys_time,
|
|
capability sys_resource,
|
|
|
|
/etc/gai.conf r,
|
|
/usr/lib/nagios/plugins/check_ntp_time rm,
|
|
/etc/hosts r,
|
|
/etc/resolv.conf r,
|
|
/var/run/nscd/* r,
|
|
|
|
/etc/monitoring-plugins/* r,
|
|
}
|