This is my first posting. I've installed and configured nagios without any problem. I do even monitoring remote hosts fine with nrpe plug-in. It checks well and gives the accurate output. I have problems with check_oracle plug in.
ex, localbo:evil:testln:evil: where nagios server is running
remotebo:evil:oradb) where oracle server running with nrpe add ons installed.
I am doing this on localbox,
[nagios@testlnx libexec]$ /home/nagios/nagios/libexec/check_nrpe -H 10.192.2.239 -c check_tns
No TNS Listener on playdb1
in remote machine, nrpe.cfg contains
command[check_tns]=/usr/local/nagios/libexec/check_oracle --tns playdb1
this command works on remote machine well,
[nagios@oradb libexec]$ /usr/local/nagios/libexec/check_oracle --tns playdb1
OK - reply time 0 msec from playdb1
nagios user on remote machine well set ORACLE_HOME and also it can run sqlplus and tnsping commands fine.
can you please tell us where could be the problem?
thanks in advance