Monitoring remote server oracle from nagios server using check_oracle_health

Yu Watanabe yu.watanabe at jp.fujitsu.com
Fri Jan 25 03:08:45 CET 2013


Hi all.

I have some trouble executing check_oracle_health. It would be helpful if someone can help me out.

I have successfully compiled both ORACLE DBD and check_oracle_health on a nagios server.
And as a test , I am trying to execute tnsping to the remote oracle server.

Whenever I execute the plugin , I get the follwoing error.

check_oracle_health --connect=xe --user=system --password=root --mode=connection-time
CRITICAL - cannot connect to xe. ORA-12154: TNS:could not resolve the connect identifier specified (DBD ERROR: OCIServerAttach)

The error it self is obvious that its because remote ip address is not defined.

Does anyone know where can you defien the info about address or hostname?

Thanks,
Yu


------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list