Agent query to Oracle
-
Hello,
I am trying to configure the agent to perform a query with DBQuery on an Oracle database.
I must connect to Oracle with TNS name, and it works fine with sqlplus, but the agent allways gives the error:
ORA-12154: TNS:could not resolve the connect identifier specified
I'm running NetXMS on ubuntu server with mysql database, but I need to run queries on an Oracle database.
I allready do it in another setup I have in windows, but through ODBC.
Best regards.
Can you please show me some way to do it?
-
Hi,
try to use connect string in form //server_address/SID instead of TNS name.
Best regards,
Victor -
-
It should be able to use TNS names. Most likely it's client configuration or environment issue. Can you check what Oracle client is used by oracle.ddr?
Best regards,
Victor -
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login