New version of beastat.pl netapp.pl and dbcheck.pl
Francesco Duranti
fduranti at q8.it
Wed Aug 23 00:19:43 CEST 2006
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
More information about the Xymon
mailing list