nagios/btrfs: add btrfs and sudo examples in /etc config.
This commit is contained in:
parent
899c8e1efe
commit
775e35d759
1 changed files with 4 additions and 0 deletions
|
@ -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
|
command[check_btrfs_quota]=sudo /usr/local/share/scripts-admin/nagios/check_btrfs_quota.sh -w 30% -c 10% -V /srv
|
||||||
|
|
Loading…
Reference in a new issue