Hi,
I have tried to configured Oracle database using Oracle Serverspace wizard. I'm getting the following error when configured.
CRITICAL - cannot connect to 172.17.43.94:1521/contorl1. ORA-12514: TNS:listener does not currently know of service requested in connect descriptor (DBD ERROR: OCIServerAttach)
Any help regarding this ?
Monitoring Oracle Database-facing problem
-
nagiostool
- Posts: 72
- Joined: Wed Jul 20, 2011 2:17 am
Re: Monitoring Oracle Database-facing problem
i have tried to execute the below command from Nagios XI server command line but got as Cannot determine ORACLE_HOME for sid <sid>
/usr/local/nagios/libexec/check_oracle --tns <sid>
/usr/local/nagios/libexec/check_oracle --tns <sid>
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Monitoring Oracle Database-facing problem
Please see this guide
You will see you need to add the variables to the path such as
Code: Select all
http://assets.nagios.com/downloads/nagiosxi/docs/Oracle_Plugin_Installation.pdfCode: Select all
/usr/bin/env ORACLE_HOME=/usr/lib/oracle/11.2/client LD_LIBRARY_PATH=/usr/lib/oracle/11.2/client/lib /usr/local/nagios/libexec/check_oracle --tns <sid>-
nagiostool
- Posts: 72
- Joined: Wed Jul 20, 2011 2:17 am
Re: Monitoring Oracle Database-facing problem
I'm getting the same error.
I have a doubt, should we install the Oracle Version which we need to monitor or the latest Oracle Version ?
I have a doubt, should we install the Oracle Version which we need to monitor or the latest Oracle Version ?
Re: Monitoring Oracle Database-facing problem
What is the full command you are attempting to use for the check?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.