Oracle plugin

Ismael Puerto ismael.puerto at seres.es
Thu Nov 17 16:57:09 CET 2011


Do yo have ORACLE_LIB?

#echo $ORACLE_LIB

On 11/17/2011 04:20 PM, Dermot Duffy wrote:
>
> Hi,
>
>  
>
> Thanks for the feedback but it unfortunately makes no difference.....
>
>  
>
> # ln -s /usr/local/instantclient_10_2/libsqlplus.so /usr/lib/libsqlplus.so
>
> #
>
> # sqlplus username/passowrd at ip_address:port/SSID
>
> sqlplus: error while loading shared libraries: libclntsh.so.11.1:
> cannot open shared object file: No such file or directory
>
> You have new mail in /var/spool/mail/root
>
>  
>
>  
>
> *From:*Ismael Puerto [mailto:ismael.puerto at seres.es]
> *Sent:* 17 November 2011 14:56
> *To:* nagios-users at lists.sourceforge.net
> *Subject:* Re: [Nagios-users] Oracle plugin
>
>  
>
> ln -s/usr/local/instantclient_10_2/libsqlplus.so /usr/lib/libsqlplus.so
>
> On 11/17/2011 03:16 PM, Dermot Duffy wrote:
>
> Hi,
>
>  
>
> I have installed the "check_oracle_instance" plugin but I am having
> some issues with sqlplus.
>
>  
>
> http://exchange.nagios.org/directory/Plugins/Databases/Oracle/Check-Oracle-status-%26-health-without-install-Oracle-client/details
>
>  
>
> The nagios compiles correctly so the config is good however when I
> attempt to connect to the db via my nagios server I get the following:
>
>  
>
> # which sqlplus
>
> /usr/bin/sqlplus
>
>  
>
> # sqlplus username/passowrd at ip_address:port/SSID                  
> #substituted with my own credentials
>
> sqlplus: error while loading shared libraries: libsqlplus.so: cannot
> open shared object file: No such file or directory
>
> You have new mail in /var/spool/mail/root
>
>  
>
> The lib is available:
>
> # find / -name libsqlplus.so
>
> /usr/local/instantclient_10_2/libsqlplus.so
>
>  
>
> # ll /usr/local/instantclient_10_2/libsqlplus.so
>
> -rwxrwxrwx 1 root root 865995 Nov 17 12:05
> /usr/local/instantclient_10_2/libsqlplus.so
>
>  
>
> Any ideas how I can resolve this?
>
>  
>
> R,
>
> D.
>
>  
>
>  
>
>
>
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure 
> contains a definitive record of customers, application performance, 
> security threats, fraudulent activity, and more. Splunk takes this 
> data and makes sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-novd2d
>
>
>
>
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net <mailto: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
>
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure 
> contains a definitive record of customers, application performance, 
> security threats, fraudulent activity, and more. Splunk takes this 
> data and makes sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-novd2d
>
>
> _______________________________________________
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20111117/cc8a783f/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
-------------- next part --------------
_______________________________________________
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