Page 1 of 1

problem installing check_oracle_health

Posted: Tue Jan 24, 2012 1:03 pm
by sabirkk
:
problem installing check_oracle_health


I have installed oracle plugin for NAGIOS XI , but getting following error .


We also have installed oracle client and exported following on NAGIOS Server

export LD_LIBRARY_PATH="/usr/lib/oracle/11.2/client64/lib"
export ORACLE_HOME="/usr/lib/oracle/11.2/client64"
export TNS_ADMIN="/usr/lib/oracle/11.2/client64/network/admin"





/check_oracle_health --connect "10.13.10.112" --username system --password "syspass" --name testdb --mode tablespace-usage

CRITICAL - cannot connect to 10.130.10.112. ORA-12541: TNS:no listener (DBD ERROR: OCIServerAttach)


any comments.....

Re: problem installing check_oracle_health

Posted: Tue Jan 24, 2012 1:19 pm
by scottwilkerson
Do you have the listener setup correct for Oracle? there is a document here
https://forums.oracle.com/forums/thread ... dID=327006

describing similar situation