Oracle plugin tablespaces

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
cikoski
Posts: 13
Joined: Wed Sep 19, 2012 1:55 am

Oracle plugin tablespaces

Post by cikoski »

Hello,

I installed the oracle plugin in my nagios xi server, i had only a question..

How can i insert the SID on the service ??

$ARG1$ = --connect "172.x.x.x:11070" --username nagios --password "nagios" --name PRODADT_HIST --mode tablespace-usage --warning 90 --critical 98
I use this guide:

http://assets.nagios.com/downloads/nagi ... lation.pdf

The service output:

CRITICAL - cannot connect to 172.x.x.x:11070. ORA-12504: TNS:listener was not given the SERVICE_NAME in CONNECT_DATA (DBD ERROR: OCIServerAttach)

Thank you!

Federico.
You do not have the required permissions to view the files attached to this post.
cikoski
Posts: 13
Joined: Wed Sep 19, 2012 1:55 am

Re: Oracle plugin tablespaces

Post by cikoski »

I apparently solved with:

$ARG1$= --connect '(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=$HOSTADDRESS$)(PORT=11070))(CONNECT_DATA=(SID=MY_SID)))' --username nagios --password "nagios" --name PRODADT --mode tablespace-usage --warning 90 --critical 98
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Oracle plugin tablespaces

Post by slansing »

Hmm, you must have bypassed using a listener. Thanks for letting us know it was resolved.
Locked