New version of beastat.pl netapp.pl and dbcheck.pl
Hi all... Those are just released on sourceforge at http://sourceforge.net/projects/hobbit-perl-cl/
Those are the Changelog:
Beastat.pl v1.02
1.00
- Initial Release 1.01
- Display timing information at the bottom of the test
- Updated some check for environment variable and put a defbbvar in the perl file for the default BBVAR directory.
- $debug=1 will not report all the message to the standard output. If you want the entire content of message while debugging use $debug=2
- Changed the location of .cfg and .key file. Now they go in a directory called "beastat.pw" into the etc directory. You have to manually move the files into that directory if you are using the encrypted authentication.
- Added an option to change the domain part of the name reported to bb/hobbit during the configuration(see README).
- Change the Multithreading code. MultiThread = 0 (sequential run), = 1 (run as much process as the number of wls domains to test and wait the for the last one to exit), = n (with n>1, run a maximum of n different thread in parallel) 1.02
- Changed the check of TEST in bb-hosts to open the file for BB standard client instead of using a grep that could not workwith some OS.
- Changed how data are read from the java client to understand better multiline on some errors or fields
- Changed "<text>" into the message read from the java client into "-text-" because they'll not displayed by hobbit
- Solved a bug with Attribute checking that was reporting errors in some conditions on the Health field
- Changed the code to reformat data with word wrap using Text::Wrap
- Added a "---- Full Status Report ----" line before reporting full data (useful to get data and report them in rrd files)
- Added a flag to beastat.pl to choose between using bbhostgrep (preferred) or reading directly the bb-hosts file.
- Corrected some bugs related to the "notest" setting for single tests
- Added the possibility to include files in the configuration with a include parameters in the ini file (more info in the beastat.ini file)
Netapp.pl v1.05
- Initial Release 1.00
- Corrected the launch of the bbhostgrep or grep command (bbhostgrep was always launched)
- Check for the rsh command to work on the filer (return clear tests if it don't work)
- Report Filer version in cpu column 1.01
- Corrected various condition where the script will exit without examining other hosts (if one host is down and after reporting error on the first host in not MULTITHREADING running)
- Added graphs for temperature from environment in a separate column
- Corrected the false reporting of "information condition" as error in the environment
- Changed the quotas report to report volume directory on the left side and users on the right side.
- Don't execute snap delta on data ontap version < 7.0
- If we are running Hobbit execute it with "bb hostname @" passing all data via stdin
- Corrected a bug reporting data for CIFS with data ontap version < 7.0
- Changed some logic in the snapshot/inode/disk check and corrected some reporting bugs
- Added default in the perl code to prevent errors for new columns added without change to the config file
- Added check to sysconfig report for: spare disks not zeroed, no spare disk available, disk in prefail
- state, disk failed (sysconfig -r and sysconfig -d), misconfiguration (sysreport -c)
- Some bug fix on various functions 1.02
- Added check for snapmirror volume state 1.03
- Display timing information at the bottom of the test
- Updated some check for environment variable and put a defbbvar in the perl file for the default BBVAR directory.
- $debug=1 will not report all the message to the standard output. If you want the entire content of message while debugging use $debug=2
- Renamed the default configuration file from filerstats2bb.ini to netapp.ini you need to manually rename it before launching the new version of netapp.pl script
- Change the Multithreading code. MultiThread = 0 (sequential run), = 1 (run as much process as the number of filers to test and wait the for the last one to exit), = n (with n>1, run a maximum of n different thread in parallel) 1.04
- netapp.ini file was missing from the distribution 1.05
- Changed the check of TEST in bb-hosts to open the file for BB standard client instead of using a grep that could not work with some OS.
- Added a flag to netapp.pl to choose between using bbhostgrep (preferred) or reading directly the bb-hosts file.
- Change to disk/inode/snapshot/qtree check to accept absolute free diskspace/free inode number instead of the % used. Check the netapp.ini file for instruction
- Change to statistics check (sometimes they got errors if the command could not finish correctly)
- Added a check for duplicate quota entry
- Corrected some problems with environment check and SATA shelf reported as errors
- Corrected some bugs related to the "notest" setting for single tests
- Added the possibility to include files in the configuration with a include parameters in the ini file (more info in the netapp.ini file)
Dbcheck.pl v1.03
1.00
- Initial Release 1.01
- Corrected a condition when if the dbtype was not defined the program will exit without further tests
- The rollback check are now performed normally
- Corrected a problem with Oracle rowcache reporting
- Display timing information at the bottom of the test 1.02
- Updated some check for environment variable and put a defbbvar in the perl file for the default BBVAR directory.
- Updated the extent check. I was using the wrong column name so the check was wrong.
- $debug=1 will not report all the message to the standard output. If you want the entire content of message while debugging use $debug=2
- Change the Multithreading code. MultiThread = 0 (sequential run), = 1 (run as much process as the number of database to test and wait the for the last one to exit), = n (with n>1, run a maximum of n different thread in parallel) 1.03
- Changed the check of TEST in bb-hosts to open the file for BB standard client instead of using a grep that could not workwith some OS.
- Added a flag to dbcheck.pl to choose between using bbhostgrep (preferred) or reading directly the bb-hosts file.
- Lock check is now using gv$ tables to comply with RAC check
- Change to invalid object check: there are now 2 parameters, invobjwarn and invobjignore. Those ara a list of ";" separated list of "type:user:object" to check. If the object are matched by invobjwarn they're reported as yellow warning, if they're matched by invobjignore they're reported as green.
- Change to Tablespace check and parameters to accept absolute value (followed by k/m/g/t) instead of the % used. Check thedbcheck.ini file for instructions
- Added the possibility to send all data regarding an instance in a single column instead of multiple column or to send thesingle and the multiple check. Check the dbcheck.ini file for instructions
- Add of Request Failed and Last Request Failed Size to the data reported via MemReq
- Add a parameters in the ini file to check GV$ tables for RAC instead of V$ tables to get data about locks, processes and sessions. Check dbcheck.ini and README for more information about RAC check.
- Added some delay to medium (20 seconds) and slow (40 seconds) check before running them to avoid double data reporting tohobbit for rrd complaining about double data reporting.
- Added a detail regarding SessionID and Object Locked in the locks check for Oracle
- Corrected some bugs related to the "notest" setting for single tests
- Added the possibility to include files in the configuration with a include parameters in the ini file (more info in the dbcheck.ini file)
- Added lifetime of test in the last line of test output
Francesco
Hello,
I got a strange behaviour on a server with solaris 7, I got this output when I launch client :
$ ./runclient.sh start Hobbit client for sunos started on edsvideo $ ps -efd|grep hobbit hobbit 21806 21805 0 11:46:21 ? 0:00 /usr/lib/sa/sadc 300 2 hobbit 21898 21897 0 11:46:24 ? 0:00 vmstat 300 2 hobbit 21780 1 0 11:46:20 ? 0:00 /opt/hobbit/client/bin/hobbitlaunch --config=/opt/hobbit/client/etc/clientlaunc hobbit 21785 21780 0 0:00 <defunct> hobbit 21781 21780 0 0:00 <defunct> hobbit 21784 21780 0 0:00 <defunct> hobbit 21787 21780 0 0:00 <defunct> hobbit 21783 21780 0 11:46:20 ? 0:00 /usr/bin/sh /opt/hobbit/client/ext/bb-sar.sh hobbit 21897 1 0 11:46:24 ? 0:00 sh -c vmstat 300 2 1>/opt/hobbit/client/tmp/hobbit_vmstat.edsvideo.21811 2>&1; hobbit 21904 21903 0 11:46:24 ? 0:00 iostat -c 300 2 hobbit 21903 1 0 11:46:24 ? 0:00 sh -c iostat -c 300 2 1>/opt/hobbit/client/tmp/hobbit_iostatcpu.edsvideo.21811 hobbit 15431 15421 0 10:51:57 pts/2 0:00 -ksh hobbit 21805 21783 0 11:46:21 ? 0:00 /usr/bin/sar -A -o /opt/hobbit/client/tmp/sar.21783 300 1 hobbit 21786 21780 0 0:00 <defunct> hobbit 21782 21780 0 0:01 <defunct>
Few minutes later, I got this :
$ ps -efd|grep hobbit hobbit 21780 1 0 11:46:20 ? 0:00 /opt/hobbit/client/bin/hobbitlaunch --config=/opt/hobbit/client/etc/clientlaunc hobbit 21785 21780 0 0:00 <defunct> hobbit 21781 21780 0 0:00 <defunct> hobbit 21784 21780 0 0:00 <defunct> hobbit 21787 21780 0 0:00 <defunct> hobbit 21783 21780 0 0:00 <defunct> hobbit 15431 15421 0 10:51:57 pts/2 0:00 -ksh hobbit 21786 21780 0 0:00 <defunct> hobbit 21782 21780 0 0:01 <defunct>
Thus, nothing is graphed on hobbit server and all tests are purple. I got several servers with solaris 7 and everything goes fine on these, so I'm just posting here to know if someone got this problem too. Sincerly,
Thomas
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.
Francesco Duranti wrote:
Those are just released on sourceforge at http://sourceforge.net/projects/hobbit-perl-cl/
Netapp.pl v1.05
This is a great script! I've been using a modified version of filerstats2bb for sometime, and I'm in the process of switching to netapp.pl instead. THe ability to track NFS ops is worth the upgrade alone, even though I haven't been able to get that to work just yet?
I was going to try and get the snapshot column to display graphs, so if I get that working I'll pass it along.
Is there an easy way to disable some of the tests, such as quotas and cifs?
Tom
participants (3)
-
fduranti@q8.it
-
thomas.seglard.enata@cnp.fr
-
tomg@mcclatchyinteractive.com