Hi

> 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 ] ]
> 
> But when i run it from the Nagios server machine, it won't works :(
> 
> morfeorz:~# /usr/lib/nagios/plugins/check_nrpe -H 192.168.2.3 -c check_raid
> 
> STORAGE: UNKNOWN

Sounds like a permission problem.
NRPE Server run scripts with permitions of the user specified in
nrpe.conf

Try to run the script as that user on the mashine.
If it fails try to find out wich permissions are missing.

Regards
Sebastian Ries

-- 
------------------------------------------------------------
DT Netsolution GmbH -  Talaeckerstr. 30 -  D-70437 Stuttgart
Tel: +49-711-849910-36               Fax: +49-711-849910-936
WEB: http://www.dtnet.de/     email: [EMAIL PROTECTED]

-------------------------------------------------------------------------
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
[email protected]
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

Reply via email to