1
0
Fork 0

nagios/btrfs: add btrfs and sudo examples in /etc config.

This commit is contained in:
Chl 2024-03-05 00:39:46 +01:00
parent 899c8e1efe
commit 775e35d759

View file

@ -1 +1,5 @@
# 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