[Nagiosplug-help] "check_nrpe -H 10.x.x.x -c check_ora_tns" ----> "ERROR: CANNOT DETERMINE ORACLE_HOME FOR SID xxxxx"
Vonnahme, Nathan
nathan.vonnahme at bannerhealth.com
Tue Apr 1 00:55:57 CEST 2008
Why do you have redundant "export" statements?
On the remote machine, try manually running the check with a blank
enviroinment, e.g.
env - /usr/local/nagios/libexec/check_oracle --tns DBPRD
From: nagiosplug-help-bounces at lists.sourceforge.net
[mailto:nagiosplug-help-bounces at lists.sourceforge.net] On Behalf Of
Justin Amburn
Sent: Thursday, March 27, 2008 8:47 PM
To: nagiosplug-help at lists.sourceforge.net
Subject: [Nagiosplug-help] "check_nrpe -H 10.x.x.x -c check_ora_tns"
----> "ERROR: CANNOT DETERMINE ORACLE_HOME FOR SID xxxxx"
In the beginning of the check_oracle script I added:
export PATH=$PATH:/u1/apps/oracle/product/10.2.0/bin;export PATH
export ORACLE_HOME=/u1/apps/oracle/product/10.2.0;export ORACLE_HOME
export ORACLE_SID=BABYCPRD;export ORACLE_SID
ORACLE_BASE=/u1/apps/oracle
What am I doing wrong???
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20080331/8c6ccdef/attachment.html>
More information about the Help
mailing list