<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Do yo have ORACLE_LIB?<br>
    <br>
    #echo $ORACLE_LIB<br>
    <br>
    On 11/17/2011 04:20 PM, Dermot Duffy wrote:
    <blockquote
cite="mid:0B0CA225A9EAE8468E80AA7A88992CFE043E498A@pemexmbx12.hosting.local"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft Word 14 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        color:black;
        mso-fareast-language:EN-US;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;
        mso-fareast-language:EN-US;}
span.EmailStyle22
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span style="color:#1F497D">Hi,<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">Thanks for the
            feedback but it unfortunately makes no difference…..<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"># ln -s
            /usr/local/instantclient_10_2/libsqlplus.so
            /usr/lib/libsqlplus.so<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">#<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"># sqlplus </span>username/passowrd@ip_address:port/SSID<span
            style="color:#1F497D"><o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">sqlplus: error
            while loading shared libraries: libclntsh.so.11.1: cannot
            open shared object file: No such file or directory<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">You have new
            mail in /var/spool/mail/root<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
        <div>
          <div style="border:none;border-top:solid #B5C4DF
            1.0pt;padding:3.0pt 0cm 0cm 0cm">
            <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext;mso-fareast-language:EN-IE"
                  lang="EN-US">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext;mso-fareast-language:EN-IE"
                lang="EN-US"> Ismael Puerto
                [<a class="moz-txt-link-freetext" href="mailto:ismael.puerto@seres.es">mailto:ismael.puerto@seres.es</a>] <br>
                <b>Sent:</b> 17 November 2011 14:56<br>
                <b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net</a><br>
                <b>Subject:</b> Re: [Nagios-users] Oracle plugin<o:p></o:p></span></p>
          </div>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">ln
          -s/usr/local/instantclient_10_2/libsqlplus.so
          /usr/lib/libsqlplus.so<br>
          <br>
          On 11/17/2011 03:16 PM, Dermot Duffy wrote: <o:p></o:p></p>
        <p class="MsoNormal">Hi,<o:p></o:p></p>
        <p class="MsoNormal"> <o:p></o:p></p>
        <p class="MsoNormal">I have installed the
          “check_oracle_instance” plugin but I am having some issues
          with sqlplus.<o:p></o:p></p>
        <p class="MsoNormal"> <o:p></o:p></p>
        <p class="MsoNormal"><a moz-do-not-send="true"
href="http://exchange.nagios.org/directory/Plugins/Databases/Oracle/Check-Oracle-status-%26-health-without-install-Oracle-client/details">http://exchange.nagios.org/directory/Plugins/Databases/Oracle/Check-Oracle-status-%26-health-without-install-Oracle-client/details</a><o:p></o:p></p>
        <p class="MsoNormal"> <o:p></o:p></p>
        <p class="MsoNormal">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:<o:p></o:p></p>
        <p class="MsoNormal"> <o:p></o:p></p>
        <p class="MsoNormal"># which sqlplus<o:p></o:p></p>
        <p class="MsoNormal">/usr/bin/sqlplus<o:p></o:p></p>
        <p class="MsoNormal"> <o:p></o:p></p>
        <p class="MsoNormal"># sqlplus
          username/passowrd@ip_address:port/SSID                  
          #substituted with my own credentials<o:p></o:p></p>
        <p class="MsoNormal">sqlplus: error while loading shared
          libraries: libsqlplus.so: cannot open shared object file: No
          such file or directory<o:p></o:p></p>
        <p class="MsoNormal">You have new mail in /var/spool/mail/root<o:p></o:p></p>
        <p class="MsoNormal"> <o:p></o:p></p>
        <p class="MsoNormal">The lib is available:<o:p></o:p></p>
        <p class="MsoNormal"># find / -name libsqlplus.so<o:p></o:p></p>
        <p class="MsoNormal">/usr/local/instantclient_10_2/libsqlplus.so<o:p></o:p></p>
        <p class="MsoNormal"> <o:p></o:p></p>
        <p class="MsoNormal"># ll
          /usr/local/instantclient_10_2/libsqlplus.so<o:p></o:p></p>
        <p class="MsoNormal">-rwxrwxrwx 1 root root 865995 Nov 17 12:05
          /usr/local/instantclient_10_2/libsqlplus.so<o:p></o:p></p>
        <p class="MsoNormal"> <o:p></o:p></p>
        <p class="MsoNormal">Any ideas how I can resolve this?<o:p></o:p></p>
        <p class="MsoNormal"> <o:p></o:p></p>
        <p class="MsoNormal">R,<o:p></o:p></p>
        <p class="MsoNormal">D.<o:p></o:p></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-IE"> </span><o:p></o:p></p>
        <p class="MsoNormal"> <o:p></o:p></p>
        <p class="MsoNormal"><span
            style="font-size:12.0pt;font-family:"Times New
            Roman","serif";mso-fareast-language:EN-IE"><br>
            <br>
            <br>
            <o:p></o:p></span></p>
        <pre>------------------------------------------------------------------------------<o:p></o:p></pre>
        <pre>All the data continuously generated in your IT infrastructure <o:p></o:p></pre>
        <pre>contains a definitive record of customers, application performance, <o:p></o:p></pre>
        <pre>security threats, fraudulent activity, and more. Splunk takes this <o:p></o:p></pre>
        <pre>data and makes sense of it. IT sense. And common sense.<o:p></o:p></pre>
        <pre><a moz-do-not-send="true" href="http://p.sf.net/sfu/splunk-novd2d">http://p.sf.net/sfu/splunk-novd2d</a><o:p></o:p></pre>
        <p class="MsoNormal"><span
            style="font-size:12.0pt;font-family:"Times New
            Roman","serif";mso-fareast-language:EN-IE"><br>
            <br>
            <br>
            <o:p></o:p></span></p>
        <pre>_______________________________________________<o:p></o:p></pre>
        <pre>Nagios-users mailing list<o:p></o:p></pre>
        <pre><a moz-do-not-send="true" href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><o:p></o:p></pre>
        <pre><a moz-do-not-send="true" href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><o:p></o:p></pre>
        <pre>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. <o:p></o:p></pre>
        <pre>::: Messages without supporting info will risk being sent to /dev/null<o:p></o:p></pre>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">------------------------------------------------------------------------------
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.
<a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/splunk-novd2d">http://p.sf.net/sfu/splunk-novd2d</a></pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Nagios-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null</pre>
    </blockquote>
  </body>
</html>