check_oracle

kumar s k kumar_ks_00 at rediffmail.com
Sat Oct 30 14:48:24 CEST 2004


An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20041030/97518a0f/attachment.html>
-------------- next part --------------
hi,

i mentioned ORACLE_HOME and ORACLE_SID in nagios profile on remote server (ORACLE SERVER). But when run the command from Nagios server i got the error messeage.

command: ./check_nrpe -H ORACLE SERVER -p 5666 -c check_oracle

error : cannot determine ORACLE_HOME for sid DATABASE SID

so pl. help me out.

rgds,
kumar


On Fri, 29 Oct 2004 Sean Leach wrote :
>Make sure the user that nrpe is running under (usually nrpe or nagios) has ORACLE_HOME defined in the environment (echo $ORACLE_HOME)
>
>
>
>kumar s k wrote:
>>   hi,  
>>My remote server nrpe is configured as this in nrpe.cfg  command[check_oracle]=/usr/local/nagios/libexec/check_oracle --db <database name>  I run this below command on nagios server  check_nrpe -H host -p 5666 -c check_oracle   error : cannot determine ORACLE_HOME for sid database name  if I run check_oracle --db database name  it's working on remote server but I don't know how to use with nrpe.
>>
>>pl. help me out 	  rgds, Kumar
>>
>>




More information about the Users mailing list