strange nrpe behaviour

Marc Powell marc at ena.com
Wed Mar 12 16:15:20 CET 2008


> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Federico Donati
> Sent: Wednesday, March 12, 2008 9:49 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] strange nrpe behaviour
> 
> Hi all,
> 
> i have a Dell PowerEdge 1950 server with a PERC Raid Controller. It
runs
> Debian Etch, updated.
> 
> I've installed nrpe on the machine and all works fine, except for the
> raid check.
> I use the check_dell_omreport, that i found here:
> 
>
http://www.nagiosexchange.org/DELL_Server.61.0.html?&tx_netnagext_pi1[p_
view]=
> 433
> 
> So, if i run the command on the server (by hand), the output is
correct:
> 
> # /usr/lib/nagios/plugins/check_dell_omreport.pl
> OK: Controller0=Ok/Ready [ Battery0=Ok/Ready Vdisk0=Ok/Ready [
> 0:0:0=Ok/Online 0:0:1=Ok/Online ] ]

Not a valid test. Nagios isn't running the plugin as root. Try running
it as the nagios user, I'll bet you see different, probably informative,
behavior.

--
Marc

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list