RE [hobbit] Database test: dbcheck.pl on deadcat and sourceforge

thomas.seglard.enata at cnp.fr thomas.seglard.enata at cnp.fr
Mon Aug 7 14:18:08 CEST 2006


Hello Francesco !

Thans for all your scripts and work ! It looks amazing... However I don't understand the way it works. Sorry.... I'm talking about the dbcheck test. Here are my questions :

- These scripts have to be executed on the hobbit server or on Hobbit 
clients ?
- In both cases,  have we to setup hobbitlaunch.cfg or clientlaunch.cfg to run the check ?
- I'm running Hobbit v4.1.2p1 and when launching dbcheck.pl I got this 
output : 

        [hobbit at psu155 ext]$ ./dbcheck.pl 
        Use of uninitialized value in concatenation (.) or string at 
./dbcheck.pl line 806.
        Use of uninitialized value in concatenation (.) or string at 
./dbcheck.pl line 78.
        Could not open the disabled hosts directory: No such file or 
directory
        Could not close the DISABLED directory handle: No such file or 
director

 I commented out corresponding lines and these warnings disappear.

Thanks again for all your hard work !
Best regards,

Thomas

"Francesco Duranti" <fduranti at q8.it> a écrit sur 06/08/2006 18:44:15 :

> Hello all, 
> I've just released the first version of a perl script to check
> oracle/informix/sqlserver databases.
> It can be found on deadcat and at
> http://sourceforge.net/projects/hobbit-perl-cl/
> 
> This perl script will get data from the Database Server using DBI/DBD
> Perl Library. 
> At this moment it will work with SQLServer,Oracle and Informix (I will
> add mysql in the near future). 
> For sqlserver and informix for now only connection and database space
> are checked. For oracle there are many tests done (mostly the same as
> the bb-roracle.ksh + some custom ones):Connection, Audit table report,
> Tablespace, Extent, PinLib/HitCache, Memory Request, Invalid Objects,
> Rollback, Locks, Sessions and Processes. 
> The program was fully tested under Hobbit but should work also on BB. 
> The tests are not done if the connection test is failing. Sessions and
> Cache statistics are also gathered for graphs by hobbit.
> 
> Thanks all :D
> 
> Francesco
> 
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
> 
> 



Ce message (et toutes ses pieces jointes eventuelles) est confidentiel et etabli a l'intention exclusive de ses destinataires.
Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est
interdite, sauf autorisation expresse.
L'internet ne permettant pas d'assurer l'integrite de ce message, CNP Assurances et ses filiales declinent toute responsabilite
au titre de ce message, s'il a ete altere, deforme ou falsifie.

*****

This message and any attachments (the "message") are confidential and intended solely for the addressees.
Any unauthorised use or dissemination is prohibited.
E-mails are susceptible to alteration.
Neither CNP Assurances nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified.




More information about the Xymon mailing list