From: BarbUk Date: Thu, 29 Nov 2018 20:40:05 +0000 (+0400) Subject: Documentation: use icinga user instead of nagios X-Git-Tag: v2.11.0-rc1~250^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4afbf2f987b7285aaf4f893b76e2772c36c42073;p=icinga2 Documentation: use icinga user instead of nagios --- diff --git a/doc/10-icinga-template-library.md b/doc/10-icinga-template-library.md index 5b705a9b6..5d57d3275 100644 --- a/doc/10-icinga-template-library.md +++ b/doc/10-icinga-template-library.md @@ -3114,13 +3114,13 @@ is used to check the btrfs storage health on the server. The plugin requires `sudo` permissions. You can add a sudoers file to allow your monitoring user to use the plugin, i.e. edit /etc/sudoers.d/nagios and add: ``` -nagios ALL=(root) NOPASSWD:/usr/lib/nagios/plugins/check_btrfs +icinga ALL=(root) NOPASSWD:/usr/lib/nagios/plugins/check_btrfs ``` and set the correct permissions: ```bash -chown -c root: /etc/sudoers.d/nagios -chmod -c 0440 /etc/sudoers.d/nagios +chown -c root: /etc/sudoers.d/icinga +chmod -c 0440 /etc/sudoers.d/icinga ``` [monitoring-plugins-btrfs](https://packages.debian.org/monitoring-plugins-btrfs) provide the necessary binary on debian/ubuntu.