check_oracle fails executing with nrpe
Marc Powell
marc at ena.com
Mon Dec 3 22:22:03 CET 2007
> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Daniel Bareiro
> Sent: Monday, December 03, 2007 3:06 PM
> To: nagios-users at 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 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