#include /usr/lib/nagios/plugins/check_iostat { #include #include #include #include /usr/bin/iostat rix, /{usr/,}bin/bash rix, /{usr/,}bin/stat rix, /usr/bin/which rix, /sys/devices/system/cpu/ r, /sys/devices/**/stat r, /proc/meminfo r, @{PROC}/[0-9]*/mounts r, @{PROC}/[0-9]*/mountinfo r, /proc/diskstats r, /proc/uptime r, / r, /etc/sysstat/sysstat.ioconf r, # once the service tries to lookup which user is # invoking the programm, it needs access to the # following files /etc/nsswitch.conf r, /etc/passwd r, }