Your message dated Mon, 06 Jan 2014 14:06:11 +0100
with message-id <[email protected]>
and subject line Re: [Pkg-nagios-devel] Bug#730195: check_raid depends on root
PATH
has caused the Debian Bug report #730195,
regarding check_raid depends on root PATH
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
730195: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=730195
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: nagios-plugins-contrib
Version: 4.20120702
Severity: important
check_raid uses "which" to try and work out which RAID utilities are on
the system
However, because nagios and nrpe run as a non-root user, it fails to
discover RAID utilities in /usr/sbin, /sbin, ... and therefore it
doesn't check those that it can't find
For nrpe, it is possible to work around it with the following in
/etc/nrpe.cfg:
command_prefix=/usr/sbin:/sbin:$PATH
I observed this particular problem with the hpacucli - I use the
packaged version which is in /usr/sbin
I've marked this bug as important because not monitoring RAID correctly
may lead to data loss
--- End Message ---
--- Begin Message ---
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Daniel,
thanks for taking time and reporting your issue.
Am 22.11.13 15:16, schrieb Daniel Pocock:
> check_raid uses "which" to try and work out which RAID utilities
> are on the system
>
> However, because nagios and nrpe run as a non-root user, it fails
> to discover RAID utilities in /usr/sbin, /sbin, ... and therefore
> it doesn't check those that it can't find
>
> For nrpe, it is possible to work around it with the following in
> /etc/nrpe.cfg:
>
> command_prefix=/usr/sbin:/sbin:$PATH
>
> I observed this particular problem with the hpacucli - I use the
> packaged version which is in /usr/sbin
As check_raid makes extensive use of sudo, you just need to install
sudo and add something like the following to /etc/sudoers.d/
# cat /etc/sudoers.d/check_raid
nagios ALL=NOPASSWD: /usr/sbin/hpasmcli
> I've marked this bug as important because not monitoring RAID
> correctly may lead to data loss
This bug would indeed just severity 'normal' as check_raid is just a
part of a plugins collection.
Anyways ... hpasmcli isn't part of Debian, so there is nothing to
worry about that.
Cheers, Jan.
- --
Never write mail to <[email protected]>, you have been warned!
- -----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GIT d-- s+: a C+++ UL++++ P+ L+++ E--- W+++ N+++ o++ K++ w--- O M V-
PS PE Y++
PGP++ t-- 5 X R tv- b+ DI D+ G++ e++ h---- r+++ y++++
- ------END GEEK CODE BLOCK------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (Darwin)
Comment: GPGTools - http://gpgtools.org
iEYEARECAAYFAlLKqkMACgkQ9u6Dud+QFyRcjQCg2Q/UwOOzcEr9nGgDFS3BB7A6
pugAoKpZuwDwHg0KYYBvfO0YDN7KCqSj
=6vFz
-----END PGP SIGNATURE-----
--- End Message ---