1
0
Fork 0
scripts-admin-quickndirty-p.../nagios/etc/35_btrfs-checks.cfg

5 lines
415 B
INI

# Lines to add to /etc/sudoers.d/nagios :
# nagios ALL=(ALL) NOPASSWD: /usr/local/share/scripts-admin/nagios/check_btrfs.sh
# nagios ALL=(ALL) NOPASSWD: /usr/local/share/scripts-admin/nagios/check_btrfs_quota.sh
#command[check_btrfs]=sudo /usr/local/share/scripts-admin/nagios/check_btrfs.sh -V /srv
command[check_btrfs_quota]=sudo /usr/local/share/scripts-admin/nagios/check_btrfs_quota.sh -w 30% -c 10% -V /srv