Page 1 of 1

Oracle plugin tablespaces

Posted: Wed Jun 26, 2013 7:11 am
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.

Re: Oracle plugin tablespaces

Posted: Wed Jun 26, 2013 9:37 am
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

Re: Oracle plugin tablespaces

Posted: Wed Jun 26, 2013 9:40 am
by slansing
Hmm, you must have bypassed using a listener. Thanks for letting us know it was resolved.