Karma - Changelog
I've tried to keep track of version by version changes, and you'll find
most of them here.
- o karmaclientd runs as daemon
-
- o cleaned up some globals
-
- o finished web graphics
-
- o finished installation, configuraiton, quickstart guides
-
- o finished download website
-
- o First release
-
- o fixed so logging messages are not buffered until program quits
-
- o added mail notification routine (Thanks Dennis)
-
- o added signal handling (Thanks Mike)
-
- o added karmactl routine
-
- o added signal handlers for:
-
- - HUP reread config file
-
- - USR1 return status
-
- - TERM exit gracefully
-
- o revamped karma.conf
-
- - added preference groups
-
- - added warning and alert notification
-
- - added settings for blinking/noblinking icons
-
- o got email notification working fairly well
-
- o setup karma-user, karma-dev, karma-announce email lists
-
- o setup factory defaults (valid defauls if a service isn't specified
in karma.conf file)
-
- o if no karma.conf file but DBI_DSN, DBI_USER, DBI_PASS are set,
uses those, and monitors that database
-
- o replaced standard perl open and filehandles with new IO::File calls
-
- o got readConfig working on HUP signal
-
- o using new preference hierarchy (factory, default, and user defined)
-
- o services specified, but with no values use factory defaults
-
- o karmactl getting status via named pipe
-
- o karmad creates pid file while running
-
- o karmactl now looks for pid file to control running karmad
-
- o checking for Mail::Send package before using it
-
- o exit with useful message if DBI not installed
-
- o exit with useful message if DBD::Oracle not installed
-
- o reread config file from karmactl working
-
- o karmactl cleanup dynamic files option
-
- o karmactl stop option working
-
- o karmactl status has last updated times, service status
-
- o KARMA_HOME default location for karma.pid, karmafifo
-
- o added logfile to karmagentd
-
- o better error logging to karmagentd
-
- o fixed problem with notification and intervals
-
- o fixed problem time truncation problem (intervals)
-
- o karmagentd cleans up & exits with TERM signal
-
- o released
-
- o fixed time updating problems
-
- o handle autoextend datafiles (set to no_status)
-
- o karmactl status returns correct start time
-
- o added deftran queue monitoring
-
- o added deftran error monitoring
-
- o got repqueue, reperror working, info pages etc
-
- o finally got use strict working
-
- o created karma.pm for common code
-
- o added preference group sections on generated karma monitor page
-
- o on/off flag in config file
-
- o when multiple pref groups have different services enabled,
unmonitored services get "-" in table
-
- o karmactl -f forces a refresh of all monitored services against
all monitored databases
-
- o cleaned up pref_groups datastructures
-
- o bkgd karmad, karmagentd automatically with fork ()
-
- o fixed services updating after db shutdown
-
- o moved full/short option to email_notify config
-
- o cleaned up notification
-
- o created basic config file
-
- o added help pages for repqueue, reperror
-
- o created prefgroups config file
-
- o repqueue, reperror help files
-
- o credits.html, bugs.html docs
-
- o debugging with -d option
-
- o finds KARMA_HOME even after daemonize moves home dir to "/"
-
- o if KARMA_HOME directory can't be found, a message is logged
-
- o various Win32 fixes
-
- o calling Win32::IsWin95, Win32::IsWinNT
-
- o signal handling unix only
-
- o daemonize which uses fork () only called on unix
-
- o backgrounding job on Win32 (from karmactl) with system
("start perl karmad -opts");
-
- o handling delimiter '/' on unix, '\\' on Win32
-
- o cleaned up file/directory name setting code
-
- o converted all html and text documents to pod including
credits, todo, changelog, bugs, config, contribute,
futuredev, install, quickstart, readme, release, security,
license, and services
-
- o created a script to generate html and text docs in the
appropriate directories, MAJOR LABOR-SAVER
-
- o fixed up color contrast problems, using light-blue background,
black text
-
- o if no valid tnsnames are found, karma exits with message to logfile
-
- o fixed a major bug which was leaving the db handle screwed up after
the fork in daemonize... moved daemonize to earlier place in code
and also check dbh more often with ping, cleanup, and reconnect if
necessary. This forced me to add lots of checking, for valid $sth
statement handles, to add $sth->finish calls, and sprinkled
debugMessage calls throughout the code.
-
- o fixed bug when no karma.conf file found, and karma uses DBI_USER,
DBI_PASS, DBI_DSN...
-
- o added Makefile.PL, tested
-
- o info column titles moved to $main::titles at top
-
- o reviewed factory defaults
-
- o a tbsp with an autoextend datafile is always green
-
- o fixed bug with min_wakeup time (refresh interval)
-
- o handling karmagentd win32 conditions
-
- o karmagentd logging messages
-
- o karmagentd checking for valid dbh, sth, reconnecting when necessary
-
- o karmagentd handling term, hup signals
-
- o karmagentd handles reset alertlog (reread from beginning)
-
- o slowsql defaults to OK status
-
- o fixed problem where down DBs didn't respect unmonitored services
-
- o fixed misc "use of unitialized values" errors
-
- o karmagentd exits if can't find or open alert.log
-
- o cleaned up some "" where '' are better
-
- o fixed big email notification bug
-
- o blinking icons config directive fixed, warn_blink=[false|no|0],
alert_blink=[false|no|0], otherwise blinking icons are used
-
- o list of valid service names if debug_level = 2
-
- o karma returns error if ORACLE_HOME set to invalid directory
-
- o fragmentation checks only first 100 fragmented objs
-