Xymon Mailing List Archive search

Monitoring SQL

list Darren Cotton
Fri, 14 Dec 2007 10:02:30 +0100
Message-Id: <user-0ccfc65fe254@xymon.invalid>

Bert,

For myself I also had to install the oracle instantclient (with the sqlplus
bit also) as I have addition sql queries running on my box.

Therefore If I am reading it right I think it may mean that your
ORACLE_HOME variable is simply not set. In my config /etc/profile I have
the following entries (oracle related):

export ORACLE_HOME=/usr/lib/oracle/10.2.0.3/client
export ORACLE_BASE=/usr/lib/oracle/10.2.0.3
export LD_LIBRARY_PATH=/usr/lib/oracle/10.2.0.3/client/lib
export LD_RUN_PATH=/usr/lib/oracle/10.2.0.3/client
export TNS_ADMIN=/usr/lib/oracle/10.2.0.3/client/network/admin

Obviously you should replace the path of the local oracle installation with
those of yours.

Check if that helps...

Darren Cotton


             "Klomp, H."                                                   
             <user-b644cde19b47@xymon.invalid>                                               
                                                                        To 
             14/12/2007 09:15          "'user-ae9b8668bcde@xymon.invalid'" <user-ae9b8668bcde@xymon.invalid> 
                                                                        cc 
                                                                           
             Please respond to                                     Subject 
              user-ae9b8668bcde@xymon.invalid           RE: [hobbit] Monitoring SQL         
                                                                           
                                                                           
With only the dbcheck.pl I get the message that dbcheck can't find the
oraclehome directory.
According to our oracle dba I need a local part of oracle to be able to
send commands to the database.


I will try to install the orcaleinstantclient and the install the perl
DBD::Oracle module.
Just installing the perl module also generates the message that the
oraclehome is not found.

I have to wait for our Oracle DBA to continue testing but keep you all
informed.

Thanks for the tips you send so far.

Regards,

Bert Klomp


-----Original Message-----
From: L.M.J [mailto:user-78bb6d5d9024@xymon.invalid]
Sent: donderdag 13 december 2007 18:19
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Monitoring SQL

Le Thu, 13 Dec 2007 17:43:19 +0200,
Buchan Milne <user-9b139aff4dec@xymon.invalid> a écrit :
On Monday 10 December 2007 10:04:37 Klomp, H. wrote:
Dear Buchan,

Sorry for the inconvenience. I forgot to mention our Operating system.

The Hobbit server is running on Redhat Enterprise Server.
Oracle is also running on a RedHat Linux system.

I hope this is enough information for you to be able to help me in
pointing
out what I need to install to get dbcheck.pl running for Oracle.
If the Hobbit server is on the same server as the Oracle server, I think
you
just need perl DBD::Oracle. If not, you need to install the
oracleinstantclient rpm on the Hobbit server, then perl DBD::Oracle. I
think
freshrpms.net has a perl-DBD-Oracle package.

Ryan, the OS of the Oracle server is irrelevant, only the OS of the
Hobbit
server is relevant.

Regards,
Buchan
I *think* (check out the README files in dbcheck.pl) you don't need any
client to check databases nor
tnsnames.ora


DISCLAIMER: 
This e-mail contains proprietary information some or all of which may be legally privileged. It is for the intended recipient only. If an addressing or transmission error has misdirected this e-mail, please notify the author by replying to this e-mail. If you are not the intended recipient you must not use, disclose, distribute, copy, print, or rely on this e-mail.