2015-08-01 19:17:32 +00:00
|
|
|
#include <tunables/global>
|
|
|
|
/usr/lib/nagios/plugins/check_iostat {
|
|
|
|
#include <abstractions/base>
|
|
|
|
#include <abstractions/consoles>
|
|
|
|
#include <abstractions/perl>
|
|
|
|
/usr/bin/iostat rix,
|
2019-04-15 13:53:55 +00:00
|
|
|
/{usr/,}bin/bash rix,
|
2019-12-05 15:35:07 +00:00
|
|
|
/{usr/,}bin/stat rix,
|
2015-08-01 19:17:32 +00:00
|
|
|
/usr/bin/which rix,
|
|
|
|
/sys/devices/system/cpu/ r,
|
|
|
|
/proc/meminfo r,
|
2019-12-05 13:41:57 +00:00
|
|
|
@{PROC}/[0-9]*/mounts r,
|
2020-03-12 23:44:13 +00:00
|
|
|
@{PROC}/[0-9]*/mountinfo r,
|
2015-08-01 19:17:32 +00:00
|
|
|
/proc/diskstats r,
|
|
|
|
/proc/uptime r,
|
2020-03-12 23:44:13 +00:00
|
|
|
/ r,
|
2015-08-01 19:17:32 +00:00
|
|
|
/etc/sysstat/sysstat.ioconf r,
|
2020-07-07 15:29:46 +00:00
|
|
|
# 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,
|
2015-08-01 19:17:32 +00:00
|
|
|
}
|