[Pkg-nagios-devel] Bug#853861: [nagios-plugins-contrib] check_raid now requires sudoers file
Robert Haist
rhaist at mailbox.org
Wed Feb 1 15:39:25 UTC 2017
Package: nagios-plugins-contrib
Version: 20.20170118~bpo8+1
Severity: grave
With the last update the check_raid plugin now requires a sudoers file for the new default enabled plugin "dm". This file can be generated with "check_raid -S" and should probably be included in the package.
Steps to reproduce:
-----------------------
# sudo -u nagios ./check_raid
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
sudo: no askpass program specified, try setting SUDO_ASKPASS
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
sudo: no askpass program specified, try setting SUDO_ASKPASS
UNKNOWN: dm:[No devices to check]; mdstat:[md0(119.18 GiB raid1):UU, md1(5.46 TiB raid6):UUUUU]
# ./check_raid -S
Updating file /etc/sudoers.d/check_raid
/etc/sudoers.d/check_raid.new.19812: parsed OK
/etc/sudoers.d/check_raid file updated.
check_raid OK - sudoers updated
# sudo -u nagios ./check_raid
UNKNOWN: dm:[No devices to check]; mdstat:[md0(119.18 GiB raid1):UU, md1(5.46 TiB raid6):UUUUU]
-----------------------
Regards,
Robert Haist
----------------
2BC8 3F55 A400 7468 864C 680E 1B7C C8D4 D4E9 14AA
More information about the Pkg-nagios-devel
mailing list