What do you have in your tnsnames.ora file for the database you are trying to connect to?<br><br><a href="http://www.orafaq.com/wiki/Tnsnames.ora">http://www.orafaq.com/wiki/Tnsnames.ora</a><br><a href="http://docs.oracle.com/cd/B28359_01/network.111/b28317/tnsnames.htm">http://docs.oracle.com/cd/B28359_01/network.111/b28317/tnsnames.htm</a><br>
<br>Steve<br><br><br><div class="gmail_quote">On 25 January 2013 02:08, Yu Watanabe <span dir="ltr"><<a href="mailto:yu.watanabe@jp.fujitsu.com" target="_blank">yu.watanabe@jp.fujitsu.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all.<br>
<br>
I have some trouble executing check_oracle_health. It would be helpful if someone can help me out.<br>
<br>
I have successfully compiled both ORACLE DBD and check_oracle_health on a nagios server.<br>
And as a test , I am trying to execute tnsping to the remote oracle server.<br>
<br>
Whenever I execute the plugin , I get the follwoing error.<br>
<br>
check_oracle_health --connect=xe --user=system --password=root --mode=connection-time<br>
CRITICAL - cannot connect to xe. ORA-12154: TNS:could not resolve the connect identifier specified (DBD ERROR: OCIServerAttach)<br>
<br>
The error it self is obvious that its because remote ip address is not defined.<br>
<br>
Does anyone know where can you defien the info about address or hostname?<br>
<br>
Thanks,<br>
Yu<br>
<br>
<br>
------------------------------------------------------------------------------<br>
Master Visual Studio, SharePoint, SQL, <a href="http://ASP.NET" target="_blank">ASP.NET</a>, C# 2012, HTML5, CSS,<br>
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current<br>
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft<br>
MVPs and experts. ON SALE this month only -- learn more at:<br>
<a href="http://p.sf.net/sfu/learnnow-d2d" target="_blank">http://p.sf.net/sfu/learnnow-d2d</a><br>
_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br>
</blockquote></div><br>