forked from pool/monitoring-plugins
233e17263a
- update AppArmor profiles for usrMerge (related to boo#1132350) - grep in check_cups - ps in check_procs and check_procs.sle15 Note: ps currently still lives in /bin/, but also allowing /usr/bin/ to be prepared can't hurt ;-) OBS-URL: https://build.opensuse.org/request/show/694064 OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=61
32 lines
669 B
Plaintext
32 lines
669 B
Plaintext
# Last Modified: Mon Mar 11 14:58:16 2013
|
|
#include <tunables/global>
|
|
|
|
/usr/lib/nagios/plugins/check_cups {
|
|
#include <abstractions/base>
|
|
#include <abstractions/bash>
|
|
#include <abstractions/consoles>
|
|
#include <abstractions/nameservice>
|
|
|
|
network inet dgram,
|
|
network inet stream,
|
|
|
|
/{usr/,}bin/bash rix,
|
|
/{usr/,}bin/grep rix,
|
|
/{usr/,}bin/which rix,
|
|
/{usr/,}bin/lpstat rix,
|
|
/{usr/,}bin/basename rix,
|
|
/{usr/,}bin/mktemp rix,
|
|
/{usr/,}bin/date rix,
|
|
/{usr/,}bin/rm rix,
|
|
/{usr/,}bin/cut rix,
|
|
/{usr/,}bin/bc rix,
|
|
/{usr/,}bin/wc rix,
|
|
/tmp/lpstat* wr,
|
|
|
|
/var/run/nscd/services r,
|
|
|
|
/etc/cups/client.conf r,
|
|
/proc/sys/crypto/fips_enabled r,
|
|
|
|
}
|