2024-03-05 00:39:46 +01:00
|
|
|
# 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
|
2023-10-01 01:32:25 +02:00
|
|
|
command[check_btrfs_quota]=sudo /usr/local/share/scripts-admin/nagios/check_btrfs_quota.sh -w 30% -c 10% -V /srv
|