Hobbit Release candidate 2 available
list Henrik Størner
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).
list David Gore
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).
list Kevin Hanrahan
OK, I have got to be doing something wrong here. I cannot get the "zoom" feature to work at all. All I see is a broken link in I.E. and using Mozilla-firefox I get a simple hyperlink that allows me to do nothing with the graph. I never see the "glass" icon and I cannot get a zoom function at all. I am using: RH 7.2 Hobbit RC2 (upgrade) Kevin -----Original Message----- From: David Gore [mailto:user-0ef10ea25696@xymon.invalid] Sent: Sunday, February 13, 2005 2:06 PM To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] Hobbit Release candidate 2 available Importance: Low
▸
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).
list Kevin Hanrahan
Sorry, My last post was a mistaken reply to a different problem.
▸
OK, I have got to be doing something wrong here. I cannot get the "zoom"
feature to work at all. All I see is a broken link in I.E. and using
Mozilla-firefox I get a simple hyperlink that allows me to do nothing with
the graph. I never see the "glass" icon and I cannot get a zoom function at
all.
I am using:
RH 7.2
Hobbit RC2 (upgrade)
Kevin
list Henrik Størner
▸
On Sun, Feb 13, 2005 at 04:05:37PM -0500, Kevin Hanrahan wrote:
OK, I have got to be doing something wrong here. I cannot get the "zoom" feature to work at all. All I see is a broken link in I.E. and using Mozilla-firefox I get a simple hyperlink that allows me to do nothing with the graph. I never see the "glass" icon and I cannot get a zoom function at all.
It's probably just a couple of new files that didn't get installed when you ran "make install" (the ~/server/web/zoom.js and ~/server/www/gifs/zoom.gif). Try running a "make setup" and it should get everything straightened out. Henrik
list Henrik Størner
▸
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
list Kevin Hanrahan
You were correct!...as usual! Running the make setup did it! This was the first time I did an upgrade instead of a clean install. On another note, Where can I get more info about this other feature you mentioned to make your own graphs? What is required? How do I do it? Thanks Henrik Kevin
▸
-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid]
Sent: Sunday, February 13, 2005 5:09 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Hobbit Release candidate 2 available
Importance: Low
On Sun, Feb 13, 2005 at 04:05:37PM -0500, Kevin Hanrahan wrote:OK, I have got to be doing something wrong here. I cannot get the "zoom" feature to work at all. All I see is a broken link in I.E. and using Mozilla-firefox I get a simple hyperlink that allows me to do nothing with the graph. I never see the "glass" icon and I cannot get a zoom function at all.
It's probably just a couple of new files that didn't get installed when you ran "make install" (the ~/server/web/zoom.js and ~/server/www/gifs/zoom.gif). Try running a "make setup" and it should get everything straightened out. Henrik
list Henrik Størner
▸
On Sun, Feb 13, 2005 at 05:40:33PM -0500, Kevin Hanrahan wrote:
You were correct!...as usual! Running the make setup did it! This was the first time I did an upgrade instead of a clean install.
OK, that's one of the "rough edges" of using multiple beta-releases on top of each other.
▸
On another note, Where can I get more info about this other feature you mentioned to make your own graphs? What is required? How do I do it?
"man hobbitd_larrd", in the "CUSTOM RRD DATA" section. Regards, Henrik
list Kevin Hanrahan
Excellent, thank you. I will read it. On more odd property of the "upgrade" was that the Event Log Report was not available. It did not even show up in the menu. After doing the make setup, it appeared. More testing to follow....thanks
▸
KEvin
-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid]
Sent: Sunday, February 13, 2005 5:58 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Hobbit Release candidate 2 available
Importance: Low
On Sun, Feb 13, 2005 at 05:40:33PM -0500, Kevin Hanrahan wrote:You were correct!...as usual! Running the make setup did it! This was the first time I did an upgrade instead of a clean install.
OK, that's one of the "rough edges" of using multiple beta-releases on top of each other.
On another note, Where can I get more info about this other feature you mentioned to make your own graphs? What is required? How do I do it?
"man hobbitd_larrd", in the "CUSTOM RRD DATA" section. Regards, Henrik
list Asif Iqbal
▸
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..."
list Henrik Størner
▸
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
list Charles Jones
▸
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
list Charles Jones
▸
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.
list Charles Jones
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
list Henrik Størner
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
list Charles Jones
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-servicesIt 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
list Christopher T. Beers
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 <user-c8222abeff59@xymon.invalid> wrote: | run "make install" and NOT "make setup" correct?