ORACLE instance and CHECK_NRPE: No output returned from daemon

David Mansfield nagios at dm.cobite.com
Tue Apr 4 21:46:57 CEST 2006



Jason Martin wrote:
> On Tue, Apr 04, 2006 at 05:07:08PM +0100, Sandeep Narasimha Murthy wrote:
>> My command is invoking a script which verifies the state of an Oracle instance. My problem is when I invoke this command, I get a 
>> CHECK_NRPE: No output returned from daemon   Error. The problem has to be with invoking this script because if I substitute the code in the script with just an echo, it works fine.
>>
>> I tried implementing what I had posted below earlier on but it doesn't work in this case.
> Does the NRPE user have privileges to execute the script? Does
> the script load all of its environmental dependencies (there is
> no .profile loaded under NRPE)?
> 

I would tend to second the 'check your environment variables' 
suggestion.  Oracle (and binaries linked to oracle, include DBI::Perl 
etc). usually requires at least the following env. vars set to function):

ORACLE_SID
ORACLE_HOME
LD_LIBRARY_PATH

Good luck,
David


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
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