Version 4.0.4 is now available on SourceForge: https://sourceforge.net/project/showfiles.php?group_id=128058&release_id=330...
This fixes the bugs reported since Hobbit 4.0.3 was released.
The only new stuff in this release is a new "beastat" utility to collect performance statistics from an BEA Weblogic server via SNMP. This replaces the old "bea-snmpstats" script, and should work for sites with a large number of BEA instances per server. This is still somewhat experimental, but I am interested to hear reports of it working or not. (It's been tested with Weblogic ver. 8).
The Changelog is appended.
Regards, Henrik
Changes from 4.0.3 -> 4.0.4
Bugfixes:
- "nodisp" tag re-implemented for hosts that should not appear on the Hobbit webpages.
- Enabling the "apache" data collection could crash bbtest-net if the /server-status page returned was larger than 32 KB.
- The "bbcmd" tool would not pass a --debug option to the command it was running.
- Nested macros in hobbit-alerts.cfg were not working.
- Using TAB's in hobbit-alerts.cfg could confuse the alert module.
- hobbitd_alert's --test option now determines the page-name for a host automatically. It will also now accept a time-parameter to simulate how alerts are processed at specific time-of-day.
- Status messages from "dialup" hosts should not go purple.
- The "mailq" RRD handler would pick up the first number from the "requests" line, which might not be the right number.
- Scheduling a "disable" did not work.
- The startup-script was modified to correctly handle stale PID files left over from an unclean shutdown of Hobbit. These are now removed, and startup will proceed normally.
Improvements:
- CGI tools now log error-output to dedicated logs in /var/log/hobbit/
- The "bea-snmpstats.sh" script has been removed, and replaced with an enhanced tool "beastat". This collects statistics via SNMP from BEA Weblogic servers, and reports these via "data" messages to Hobbit. The data collected are run-time data for the JRockIT JVM and thread/memory utilization data from each Weblogic server instance.
- The "ntpstat" RRD handler now accepts the raw output from "ntpq -c rv"
- The heartbeat-timeout for hobbitd has been increased to 60 seconds.
Henrik Stoerner wrote on 29/05/2005 23:19:02:
Version 4.0.4 is now available on SourceForge: https://sourceforge.net/project/showfiles.php? group_id=128058&release_id=330776
This fixes the bugs reported since Hobbit 4.0.3 was released.
Changes from 4.0.3 -> 4.0.4
Bugfixes:
- Nested macros in hobbit-alerts.cfg were not working.
- Using TAB's in hobbit-alerts.cfg could confuse the alert module.
- hobbitd_alert's --test option now determines the page-name for a host automatically. It will also now accept a time-parameter to simulate how alerts are processed at specific time-of-day.
Since updating to 4.0.4, I have had a couple of "reds" which have not generated all of my alerts.
I have converted my hobbit-alerts.cfg file to use macros, and the hobbitd_alert --test correctly expands all of the results, but only the emails were executued and the scripts were not.
Relevant pieces from hobbit-alerts.cfg are:
$MAIL_ANDY_STD=MAIL andy REPEAT=60m RECOVERED NOTICE $MAIL_GAYNA_STD=MAIL gayna REPEAT=60m RECOVERED $MAIL_INFORMIX_INF=MAIL informix REPEAT=60m RECOVERED SERVICE=drstatus,informix $PAGE_SUPPORT_STD=SCRIPT /export/home/hobbit/bin/qpage support-pg REPEAT=60m RECOVERED FORMAT=SMS COLOR=red $ETXT_ANDY_STD=SCRIPT /export/home/hobbit/bin/etxt andy-ph RECOVERED FORMAT=SMS COLOR=red
HOST=km-akl5,unakl5 $MAIL_ANDY_STD $MAIL_GAYNA_STD $MAIL_INFORMIX_INF $PAGE_SUPPORT_STD $ETXT_ANDY_STD
And the test output shows:
bash-3.00$ ~/server/bin/bbcmd hobbitd_alert --test unakl5 cpu | grep alert 2005-05-31 09:30:15 Using default environment file /export/home/hobbit/server/etc/hobbitserver.cfg 00024460 2005-05-31 09:30:15 send_alert unakl5:cpu state Paging 00024460 2005-05-31 09:30:15 Mail alert with command '/opt/csw/bin/nail -s "Hobbit [12345] unakl5:cpu CRITICAL (RED)" andy' 00024460 2005-05-31 09:30:15 Mail alert with command '/opt/csw/bin/nail -s "Hobbit [12345] unakl5:cpu CRITICAL (RED)" gayna' 00024460 2005-05-31 09:30:15 Script alert with command '/export/home/hobbit/bin/qpage' and recipient support-pg 00024460 2005-05-31 09:30:15 Script alert with command '/export/home/hobbit/bin/etxt' and recipient andy-ph
But, as mentioned, the qpage and etxt scripts did not get executed.
I can try rolling back to my previous patched 4.0.3 version if required - but would obviously prefer to see if there is an issue with 4.0.4.
Thanks and regards, Andy.
#####################################################################################
This email is intended for the person to whom it is addressed only. If you are not the intended recipient, do not read, copy or use the contents in any way. The opinions expressed may not necessarily reflect those of ZESPRI Group of Companies ('ZESPRI').
While every effort has been made to verify the information contained herein, ZESPRI does not make any representations as to the accuracy of the information or to the performance of any data, information or the products mentioned herein. ZESPRI will not accept liability for any losses, damage or consequence, however, resulting directly or indirectly from the use of this e-mail/attachments. #####################################################################################
On Tue, May 31, 2005 at 09:43:40AM +1200, Andy France wrote:
Since updating to 4.0.4, I have had a couple of "reds" which have not generated all of my alerts.
Could you check the notifications.log file for any mention of these alerts being sent out by Hobbit, and the page.log file for any errors from your scripts ? Both should be in the /var/log/hobbit/ directory.
Regards, Henrik
participants (2)
-
Andy@zespri.com
-
henrik@hswn.dk