monitoring-plugins-sar-perf/usr.lib.nagios.plugins.check_iostat

24 lines
644 B
Plaintext
Raw Normal View History

#include <tunables/global>
/usr/lib/nagios/plugins/check_iostat {
#include <abstractions/base>
#include <abstractions/consoles>
#include <abstractions/perl>
/usr/bin/iostat rix,
/{usr/,}bin/bash rix,
/{usr/,}bin/stat rix,
/usr/bin/which rix,
/sys/devices/system/cpu/ 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,
}