check_oracle

kumar s k kumar_ks_00 at rediffmail.com
Tue Nov 2 14:12:50 CET 2004


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

i added below mentioned in remote server nepe.cfg. 

command[check_oralogin]=ORACLE_HOME=/oracle/ora92; export ORACLE_HOME; TNS_ADMIN=/oracle/ora92/network/admin; export TNS_ADMIN; /usr/local/nagios/libexec/check_oracle --login MY_SID_NAME

i added in services.cfg in my nagios server

check_command    check_nrpe!check_oralogin

i got the same error message 

Cannot determine ORACLE_HOME for sid MY_SID_NAME.

rgds,
kumar




On Tue, 02 Nov 2004 Phil Costelloe wrote :
>Phil Costelloe wrote:
> > command[check_oralogin=ORACLE_HOME=/apps/oracle/product/8.1.7; export
> > ORACLE_HOME; PATH=$PATH:/apps/oracle/product/8.1.7/bin; export PATH;
> > TNS_ADMIN=/apps/oracle/admin/network; export TNS_ADMIN;
> > /opt/nagios/libexec/check_oracle --login YOUR_SID_NAME
>
>There's a missing bracket in there, it should have been:
>
>command[check_oralogin]=ORACLE_HOME=/apps/oracle/product/8.1.7; export
>ORACLE_HOME; PATH=$PATH:/apps/oracle/product/8.1.7/bin; export PATH;
>TNS_ADMIN=/apps/oracle/admin/network; export TNS_ADMIN;
>/opt/nagios/libexec/check_oracle --login YOUR_SID_NAME
>
>Phil
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by:
>Sybase ASE Linux Express Edition - download now for FREE
>LinuxWorld Reader's Choice Award Winner for best database on Linux.
>http://ads.osdn.com/?ad_idU88&alloc_id065&opick
>_______________________________________________
>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