Release candidate 2 of Hobbit is now available on http://sourceforge.net/projects/hobbitmon/
This fixes a series of bugs, most notably some bugs in the alert module, the "iishealth" RRD handler, and a crash of the bbtest-net tool when two or more hosts had the "apache" test enabled.
An RRD handler for the "temperature" reports was added to hobbitd_larrd, and a plug-in mechanism was added so you can fairly easily add graphs for custom data you may be using.
The hobbitgraph CGI tool has been enhanced with a "zoom" function taken from the "Cacti" project (which is also GPL). This will be enhanced further after version 4.0 is released; the current version only supports zooming in on a period of time.
And the generated HTML was cleaned up, so hopefully everything is now HTML 4.0 compliant.
Full changelog below.
Please beat on this - I hope this will be the last release candidate, so the next announcement is for the full 4.0 release.
Regards, Henrik
Changes from RC-1 -> RC-2
Bugfixes:
The alert module now gets color changes that move a status from critical (alert) state into a not-yet-recovered state. So if you only want pages on red, you should no longer see pages when it goes from red to yellow.
Alert rules with a color specification followed by some other criteria would ignore the color spec.
Alerts would only get repeated when a new message arrived, not necessarily with the interval set by the REPEAT configuration.
The alert configuration file was reloaded every time. It should now only reload when it has been changed. This caused a noticable change in hobbitd_alert's CPU usage.
A MAIL recipient can now have multiple recipients.
The "iishealth" RRD handler was broken.
DHCP hosts (those that have an IP of 0.0.0.0) are allowed to report their status from any IP.
The bb-eventlog CGI was cleaned up (now it actually works!) and a proper submission form and menu item were added.
bbtest-net would crash when multiple "apache" tests were defined.
The bb-ack.sh CGI - when located in the secure CGI area - was posting to bb-ack.sh in the unsecure CGI directory. Changed so it always posts to the same location it was originally called from.
Improvements:
Lots of small tweaks to the HTML templates and some code, to ensure that all HTML generated is HTML 4.0 compliant. Thanks to Firefox and the HTML Validator plugin!
hobbitgraph.cgi enhanced with a "zoom-in" function taken from the Cacti project. This allows zooming in on a period of time. Zoom on both axis (time and value) will be implemented in the next version of Hobbit, since it requires a modification to the RRDtool library; this is too large a change to add currently.
A handler for the "temperature" reports was added to hobbitd_larrd.
An external handler mechanism was implemented for hobbitd_larrd, so users can add their own graphs without having to do C coding.
The "bbcmd" utility now loads the standard hobbitserver.cfg environment if no "--env" setting is used on the command line.
The default for the "find host" form was changed to do a case-insensitive match (since hostnames do not normally care about upper- or lower-case).
Henrik,
Here is what I get using RC2 (does not run)?
hobbitlaunch.log: 2005-02-13 18:47:40 Task bbretest started with PID 5037 ld.so.1: /export/home/hobbit/server/bin/hobbitlaunch: fatal: relocation error: R_SPARC_JMP_SLOT: unidentifiable procedure reference: link-map 0xff3b0054, offset 0x0, called from 0x12228
uname -a SunOS hobbit 5.9 Generic sun4u sparc SUNW,Ultra-4
David Gore
Henrik Stoerner wrote:
Release candidate 2 of Hobbit is now available on http://sourceforge.net/projects/hobbitmon/
This fixes a series of bugs, most notably some bugs in the alert module, the "iishealth" RRD handler, and a crash of the bbtest-net tool when two or more hosts had the "apache" test enabled.
An RRD handler for the "temperature" reports was added to hobbitd_larrd, and a plug-in mechanism was added so you can fairly easily add graphs for custom data you may be using.
The hobbitgraph CGI tool has been enhanced with a "zoom" function taken from the "Cacti" project (which is also GPL). This will be enhanced further after version 4.0 is released; the current version only supports zooming in on a period of time.
And the generated HTML was cleaned up, so hopefully everything is now HTML 4.0 compliant.
Full changelog below.
Please beat on this - I hope this will be the last release candidate, so the next announcement is for the full 4.0 release.
Regards, Henrik
Changes from RC-1 -> RC-2
Bugfixes:
The alert module now gets color changes that move a status from critical (alert) state into a not-yet-recovered state. So if you only want pages on red, you should no longer see pages when it goes from red to yellow.
Alert rules with a color specification followed by some other criteria would ignore the color spec.
Alerts would only get repeated when a new message arrived, not necessarily with the interval set by the REPEAT configuration.
The alert configuration file was reloaded every time. It should now only reload when it has been changed. This caused a noticable change in hobbitd_alert's CPU usage.
A MAIL recipient can now have multiple recipients.
The "iishealth" RRD handler was broken.
DHCP hosts (those that have an IP of 0.0.0.0) are allowed to report their status from any IP.
The bb-eventlog CGI was cleaned up (now it actually works!) and a proper submission form and menu item were added.
bbtest-net would crash when multiple "apache" tests were defined.
The bb-ack.sh CGI - when located in the secure CGI area - was posting to bb-ack.sh in the unsecure CGI directory. Changed so it always posts to the same location it was originally called from.
Improvements:
Lots of small tweaks to the HTML templates and some code, to ensure that all HTML generated is HTML 4.0 compliant. Thanks to Firefox and the HTML Validator plugin!
hobbitgraph.cgi enhanced with a "zoom-in" function taken from the Cacti project. This allows zooming in on a period of time. Zoom on both axis (time and value) will be implemented in the next version of Hobbit, since it requires a modification to the RRDtool library; this is too large a change to add currently.
A handler for the "temperature" reports was added to hobbitd_larrd.
An external handler mechanism was implemented for hobbitd_larrd, so users can add their own graphs without having to do C coding.
The "bbcmd" utility now loads the standard hobbitserver.cfg environment if no "--env" setting is used on the command line.
The default for the "find host" form was changed to do a case-insensitive match (since hostnames do not normally care about upper- or lower-case).
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
On Sun, Feb 13, 2005 at 07:06:26PM +0000, David Gore wrote:
Here is what I get using RC2 (does not run)?
hobbitlaunch.log: 2005-02-13 18:47:40 Task bbretest started with PID 5037 ld.so.1: /export/home/hobbit/server/bin/hobbitlaunch: fatal: relocation error: R_SPARC_JMP_SLOT: unidentifiable procedure reference: link-map 0xff3b0054, offset 0x0, called from 0x12228
Eh - I have absolutely no idea where that comes from, except that it looks like some problem with a dynamically linked library.
If you login as the hobbit user, what does "ldd ~/server/bin/hobbitlaunch" give as output ?
Are there any hobbit processes running at all ?
Henrik
On Sun, Feb 13, 2005 at 07:11:32PM, Henrik Stoerner wrote:
Release candidate 2 of Hobbit is now available on http://sourceforge.net/projects/hobbitmon/
I am currently using RC1. So to keep my RC1 configuration safe I need to run "make install" and NOT "make setup" correct?
Thanks for the added features specially for that MAIL can now take multiple emails
-- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu "...it said: Install Windows XP or better...so I installed Solaris..."
On Mon, Feb 14, 2005 at 03:12:18AM -0500, Asif Iqbal wrote:
On Sun, Feb 13, 2005 at 07:11:32PM, Henrik Stoerner wrote:
Release candidate 2 of Hobbit is now available on http://sourceforge.net/projects/hobbitmon/
I am currently using RC1. So to keep my RC1 configuration safe I need to run "make install" and NOT "make setup" correct?
It's safe to run "make setup" - despite the dire warnings. And I recommend that you do so when going from RC1 to RC2, because some new files only get installed by "make setup".
Henrik
Henrik Stoerner wrote:
It's safe to run "make setup" - despite the dire warnings. And I recommend that you do so when going from RC1 to RC2, because some new files only get installed by "make setup".
I did a "make setup" and noticed that some files still do not get copied/overwritten...such as the hobbitgraph.cfg
Henrik Stoerner wrote:
It's safe to run "make setup" - despite the dire warnings. And I recommend that you do so when going from RC1 to RC2, because some new files only get installed by "make setup".
I did a "make setup" and noticed that some files still do not get copied/overwritten...such as the hobbitgraph.cfg, yet some are overwritten like bb-services.
RC2 overwrote my bb-services, so I recreated the 2 custom services I had in it...they are simple checks so I doubt I could have made a mistake, yet now they are failing. The status page shows "Service unavailable (Connection refused)", even though I can telnet to the port and get the banner.
What's the best way for me to troubleshoot this?
Thanks, -Charles
On Mon, Feb 14, 2005 at 03:28:36AM -0700, Charles Jones wrote:
RC2 overwrote my bb-services
It shouldn't - will fix.
, so I recreated the 2 custom services I had in it...they are simple checks so I doubt I could have made a mistake, yet now they are failing. The status page shows "Service unavailable (Connection refused)", even though I can telnet to the port and get the banner.
What's the best way for me to troubleshoot this?
Log in as the hobbit user, then run
~/server/bin/bbcmd sh bbtest-net --debug HOSTNAME
where HOSTNAME is one of the hosts with this test.
At the start of the output is a dump of the services found in your bb-services file, ending with:
BBNETSVCS set to : smtp telnet ftp pop pop3 pop-3 ssh imap ssh1 ssh2 imap2 imap3 imap4 pop2 pop-2 nntp vnc qmqp qmtp oratns clamd bbd rsync ldaps ldap nntps imaps pop3s smtps telnets ftps
Check that your custom test is listed here.
If it is, then later on you should see lines like these:
2005-02-14 14:59:24 Adding tcp test IP=127.0.0.1, port=1984, service=bbd, silent=0 2005-02-14 14:59:24 Adding tcp test IP=127.0.0.1, port=80, service=http, silent=0
Check that the IP and portnumbers are correct.
Henrik
Thanks, that helped me figure out the problem. Turns out my last entry had a typo and instead of "service" I had "sevice". Somehow this confused hobbit into thinking that it was part of the previous service declaration, and it took the port number of the typoed service :-)
P.S. Are we going to get regex ability for "expect" in bb-services? :-)
-Charles
Henrik Stoerner wrote:
On Mon, Feb 14, 2005 at 03:28:36AM -0700, Charles Jones wrote:
RC2 overwrote my bb-services
It shouldn't - will fix.
, so I recreated the 2 custom services I had in it...they are simple checks so I doubt I could have made a mistake, yet now they are failing. The status page shows "Service unavailable (Connection refused)", even though I can telnet to the port and get the banner.
What's the best way for me to troubleshoot this?
Log in as the hobbit user, then run
~/server/bin/bbcmd sh bbtest-net --debug HOSTNAME
where HOSTNAME is one of the hosts with this test.
At the start of the output is a dump of the services found in your bb-services file, ending with:
BBNETSVCS set to : smtp telnet ftp pop pop3 pop-3 ssh imap ssh1 ssh2 imap2 imap3 imap4 pop2 pop-2 nntp vnc qmqp qmtp oratns clamd bbd rsync ldaps ldap nntps imaps pop3s smtps telnets ftps
Check that your custom test is listed here.
If it is, then later on you should see lines like these:
2005-02-14 14:59:24 Adding tcp test IP=127.0.0.1, port=1984, service=bbd, silent=0 2005-02-14 14:59:24 Adding tcp test IP=127.0.0.1, port=80, service=http, silent=0
Check that the IP and portnumbers are correct.
Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
I would suggest this get updated before the 4.0 final release. Since make setup does not overwrite files, couldn't that just be renamed to make install and have one install/upgrade methodology.
It's really confusing figuring out which one to do and then figuring out which etc files or other static content needs to be copied manually.
Chris
--On February 14, 2005 3:12:18 AM -0500 Asif Iqbal <iqbala-hobbit at qwestip.net> wrote:
| run "make install" and NOT "make setup" correct?
participants (5)
-
ctbeers@syr.edu
-
David.Gore@mci.com
-
henrik@hswn.dk
-
iqbala-hobbit@qwestip.net
-
jonescr@cisco.com