> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Daniel Bareiro
> Sent: Monday, December 03, 2007 3:06 PM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] check_oracle fails executing with nrpe
> 
> Hi all!
> 
> I've some problems executing check_oracle plugin via check_nrpe.
> 
> In the Oracle server:
> 
> sdptest:/usr/local/nagios/etc# cat /usr/local/nagios/etc/nrpe.cfg | \
> grep check_sysaux
> command[check_sysaux]=/usr/local/nagios/libexec/check_oracle
> --tablespace xxxxx yyyyy zzzzz SYSAUX 90 80
> 
> sdptest:/usr/local/nagios/etc# /usr/local/nagios/libexec/check_oracle
\
> --tablespace xxxxx yyyyy zzzzz SYSAUX 90 80
> 
> xxxxx : SYSAUX OK - 40.50% used [ 476 / 800 MB available
> ]|SYSAUX=40.50%;80;90;0;100

[chop]

> 
> Any idea to resolve this issue?

Yes, try running the above test as the user that NRPE runs as. It's
almost certainly not root and doesn't have root environment or privs.

--
Marc

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Nagios-users mailing list
Nagios-users@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

Reply via email to