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.
Oracle plugin tablespaces
Oracle plugin tablespaces
You do not have the required permissions to view the files attached to this post.
Re: Oracle plugin tablespaces
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
$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
Hmm, you must have bypassed using a listener. Thanks for letting us know it was resolved.