[Pkg-nagios-devel] Bug#730195: check_raid depends on root PATH
Daniel Pocock
daniel at pocock.com.au
Fri Nov 22 14:16:36 UTC 2013
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
More information about the Pkg-nagios-devel
mailing list