check_oracle
Phil Costelloe
philc at foundation-it.com
Tue Nov 2 10:41:05 CET 2004
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&op=click
_______________________________________________
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