Xymon Mailing List Archive search

Hobbit 4.0 RC4 available

28 messages in this thread

list Henrik Størner · Sun, 27 Feb 2005 18:03:24 +0100 ·
OK, so RC3 was slightly disastrous, and lots of patches have been
flying around this past week. So to get everyone aligned on the same
code-base, I've packaged up release candidate #4 which you'll find in
the usual places: http://sourceforge.net/projects/hobbitmon/ and
http://www.hswn.dk/beta/

This of course fixes the bugs that caused RC3 to crash left and right.

I also have gone over the alert code again, and now believe that it
has reached a state of Nirvana where it is "obviously correct". In
other words, alerts should go out as intended; if they don't then
add the "--trace=FILENAME" option to hobbitd_alert and let me have the
logfile after you've re-created the problem.

The flickering purples for disabled tests should be a thing of the
past.

Several problems with building on various platforms were resolved.
As part of this change, you must re-run the configure script to have
it pickup a couple of new settings that have been added.


Along the way, I found out that I'd made a slight error of judgment in
choosing the format of the hobbitlaunch.cfg file. So that has changed!
If you have modified your hobbitlaunch.cfg - especially if you have
deleted or commented out sections - I strongly advise you to copy the
new file over from hobbit-4.0-RC4/etcfiles/, or at least look over the
differences between that file and your current configuration. "make
install" will not overwrite the file, but it might re-add sections
that you have removed; instead of removing them or commenting them
out, add the keyword "DISABLED" to make them permanenly disabled.

Also, the hobbitserver.cfg file didn't quote the commands added for BB
client scripts, resulting in errors being logged by some of the
reporting CGI scripts. So copy over the new hobbitserver.cfg file that
is generated in hobbitd/etcfiles/ when you build hobbit.


Full list of changes below.


Regards,
Henrik


Changes from RC-3 -> RC-4

Bugfixes:
* Loading the bb-services file no longer causes bbtest-net,
  hobbitd_larrd et al to crash.
* The alert configuration loader was fixed, so that
  recipient criteria are applied correctly.
* hobbitd_alert handling of "recovered" status messages was
  slightly broken. This was probably the cause of the
  unexpected "green" alerts that some have reported.
* SCRIPT recipients can now have a "@" in their names without
  being silently treated as MAIL recipients.
* An acknowledge message is now cleared when the status changes
  to an OK color (defined by the --okcolors option). Previously
  it would have to go "green" before the ack was cleared.
* Acked and disabled statuses can not go purple while the
  acknowledge or disable is valid. This was causing brief flickers
  of purple for tests that were disabled for more than 30 minutes.
* maint.pl "combo" message support was dropped. This was causing
  runtime warnings, and it has never been possible to send enable
  or disable messages inside combo's (neither with Hobbit nor BB).


Building Hobbit:
* bb-infocolumn should build without problems again.

* The "configure" script now also looks in /opt/csw for
  tools and libraries (for Solaris/x86)

* An OpenBSD Makefile was contributed.

* The gcc option "-Wl,--rpath" is now used when linking
  the tools on Linux and *BSD. This should resolve a lot of
  the issues with runtime libraries that cannot be found.

* "configure" now looks for your perl utility, and adjusts
  the maint.pl script accordingly.

* HP-UX does not have an atoll() routine. So a simple 
  implementation of this routine was added.


Configuration file changes:
* hobbitlaunch.cfg now supports a DISABLED keyword to shut
  off unwanted tasks. This permits upgrading without having
  to re-disable stuff.
* All commands in hobbitserver.cfg are now quoted, so it
  can be sourced by the CGI scripts without causing errors.
  Note that this is NOT automatically changed in an existing
  configuration file.


Improvements:
* The detailed status display now lets you define what graphs
  should be split onto multiple graph images (the "--multigraphs"
  option for bb-hostsvc.cgi and hobbitd_filestore). Currently
  the "disk", "inode" and "qtree" graphs are handled this way.
* The detailed status display now includes a line showing how
  long an acknowledgment is valid. This is configurable via the
  ACKUNTILMSG setting in hobbitserver.cfg.
* A new "notify" message is supported as part of the Hobbit 
  protocol. This takes a normal hostname+testname paramater,
  plus a text message; this is sent out as an informational
  message using the hobbit-alerts.cfg rules to determine recipients.
  This replaces the BB "notify-admin" recipient with a more
  fine-grained and configurable system. Currently used by
  maint.pl when enabling and disabling tests.
* Alert scripts now receive a CFID environment variable with the
  linenumber of the hobbit-alerts.cfg file that caused this
  alert to go out.
* A new tool - hobbit-mailack - was added. If setup to run from
  e.g. the Hobbit users' .procmailrc file, you can acknowledge
  alerts by responding to an alert email.
* Temperature reports now accept additional text in parenthesis
  without being confused.


-- 
Henrik Storner
list Lars Ebeling · Sun, 27 Feb 2005 18:46:07 +0100 (CET) ·
Hi All,
 
isn't hobbitd_larrd used or updated?
 
Hobbitd gets yellow with this message:
Latest errormessages:
Unknown option '--purple-conn=conn' - ignored
Loading hostnames
Loading saved state
Setting up network listener on 0.0.0.0:1984

Regards
Lars

Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> wrote:

Från: Henrik Stoerner[SMTP:user-ce4a2c883f75@xymon.invalid]
Skickat: den 27 februari 2005 18:03:24
Till: user-ae9b8668bcde@xymon.invalid; user-31496adb6da5@xymon.invalid
Ämne: [hobbit] Hobbit 4.0 RC4 available
Automatiskt vidarebefordrat av en regel
quoted from Henrik Størner
OK, so RC3 was slightly disastrous, and lots of patches have been
flying around this past week. So to get everyone aligned on the same
code-base, I've packaged up release candidate #4 which you'll find in
the usual places: http://sourceforge.net/projects/hobbitmon/ and
http://www.hswn.dk/beta/

This of course fixes the bugs that caused RC3 to crash left and right.

I also have gone over the alert code again, and now believe that it
has reached a state of Nirvana where it is "obviously correct". In
other words, alerts should go out as intended; if they don't then
add the "--trace=FILENAME" option to hobbitd_alert and let me have the
logfile after you've re-created the problem.

The flickering purples for disabled tests should be a thing of the
past.

Several problems with building on various platforms were resolved.
As part of this change, you must re-run the configure script to have
it pickup a couple of new settings that have been added.


Along the way, I found out that I'd made a slight error of judgment in
choosing the format of the hobbitlaunch.cfg file. So that has changed!
If you have modified your hobbitlaunch.cfg - especially if you have
deleted or commented out sections - I strongly advise you to copy the
new file over from hobbit-4.0-RC4/etcfiles/, or at least look over the
differences between that file and your current configuration. "make
install" will not overwrite the file, but it might re-add sections
that you have removed; instead of removing them or commenting them
out, add the keyword "DISABLED" to make them permanenly disabled.

Also, the hobbitserver.cfg file didn't quote the commands added for BB
client scripts, resulting in errors being logged by some of the
reporting CGI scripts. So copy over the new hobbitserver.cfg file that
is generated in hobbitd/etcfiles/ when you build hobbit.


Full list of changes below.


Regards,
Henrik


Changes from RC-3 -> RC-4

Bugfixes:
* Loading the bb-services file no longer causes bbtest-net,
hobbitd_larrd et al to crash.
* The alert configuration loader was fixed, so that
recipient criteria are applied correctly.
* hobbitd_alert handling of "recovered" status messages was
slightly broken. This was probably the cause of the
unexpected "green" alerts that some have reported.
* SCRIPT recipients can now have a "@" in their names without
being silently treated as MAIL recipients.
* An acknowledge message is now cleared when the status changes
to an OK color (defined by the --okcolors option). Previously
it would have to go "green" before the ack was cleared.
* Acked and disabled statuses can not go purple while the
acknowledge or disable is valid. This was causing brief flickers
of purple for tests that were disabled for more than 30 minutes.
* maint.pl "combo" message support was dropped. This was causing
runtime warnings, and it has never been possible to send enable
or disable messages inside combo's (neither with Hobbit nor BB).


Building Hobbit:
* bb-infocolumn should build without problems again.

* The "configure" script now also looks in /opt/csw for
tools and libraries (for Solaris/x86)

* An OpenBSD Makefile was contributed.

* The gcc option "-Wl,--rpath" is now used when linking
the tools on Linux and *BSD. This should resolve a lot of
the issues with runtime libraries that cannot be found.

* "configure" now looks for your perl utility, and adjusts
the maint.pl script accordingly.

* HP-UX does not have an atoll() routine. So a simple 
implementation of this routine was added.


Configuration file changes:
* hobbitlaunch.cfg now supports a DISABLED keyword to shut
off unwanted tasks. This permits upgrading without having
to re-disable stuff.
* All commands in hobbitserver.cfg are now quoted, so it
can be sourced by the CGI scripts without causing errors.
Note that this is NOT automatically changed in an existing
configuration file.


Improvements:
* The detailed status display now lets you define what graphs
should be split onto multiple graph images (the "--multigraphs"
option for bb-hostsvc.cgi and hobbitd_filestore). Currently
the "disk", "inode" and "qtree" graphs are handled this way.
* The detailed status display now includes a line showing how
long an acknowledgment is valid. This is configurable via the
ACKUNTILMSG setting in hobbitserver.cfg.
* A new "notify" message is supported as part of the Hobbit 
protocol. This takes a normal hostname+testname paramater,
plus a text message; this is sent out as an informational
message using the hobbit-alerts.cfg rules to determine recipients.
This replaces the BB "notify-admin" recipient with a more
fine-grained and configurable system. Currently used by
maint.pl when enabling and disabling tests.
* Alert scripts now receive a CFID environment variable with the
linenumber of the hobbit-alerts.cfg file that caused this
alert to go out.
* A new tool - hobbit-mailack - was added. If setup to run from
e.g. the Hobbit users' .procmailrc file, you can acknowledge
alerts by responding to an alert email.
* Temperature reports now accept additional text in parenthesis
without being confused.


-- 
Henrik Storner
list Kevin Hanrahan · Sun, 27 Feb 2005 13:00:38 -0500 ·
OK, 
 Here's a strange one...I built the new version (RC4) just like all the
others, and went to start it and got this:
 
To start Hobbit, as the hobbit user run
'/home/hobbit/server/bin/starthobbit.sh start'
To view the Hobbit webpages, go to http://nemesis/hobbit
<http://nemesis/hobbit>; 
[root at nemesis hobbit-4.0-RC4]# su hobbit
[hobbit at nemesis hobbit-4.0-RC4]$ /home/hobbit/server/bin/starthobbit.sh
start
Hobbit must be started as the apache user

 
Why does it want me to be the apache user?  I told it I would be running
Hobbit as user: hobbit
 
Other info:
 -   I installed right over the existing RC3 version
 -  This was the second install attempt...the first attempt actually worked
but the version was actually showing as RC3!
            I then removed all other directories except /hobbit-4.0-RC4 and
re-built
 - During the first build, I was asked TWICE who was the user that apache
ran as
 
 
Maybe I should just wipe clean and start again?
 
please advise.
 
 
KEvin


From: lars ebeling [mailto:user-b8ea1138b488@xymon.invalid] 
Sent: Sunday, February 27, 2005 12:46 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Hobbit 4.0 RC4 available
Importance: Low
quoted from Lars Ebeling


Hi All,
 
isn't hobbitd_larrd used or updated?
 
Hobbitd gets yellow with this message:
Latest errormessages:
Unknown option '--purple-conn=conn' - ignored
Loading hostnames
Loading saved state
Setting up network listener on 0.0.0.0:1984

Regards
Lars

Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> wrote:

Från: Henrik Stoerner[SMTP:user-ce4a2c883f75@xymon.invalid]
Skickat: den 27 februari 2005 18:03:24
Till: user-ae9b8668bcde@xymon.invalid; user-31496adb6da5@xymon.invalid
Ämne: [hobbit] Hobbit 4.0 RC4 available
Automatiskt vidarebefordrat av en regel
OK, so RC3 was slightly disastrous, and lots of patches have been
flying around this past week. So to get everyone aligned on the same
code-base, I've packaged up release candidate #4 which you'll find in
the usual places: http://sourceforge.net/projects/hobbitmon/ and
http://www.hswn.dk/beta/

This of course fixes the bugs that caused RC3 to crash left and right.

I also have gone over the alert code again, and now believe that it
has reached a state of Nirvana where it is "obviously correct". In
other words, alerts should go out as intended; if they don't then
add the "--trace=FILENAME" option to hobbitd_alert and let me have the
logfile after you've re-created the problem.

The flickering purples for disabled tests should be a thing of the
past.

Several problems with building on various platforms were resolved.
As part of this change, you must re-run the configure script to have
it pickup a couple of new settings that have been added.


Along the way, I found out that I'd made a slight error of judgment in
choosing the format of the hobbitlaunch.cfg file. So that has changed!
If you have modified your hobbitlaunch.cfg - especially if you have
deleted or commented out sections - I strongly advise you to copy the
new file over from hobbit-4.0-RC4/etcfiles/, or at least look over the
differences between that file and your current configuration. "make
install" will not overwrite the file, but it might re-add sections
that you have removed; instead of removing them or commenting them

o ut, add the keyword "DISABLED" to make them permanenly disabled.
quoted from Lars Ebeling

Also, the hobbitserver.cfg file didn't quote the commands added for BB
client scripts, resulting in errors being logged by some of the
reporting CGI scripts. So copy over the new hobbitserver.cfg file that
is generated in hobbitd/etcfiles/ when you build hobbit.


Full list of changes below.


Regards,
Henrik


Changes from RC-3 -> RC-4

Bugfixes:
* Loading the bb-services file no longer causes bbtest-net,
hobbitd_larrd et al to crash.
* The alert configuration loader was fixed, so that
recipient criteria are applied correctly.
* hobbitd_alert handling of "recovered" status messages was
slightly broken. This was probably the cause of the
unexpected "green" alerts that some have reported.
* SCRIPT recipients can now have a "@" in their names without
being silently treated as MAIL recipients.

* An acknowl edge message is now cleared when the status changes
quoted from Lars Ebeling
to an OK color (defined by the --okcolors option). Previously
it would have to go "green" before the ack was cleared.
* Acked and disabled statuses can not go purple while the
acknowledge or disable is valid. This was causing brief flickers
of purple for tests that were disabled for more than 30 minutes.
* maint.pl "combo" message support was dropped. This was causing
runtime warnings, and it has never been possible to send enable
or disable messages inside combo's (neither with Hobbit nor BB).


Building Hobbit:
* bb-infocolumn should build without problems again.

* The "configure" script now also looks in /opt/csw for
tools and libraries (for Solaris/x86)

* An OpenBSD Makefile was contributed.

* The gcc option "-Wl,--rpath" is now used when linking
the tools on Linux and *BSD. This should resolve a lot of
the issues with runtime libraries that cannot be found.
* "configure" now looks for your perl utility, and adjusts
the maint.pl script accordingly.

* HP-UX does not have an atoll() routine. So a simple 
implementation of this routine was added.


Configuration file changes:
* hobbitlaunch.cfg now supports a DISABLED keyword to shut
off unwanted tasks. This permits upgrading without having
to re-disable stuff.
* All commands in hobbitserver.cfg are now quoted, so it
can be sourced by the CGI scripts without causing errors.
Note that this is NOT automatically changed in an existing
configuration file.


Improvements:
* The detailed status display now lets you define what graphs
should be split onto multiple graph images (the "--multigraphs"
option for bb-hostsvc.cgi and hobbitd_filestore). Currently
the "disk", "inode" and "qtree" graphs are handled this way.
* The detailed status display now includes a line showing how

long an acknowledgment is valid. This is conf igurable via the
quoted from Lars Ebeling
ACKUNTILMSG setting in hobbitserver.cfg.
* A new "notify" message is supported as part of the Hobbit 
protocol. This takes a normal hostname+testname paramater,
plus a text message; this is sent out as an informational
message using the hobbit-alerts.cfg rules to determine recipients.
This replaces the BB "notify-admin" recipient with a more
fine-grained and configurable system. Currently used by
maint.pl when enabling and disabling tests.
* Alert scripts now receive a CFID environment variable with the
linenumber of the hobbit-alerts.cfg file that caused this
alert to go out.
* A new tool - hobbit-mailack - was added. If setup to run from
e.g. the Hobbit users' .procmailrc file, you can acknowledge
alerts by responding to an alert email.
* Temperature reports now accept additional text in parenthesis
without being confused.


-- 
Henrik Storner
list Lars Ebeling · Sun, 27 Feb 2005 19:08:39 +0100 (CET) ·
Isnt't it groupid for webserver you are asked for? 
 
/Lars

Kevin Hanrahan <user-7211a77fa045@xymon.invalid> wrote:


Från:   Kevin Hanrahan[SMTP:user-7211a77fa045@xymon.invalid] 
Skickat:        den 27 februari 2005 19:00:38 
Till:      'user-ae9b8668bcde@xymon.invalid' 
Ämne:   RE: [hobbit] Hobbit 4.0 RC4 available 
quoted from Kevin Hanrahan
Automatiskt vidarebefordrat av en regel

OK, 
 Here's a strange one...I built the new version (RC4) just like all the others, and went to start it and got this:
 
To start Hobbit, as the hobbit user run '/home/hobbit/server/bin/starthobbit.sh start'
To view the Hobbit webpages, go to http://nemesis/hobbit
[root at nemesis hobbit-4.0-RC4]# su hobbit
[hobbit at nemesis hobbit-4.0-RC4]$ /home/hobbit/server/bin/starthobbit.sh start
Hobbit must be started as the apache user

 
Why does it want me to be the apache user?  I told it I would be running Hobbit as user: hobbit
 
Other info:
 -   I installed right over the existing RC3 version
 -  This was the second install attempt...the first attempt actually worked but the version was actually showing as RC3!
            I then removed all other directories except /hobbit-4.0-RC4 and re-built
 - During the first build, I was asked TWICE who was the user that apache ran as
 
 
Maybe I should just wipe clean and start again?
 
please advise.
 
 
KEvin


From: lars ebeling [mailto:user-b8ea1138b488@xymon.invalid] 
Sent: Sunday, February 27, 2005 12:46 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Hobbit 4.0 RC4 available
Importance: Low


Hi All,
 
isn't hobbitd_larrd used or updated?
 
Hobbitd gets yellow with this message:
Latest errormessages:
Unknown option '--purple-conn=conn' - ignored
Loading hostnames
Loading saved state
Setting up network listener on 0.0.0.0:1984

Regards
Lars

Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> wrote:

Från: Henrik Stoerner[SMTP:user-ce4a2c883f75@xymon.invalid]
Skickat: den 27 februari 2005 18:03:24
Till: user-ae9b8668bcde@xymon.invalid; user-31496adb6da5@xymon.invalid
Ämne: [hobbit] Hobbit 4.0 RC4 available
Automatiskt vidarebefordrat av en regel
OK, so RC3 was slightly disastrous, and lots of patches have been
flying around this past week. So to get everyone aligned on the same
code-base, I've packaged up release candidate #4 which you'll find in
the usual places: http://sourceforge.net/projects/hobbitmon/ and
http://www.hswn.dk/beta/

This of course fixes the bugs that caused RC3 to crash left and right.

I also have gone over the alert code again, and now believe that it
has reached a state of Nirvana where it is "obviously correct". In
other words, alerts should go out as intended; if they don't then
add the "--trace=FILENAME" option to hobbitd_alert and let me have the
logfile after you've re-created the problem.

The flickering purples for disabled tests should be a thing of the
past.

Several problems with building on various platforms were resolved.
As part of this change, you must re-run the configure script to have
it pickup a couple of new settings that have been added.


Along the way, I found out that I'd made a slight error of judgment in
choosing the format of the hobbitlaunch.cfg file. So that has changed!
If you have modified your hobbitlaunch.cfg - especially if you have
deleted or commented out sections - I strongly advise you to copy the
new file over from hobbit-4.0-RC4/etcfiles/, or at least look over the
differences between that file and your current configuration. "make
install" will not overwrite the file, but it might re-add sections
that you have removed; instead of removing them or commenting them
o ut, add the keyword "DISABLED" to make them permanenly disabled.

Also, the hobbitserver.cfg file didn't quote the commands added for BB
client scripts, resulting in errors being logged by some of the
reporting CGI scripts. So copy over the new hobbitserver.cfg file that
is generated in hobbitd/etcfiles/ when you build hobbit.


Full list of changes below.


Regards,
Henrik


Changes from RC-3 -> RC-4

Bugfixes:
* Loading the bb-services file no longer causes bbtest-net,
hobbitd_larrd et al to crash.
* The alert configuration loader was fixed, so that
recipient criteria are applied correctly.
* hobbitd_alert handling of "recovered" status messages was
slightly broken. This was probably the cause of the
unexpected "green" alerts that some have reported.
* SCRIPT recipients can now have a "@" in their names without
being silently treated as MAIL recipients.
* An acknowl edge message is now cleared when the status changes
to an OK color (defined by the --okcolors option). Previously
it would have to go "green" before the ack was cleared.
* Acked and disabled statuses can not go purple while the
acknowledge or disable is valid. This was causing brief flickers
of purple for tests that were disabled for more than 30 minutes.
* maint.pl "combo" message support was dropped. This was causing
runtime warnings, and it has never been possible to send enable
or disable messages inside combo's (neither with Hobbit nor BB).


Building Hobbit:
* bb-infocolumn should build without problems again.

* The "configure" script now also looks in /opt/csw for
tools and libraries (for Solaris/x86)

* An OpenBSD Makefile was contributed.

* The gcc option "-Wl,--rpath" is now used when linking
the tools on Linux and *BSD. This should resolve a lot of
the issues with runtime libraries that cannot be found.
* "configure" now looks for your perl utility, and adjusts
the maint.pl script accordingly.

* HP-UX does not have an atoll() routine. So a simple 
implementation of this routine was added.


Configuration file changes:
* hobbitlaunch.cfg now supports a DISABLED keyword to shut
off unwanted tasks. This permits upgrading without having
to re-disable stuff.
* All commands in hobbitserver.cfg are now quoted, so it
can be sourced by the CGI scripts without causing errors.
Note that this is NOT automatically changed in an existing
configuration file.


Improvements:
* The detailed status display now lets you define what graphs
should be split onto multiple graph images (the "--multigraphs"
option for bb-hostsvc.cgi and hobbitd_filestore). Currently
the "disk", "inode" and "qtree" graphs are handled this way.
* The detailed status display now includes a line showing how
long an acknowledgment is valid. This is conf igurable via the
ACKUNTILMSG setting in hobbitserver.cfg.
* A new "notify" message is supported as part of the Hobbit 
protocol. This takes a normal hostname+testname paramater,
plus a text message; this is sent out as an informational
message using the hobbit-alerts.cfg rules to determine recipients.
This replaces the BB "notify-admin" recipient with a more
fine-grained and configurable system. Currently used by
maint.pl when enabling and disabling tests.
* Alert scripts now receive a CFID environment variable with the
linenumber of the hobbit-alerts.cfg file that caused this
alert to go out.
* A new tool - hobbit-mailack - was added. If setup to run from
e.g. the Hobbit users' .procmailrc file, you can acknowledge
alerts by responding to an alert email.
* Temperature reports now accept additional text in parenthesis
without being confused.


-- 
Henrik Storner
list Asif Iqbal · Sun, 27 Feb 2005 15:06:40 -0500 ·
quoted from Lars Ebeling
On Sun, Feb 27, 2005 at 06:03:24PM, Henrik Stoerner wrote:
[...]
* A new tool - hobbit-mailack - was added. If setup to run from
  e.g. the Hobbit users' .procmailrc file, you can acknowledge
  alerts by responding to an alert email.
[...] 
First of all thanks for creating a new tool for mailack. Now I noticed
in the hobbit-mailack.c file that it won't work without a valid Subject
line. Well when there is a mailack sent from skytel pager--which is what
we use--there is no valid subject comes with it and I attached two
sample emails, ack-email-from-skytel*, and I also attahced the
bb-pagerack.sh that I use if the email comes from skytel pager. Hobbit
checks the email in procmailrc and then redirect it to bb-emailack.sh
or bb-pagerack.sh based on the sender. Also I have two ACL files--one
for pager addresses and one for coporate email addresses--to
check if the sender is allowed to send an 'ACK'. I wonder if these
fetaures can be added in a future release.

Thanks again for such an excellent tool hobbitd

-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
"It is not the strongest of the species that survives, not the most intelligent, but
 the one most responsive to change."    - Charles Darwin
Attachments (1)
list Asif Iqbal · Sun, 27 Feb 2005 15:11:06 -0500 ·
quoted from Asif Iqbal
On Sun, Feb 27, 2005 at 03:06:40PM, Asif Iqbal wrote:
On Sun, Feb 27, 2005 at 06:03:24PM, Henrik Stoerner wrote:
[...]
* A new tool - hobbit-mailack - was added. If setup to run from
  e.g. the Hobbit users' .procmailrc file, you can acknowledge
  alerts by responding to an alert email.
[...] 
[...]
or bb-pagerack.sh based on the sender. Also I have two ACL files--one
for pager addresses and one for coporate email addresses--to
check if the sender is allowed to send an 'ACK'. I wonder if these
Nevermind the ACL part, that is part of procmailrc file. Thanks
quoted from Asif Iqbal
fetaures can be added in a future release.
-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
"It is not the strongest of the species that survives, not the most intelligent, but
 the one most responsive to change."    - Charles Darwin
list Tlp-hobbit · Sun, 27 Feb 2005 21:58:55 +0100 ·
 I think purpl-conn is no longer a switch to bbgen but is in the cfg 
file - so remove it
quoted from Lars Ebeling

lars ebeling wrote:
Hi All,
 
isn't hobbitd_larrd used or updated?
 
Hobbitd gets yellow with this message:
Latest errormessages:
Unknown option '--purple-conn=conn' - ignored
Loading hostnames
Loading saved state
Setting up network listener on 0.0.0.0:1984
Regards
Lars

*/Henrik Stoerner <user-ce4a2c883f75@xymon.invalid>/* wrote:

Från: Henrik Stoerner[SMTP:user-ce4a2c883f75@xymon.invalid]
Skickat: den 27 februari 2005 18:03:24
Till: user-ae9b8668bcde@xymon.invalid; user-31496adb6da5@xymon.invalid
Ämne: [hobbit] Hobbit 4.0 RC4 available
Automatiskt vidarebefordrat av en regel
    OK, so RC3 was slightly disastrous, and lots of patches have been
    flying around this past week. So to get everyone aligned on the same
    code-base, I've packaged up release candidate #4 which you'll find in
    the usual places: http://sourceforge.net/projects/hobbitmon/ and
    http://www.hswn.dk/beta/

    This of course fixes the bugs that caused RC3 to crash left and right.

    I also have gone over the alert code again, and now believe that it
    has reached a state of Nirvana where it is "obviously correct". In
    other words, alerts should go out as intended; if they don't then
    add the "--trace=FILENAME" option to hobbitd_alert and let me have the
    logfile after you've re-created the problem.

    The flickering purples for disabled tests should be a thing of the
    past.

    Several problems with building on various platforms were resolved.
    As part of this change, you must re-run the configure script to have
    it pickup a couple of new settings that have been added.


    Along the way, I found out that I'd made a slight error of judgment in
    choosing the format of the hobbitlaunch.cfg file. So that has changed!
    If you have modified your hobbitlaunch.cfg - especially if you have
    deleted or commented out sections - I strongly advise you to copy the
    new file over from hobbit-4.0-RC4/etcfiles/, or at least look over the
    differences between that file and your current configuration. "make
    install" will not overwrite the file, but it might re-add sections
    that you have removed; instead of removing them or commenting them
    o ut, add the keyword "DISABLED" to make them permanenly disabled.

    Also, the hobbitserver.cfg file didn't quote the commands added for BB
    client scripts, resulting in errors being logged by some of the
    reporting CGI scripts. So copy over the new hobbitserver.cfg file that
    is generated in hobbitd/etcfiles/ when you build hobbit.


    Full list of changes below.


    Regards,
    Henrik


    Changes from RC-3 -> RC-4

    Bugfixes:
    * Loading the bb-services file no longer causes bbtest-net,
    hobbitd_larrd et al to crash.
    * The alert configuration loader was fixed, so that
    recipient criteria are applied correctly.
    * hobbitd_alert handling of "recovered" status messages was
    slightly broken. This was probably the cause of the
    unexpected "green" alerts that some have reported.
    * SCRIPT recipients can now have a "@" in their names without
    being silently treated as MAIL recipients.
    * An acknowl edge message is now cleared when the status changes
    to an OK color (defined by the --okcolors option). Previously
    it would have to go "green" before the ack was cleared.
    * Acked and disabled statuses can not go purple while the
    acknowledge or disable is valid. This was causing brief flickers
    of purple for tests that were disabled for more than 30 minutes.
    * maint.pl "combo" message support was dropped. This was causing
    runtime warnings, and it has never been possible to send enable
    or disable messages inside combo's (neither with Hobbit nor BB).


    Building Hobbit:
    * bb-infocolumn should build without problems again.

    * The "configure" script now also looks in /opt/csw for
    tools and libraries (for Solaris/x86)

    * An OpenBSD Makefile was contributed.

    * The gcc option "-Wl,--rpath" is now used when linking
    the tools on Linux and *BSD. This should resolve a lot of
    the issues with runtime libraries that cannot be found.*
    * "configure" now looks for your perl utility, and adjusts
    the maint.pl script accordingly.

    * HP-UX does not have an atoll() routine. So a simple
    implementation of this routine was added.


    Configuration file changes:
    * hobbitlaunch.cfg now supports a DISABLED keyword to shut
    off unwanted tasks. This permits upgrading without having
    to re-disable stuff.
    * All commands in hobbitserver.cfg are now quoted, so it
    can be sourced by the CGI scripts without causing errors.
    Note that this is NOT automatically changed in an existing
    configuration file.


    Improvements:
    * The detailed status display now lets you define what graphs
    should be split onto multiple graph images (the "--multigraphs"
    option for bb-hostsvc.cgi and hobbitd_filestore). Currently
    the "disk", "inode" and "qtree" graphs are handled this way.
    * The detailed status display now includes a line showing how
    long an acknowledgment is valid. This is conf igurable via the
    ACKUNTILMSG setting in hobbitserver.cfg.
    * A new "notify" message is supported as part of the Hobbit
    protocol. This takes a normal hostname+testname paramater,
    plus a text message; this is sent out as an informational
    message using the hobbit-alerts.cfg rules to determine recipients.
    This replaces the BB "notify-admin" recipient with a more
    fine-grained and configurable system. Currently used by
    maint.pl when enabling and disabling tests.
    * Alert scripts now receive a CFID environment variable with the
    linenumber of the hobbit-alerts.cfg file that caused this
    alert to go out.
    * A new tool - hobbit-mailack - was added. If setup to run from
    e.g. the Hobbit users' .procmailrc file, you can acknowledge
    alerts by responding to an alert email.
    * Temperature reports now accept additional text in parenthesis
    without being confused.


    -- 
    Henrik Storner

    
    *
list Henrik Størner · Sun, 27 Feb 2005 22:18:17 +0100 ·
quoted from Kevin Hanrahan
On Sun, Feb 27, 2005 at 01:00:38PM -0500, Kevin Hanrahan wrote:
[root at nemesis hobbit-4.0-RC4]# su hobbit
[hobbit at nemesis hobbit-4.0-RC4]$ /home/hobbit/server/bin/starthobbit.sh
start
Hobbit must be started as the apache user
Configuration error (you probably did as I said and ran "configure").
You must have answered "apache" to the question of

    What userid will be running Hobbit [hobbit] ?


Henrik
list Henrik Størner · Sun, 27 Feb 2005 22:22:10 +0100 ·
quoted from Lars Ebeling
On Sun, Feb 27, 2005 at 06:46:07PM +0100, lars ebeling wrote:
Hi All,
 
isn't hobbitd_larrd used or updated?
 
Hobbitd gets yellow with this message:
Latest errormessages:
Unknown option '--purple-conn=conn' - ignored
--purple-conn was removed from hobbitd. It was used to tell hobbitd
the name of the connectivity test, but since this was used by multiple
tools it was moved into an environment variable setting. I mentioned
this in the RC3 release, but forgot about it for RC4.

Just remove that option from hobbitlaunch.cfg.


Henrik
list David Stuffle · Sun, 27 Feb 2005 16:34:13 -0500 ·
Hello,
I just upgraded to RC4.  My hobbit server now has a hobbitd_alert column
that is red.  It says "-Program crashed" - "Fatal signal caught!".  Don't
know if it helps, but I enabled the tracing for hobbitd_alert and attached
the log file.

Also, a test that I had disabled before the upgrade is now showing purple on
the main page, but is blue in the detailed status page.

The new version did seem to fix all my Netware tests (using external script)
from going purple every 30 minutes, and then back to green.

Thanks,
David Stuffle
quoted from Tlp-hobbit

   
-----Original Message-----
From: Henrik Stoerner
To: user-ae9b8668bcde@xymon.invalid; user-31496adb6da5@xymon.invalid
Sent: 2/27/2005 12:03 PM
Subject: [hobbit] Hobbit 4.0 RC4 available

OK, so RC3 was slightly disastrous, and lots of patches have been
flying around this past week. So to get everyone aligned on the same
code-base, I've packaged up release candidate #4 which you'll find in
the usual places: http://sourceforge.net/projects/hobbitmon/ and
http://www.hswn.dk/beta/

This of course fixes the bugs that caused RC3 to crash left and right.

I also have gone over the alert code again, and now believe that it
has reached a state of Nirvana where it is "obviously correct". In
other words, alerts should go out as intended; if they don't then
add the "--trace=FILENAME" option to hobbitd_alert and let me have the
logfile after you've re-created the problem.

The flickering purples for disabled tests should be a thing of the
past.

Several problems with building on various platforms were resolved.
As part of this change, you must re-run the configure script to have
it pickup a couple of new settings that have been added.


Along the way, I found out that I'd made a slight error of judgment in
choosing the format of the hobbitlaunch.cfg file. So that has changed!
If you have modified your hobbitlaunch.cfg - especially if you have
deleted or commented out sections - I strongly advise you to copy the
new file over from hobbit-4.0-RC4/etcfiles/, or at least look over the
differences between that file and your current configuration. "make
install" will not overwrite the file, but it might re-add sections
that you have removed; instead of removing them or commenting them
out, add the keyword "DISABLED" to make them permanenly disabled.

Also, the hobbitserver.cfg file didn't quote the commands added for BB
client scripts, resulting in errors being logged by some of the
reporting CGI scripts. So copy over the new hobbitserver.cfg file that
is generated in hobbitd/etcfiles/ when you build hobbit.


Full list of changes below.


Regards,
Henrik


Changes from RC-3 -> RC-4

Bugfixes:
* Loading the bb-services file no longer causes bbtest-net,
  hobbitd_larrd et al to crash.
* The alert configuration loader was fixed, so that
  recipient criteria are applied correctly.
* hobbitd_alert handling of "recovered" status messages was
  slightly broken. This was probably the cause of the
  unexpected "green" alerts that some have reported.
* SCRIPT recipients can now have a "@" in their names without
  being silently treated as MAIL recipients.
* An acknowledge message is now cleared when the status changes
  to an OK color (defined by the --okcolors option). Previously
  it would have to go "green" before the ack was cleared.
* Acked and disabled statuses can not go purple while the
  acknowledge or disable is valid. This was causing brief flickers
  of purple for tests that were disabled for more than 30 minutes.
* maint.pl "combo" message support was dropped. This was causing
  runtime warnings, and it has never been possible to send enable
  or disable messages inside combo's (neither with Hobbit nor BB).


Building Hobbit:
* bb-infocolumn should build without problems again.

* The "configure" script now also looks in /opt/csw for
  tools and libraries (for Solaris/x86)

* An OpenBSD Makefile was contributed.

* The gcc option "-Wl,--rpath" is now used when linking
  the tools on Linux and *BSD. This should resolve a lot of
  the issues with runtime libraries that cannot be found.

* "configure" now looks for your perl utility, and adjusts
  the maint.pl script accordingly.

* HP-UX does not have an atoll() routine. So a simple 
  implementation of this routine was added.


Configuration file changes:
* hobbitlaunch.cfg now supports a DISABLED keyword to shut
  off unwanted tasks. This permits upgrading without having
  to re-disable stuff.
* All commands in hobbitserver.cfg are now quoted, so it
  can be sourced by the CGI scripts without causing errors.
  Note that this is NOT automatically changed in an existing
  configuration file.


Improvements:
* The detailed status display now lets you define what graphs
  should be split onto multiple graph images (the "--multigraphs"
  option for bb-hostsvc.cgi and hobbitd_filestore). Currently
  the "disk", "inode" and "qtree" graphs are handled this way.
* The detailed status display now includes a line showing how
  long an acknowledgment is valid. This is configurable via the
  ACKUNTILMSG setting in hobbitserver.cfg.
* A new "notify" message is supported as part of the Hobbit 
  protocol. This takes a normal hostname+testname paramater,
  plus a text message; this is sent out as an informational
  message using the hobbit-alerts.cfg rules to determine recipients.
  This replaces the BB "notify-admin" recipient with a more
  fine-grained and configurable system. Currently used by
  maint.pl when enabling and disabling tests.
* Alert scripts now receive a CFID environment variable with the
  linenumber of the hobbit-alerts.cfg file that caused this
  alert to go out.
* A new tool - hobbit-mailack - was added. If setup to run from
  e.g. the Hobbit users' .procmailrc file, you can acknowledge
  alerts by responding to an alert email.
* Temperature reports now accept additional text in parenthesis
  without being confused.


-- 
Henrik Storner


This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the system manager.
Please note that any views or opinions presented in this email are solely
those of the author and do not necessarily represent those of the company.
Finally, the recipient should check this email and any attachments for the
presence of viruses. The company accepts no liability for any damage caused
by any virus transmitted by this email.
list Henrik Størner · Sun, 27 Feb 2005 22:39:12 +0100 ·
quoted from Asif Iqbal
On Sun, Feb 27, 2005 at 03:06:40PM -0500, Asif Iqbal wrote:
On Sun, Feb 27, 2005 at 06:03:24PM, Henrik Stoerner wrote:
[...]
* A new tool - hobbit-mailack - was added. If setup to run from
  e.g. the Hobbit users' .procmailrc file, you can acknowledge
  alerts by responding to an alert email.
[...] 
First of all thanks for creating a new tool for mailack. Now I noticed
in the hobbit-mailack.c file that it won't work without a valid Subject
line. Well when there is a mailack sent from skytel pager--which is what
we use--there is no valid subject comes with it and I attached two
sample emails, ack-email-from-skytel*, and I also attahced the
bb-pagerack.sh that I use if the email comes from skytel pager. Hobbit
checks the email in procmailrc and then redirect it to bb-emailack.sh
or bb-pagerack.sh based on the sender. Also I have two ACL files--one
for pager addresses and one for coporate email addresses--to
check if the sender is allowed to send an 'ACK'. I wonder if these
fetaures can be added in a future release.
This seems pretty specific to your setup, so my initial response would
be that this is the kind of customisation that you should do on your
own.

Your current script for processing the ack-mails should still work,
and Hobbit does handle the "ack ack_event" command that the script
uses to send in the acknowledge. So unless you can convince me to
change my mind, I'll leave this out of Hobbit.


Regards,
Henrik
list Henrik Størner · Sun, 27 Feb 2005 22:44:25 +0100 ·
quoted from David Stuffle
On Sun, Feb 27, 2005 at 04:34:13PM -0500, Stuffle, David wrote:
I just upgraded to RC4.  My hobbit server now has a hobbitd_alert column
that is red.  It says "-Program crashed" - "Fatal signal caught!".  Don't
know if it helps, but I enabled the tracing for hobbitd_alert and attached
the log file.
Your attachment disappeared before reaching my mailbox. But it would
be more helpful if you could send me the hobbitd_alert binary, and the
core file that should have been generated in ~/server/tmp/ . Just send
it directly to me <user-ce4a2c883f75@xymon.invalid> - no need to post it to the list.
quoted from David Stuffle

Also, a test that I had disabled before the upgrade is now showing purple on
the main page, but is blue in the detailed status page.
This might be a left-over from the previous version, since the problem
was that a timestamp was not updated - and this erroneous timestamp is
retained when Hobbit is shutdown, upgraded and restarted. If you re-do
the disable, it should go away and stay that way.
quoted from David Stuffle

The new version did seem to fix all my Netware tests (using external script)
from going purple every 30 minutes, and then back to green.
Good!
list Asif Iqbal · Sun, 27 Feb 2005 16:47:25 -0500 ·
quoted from Henrik Størner
On Sun, Feb 27, 2005 at 10:39:12PM, Henrik Stoerner wrote:
On Sun, Feb 27, 2005 at 03:06:40PM -0500, Asif Iqbal wrote:
On Sun, Feb 27, 2005 at 06:03:24PM, Henrik Stoerner wrote:
[...]
* A new tool - hobbit-mailack - was added. If setup to run from
  e.g. the Hobbit users' .procmailrc file, you can acknowledge
  alerts by responding to an alert email.
[...] 
First of all thanks for creating a new tool for mailack. Now I noticed
in the hobbit-mailack.c file that it won't work without a valid Subject
line. Well when there is a mailack sent from skytel pager--which is what
we use--there is no valid subject comes with it and I attached two
sample emails, ack-email-from-skytel*, and I also attahced the
bb-pagerack.sh that I use if the email comes from skytel pager. Hobbit
checks the email in procmailrc and then redirect it to bb-emailack.sh
or bb-pagerack.sh based on the sender. Also I have two ACL files--one
for pager addresses and one for coporate email addresses--to
check if the sender is allowed to send an 'ACK'. I wonder if these
fetaures can be added in a future release.
This seems pretty specific to your setup, so my initial response would
be that this is the kind of customisation that you should do on your
own.

Your current script for processing the ack-mails should still work,
and Hobbit does handle the "ack ack_event" command that the script
uses to send in the acknowledge. So unless you can convince me to
Unless other people like to send ack through their pager I can't
convince you, hehe. 
change my mind, I'll leave this out of Hobbit.
Like you said I still can use the older format so I am totally dead in
the water :-). Thank you
Regards,
Henrik
quoted from Asif Iqbal

-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
"It is not the strongest of the species that survives, not the most intelligent, but
 the one most responsive to change."    - Charles Darwin
list Kevin Hanrahan · Sun, 27 Feb 2005 17:04:49 -0500 ·
Looks like you were right.....sorry about that 
quoted from Henrik Størner

-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] 
Sent: Sunday, February 27, 2005 4:18 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Hobbit 4.0 RC4 available
Importance: Low

On Sun, Feb 27, 2005 at 01:00:38PM -0500, Kevin Hanrahan wrote:
[root at nemesis hobbit-4.0-RC4]# su hobbit [hobbit at nemesis 
hobbit-4.0-RC4]$ /home/hobbit/server/bin/starthobbit.sh
start
Hobbit must be started as the apache user
Configuration error (you probably did as I said and ran "configure").
You must have answered "apache" to the question of

    What userid will be running Hobbit [hobbit] ?


Henrik
list Henrik Størner · Sun, 27 Feb 2005 23:18:58 +0100 ·
quoted from Henrik Størner
On Sun, Feb 27, 2005 at 04:34:13PM -0500, Stuffle, David wrote:
Hello,
I just upgraded to RC4.  My hobbit server now has a hobbitd_alert column
that is red.  It says "-Program crashed" - "Fatal signal caught!".
Well, one of my own boxes just did the same thing, and it's pretty
obvious what the problem was.

The attached one-line fix should solve this.


Henrik
-------------- next part --------------
--- hobbitd/do_alert.c	2005/02/27 07:53:00	1.49
+++ hobbitd/do_alert.c	2005/02/27 22:16:46
@@ -13,7 +13,7 @@
 /*                                                                            */
 /*----------------------------------------------------------------------------*/
 
-static char rcsid[] = "$Id: do_alert.c,v 1.49 2005/02/27 07:53:00 henrik Exp $";
+static char rcsid[] = "$Id: do_alert.c,v 1.50 2005/02/27 22:16:22 henrik Exp $";
 
 /*
  * The alert API defines three functions that must be implemented:
@@ -953,7 +953,7 @@
 	}
 
 	if (result)
-		traceprintf("*** Match with '%s' ***\n", crit->cfline);
+		traceprintf("*** Match with '%s' ***\n", (crit ? crit->cfline : "<rule line>"));
 	else
 		traceprintf("%s\n", "Failed (color)");
list Al Jeffcoat · Sun, 27 Feb 2005 17:19:56 -0500 ·
Can I just reconfig/make/install, and only copy over my bb-hosts, if
that's all I've modified?

And to ALL, I've turned off the stupid "Read Reciept", sorry about that.

Al Jeffcoat
quoted from David Stuffle


-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] 
Sent: Sunday, February 27, 2005 12:03 PM
To: user-ae9b8668bcde@xymon.invalid; user-31496adb6da5@xymon.invalid
Subject: [hobbit] Hobbit 4.0 RC4 available

OK, so RC3 was slightly disastrous, and lots of patches have been
flying around this past week. So to get everyone aligned on the same
code-base, I've packaged up release candidate #4 which you'll find in
the usual places: http://sourceforge.net/projects/hobbitmon/ and
http://www.hswn.dk/beta/

This of course fixes the bugs that caused RC3 to crash left and right.

I also have gone over the alert code again, and now believe that it
has reached a state of Nirvana where it is "obviously correct". In
other words, alerts should go out as intended; if they don't then
add the "--trace=FILENAME" option to hobbitd_alert and let me have the
logfile after you've re-created the problem.

The flickering purples for disabled tests should be a thing of the
past.

Several problems with building on various platforms were resolved.
As part of this change, you must re-run the configure script to have
it pickup a couple of new settings that have been added.


Along the way, I found out that I'd made a slight error of judgment in
choosing the format of the hobbitlaunch.cfg file. So that has changed!
If you have modified your hobbitlaunch.cfg - especially if you have
deleted or commented out sections - I strongly advise you to copy the
new file over from hobbit-4.0-RC4/etcfiles/, or at least look over the
differences between that file and your current configuration. "make
install" will not overwrite the file, but it might re-add sections
that you have removed; instead of removing them or commenting them
out, add the keyword "DISABLED" to make them permanenly disabled.

Also, the hobbitserver.cfg file didn't quote the commands added for BB
client scripts, resulting in errors being logged by some of the
reporting CGI scripts. So copy over the new hobbitserver.cfg file that
is generated in hobbitd/etcfiles/ when you build hobbit.


Full list of changes below.


Regards,
Henrik


Changes from RC-3 -> RC-4

Bugfixes:
* Loading the bb-services file no longer causes bbtest-net,
  hobbitd_larrd et al to crash.
* The alert configuration loader was fixed, so that
  recipient criteria are applied correctly.
* hobbitd_alert handling of "recovered" status messages was
  slightly broken. This was probably the cause of the
  unexpected "green" alerts that some have reported.
* SCRIPT recipients can now have a "@" in their names without
  being silently treated as MAIL recipients.
* An acknowledge message is now cleared when the status changes
  to an OK color (defined by the --okcolors option). Previously
  it would have to go "green" before the ack was cleared.
* Acked and disabled statuses can not go purple while the
  acknowledge or disable is valid. This was causing brief flickers
  of purple for tests that were disabled for more than 30 minutes.
* maint.pl "combo" message support was dropped. This was causing
  runtime warnings, and it has never been possible to send enable
  or disable messages inside combo's (neither with Hobbit nor BB).


Building Hobbit:
* bb-infocolumn should build without problems again.

* The "configure" script now also looks in /opt/csw for
  tools and libraries (for Solaris/x86)

* An OpenBSD Makefile was contributed.

* The gcc option "-Wl,--rpath" is now used when linking
  the tools on Linux and *BSD. This should resolve a lot of
  the issues with runtime libraries that cannot be found.

* "configure" now looks for your perl utility, and adjusts
  the maint.pl script accordingly.

* HP-UX does not have an atoll() routine. So a simple 
  implementation of this routine was added.


Configuration file changes:
* hobbitlaunch.cfg now supports a DISABLED keyword to shut
  off unwanted tasks. This permits upgrading without having
  to re-disable stuff.
* All commands in hobbitserver.cfg are now quoted, so it
  can be sourced by the CGI scripts without causing errors.
  Note that this is NOT automatically changed in an existing
  configuration file.


Improvements:
* The detailed status display now lets you define what graphs
  should be split onto multiple graph images (the "--multigraphs"
  option for bb-hostsvc.cgi and hobbitd_filestore). Currently
  the "disk", "inode" and "qtree" graphs are handled this way.
* The detailed status display now includes a line showing how
  long an acknowledgment is valid. This is configurable via the
  ACKUNTILMSG setting in hobbitserver.cfg.
* A new "notify" message is supported as part of the Hobbit 
  protocol. This takes a normal hostname+testname paramater,
  plus a text message; this is sent out as an informational
  message using the hobbit-alerts.cfg rules to determine recipients.
  This replaces the BB "notify-admin" recipient with a more
  fine-grained and configurable system. Currently used by
  maint.pl when enabling and disabling tests.
* Alert scripts now receive a CFID environment variable with the
  linenumber of the hobbit-alerts.cfg file that caused this
  alert to go out.
* A new tool - hobbit-mailack - was added. If setup to run from
  e.g. the Hobbit users' .procmailrc file, you can acknowledge
  alerts by responding to an alert email.
* Temperature reports now accept additional text in parenthesis
  without being confused.


-- 
Henrik Storner


This e-mail message and any attached files are confidential and are intended solely for the use of the addressee(s) named above. If you are not the intended recipient, any review, use, or distribution of this e-mail message and any attached files is strictly prohibited. This communication may contain material protected by Federal privacy regulations, attorney-client work product, or other privileges. If you have received this confidential communication in error, please notify the sender immediately by reply e-mail message and permanently delete the original message.  To reply to our email administrator directly, send an email to:  user-ecde3bbc361d@xymon.invalid .  If this e-mail message concerns a contract matter, be advised that no employee or agent is authorized to conclude any binding agreement on behalf of Orlando Regional Healthcare by e-mail without express written confirmation by an officer of the corporation. Any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of Orlando Regional Healthcare.
list Henrik Størner · Sun, 27 Feb 2005 22:29:14 +0000 (UTC) ·
quoted from Al Jeffcoat
In <user-21b9608b18ee@xymon.invalid> "Jeffcoat, Al" <user-b34a8ad6e24c@xymon.invalid> writes:
Can I just reconfig/make/install, and only copy over my bb-hosts, if
that's all I've modified?
Yep, no problem. In fact, you don't need to install into a new
directory; it's quite OK to install on top of your current setup.
Just copy over the hobbitd/etcfiles/hobbitlaunch.cfg file then.

And to ALL, I've turned off the stupid "Read Reciept", sorry about that.
Good idea :-)


Henrik
list Asif Iqbal · Sun, 27 Feb 2005 18:18:36 -0500 ·
quoted from Asif Iqbal
On Sun, Feb 27, 2005 at 04:47:25PM, Asif Iqbal wrote:
On Sun, Feb 27, 2005 at 10:39:12PM, Henrik Stoerner wrote:
On Sun, Feb 27, 2005 at 03:06:40PM -0500, Asif Iqbal wrote:
On Sun, Feb 27, 2005 at 06:03:24PM, Henrik Stoerner wrote:
[...]
* A new tool - hobbit-mailack - was added. If setup to run from
  e.g. the Hobbit users' .procmailrc file, you can acknowledge
  alerts by responding to an alert email.
[...] > > > > First of all thanks for creating a new tool for mailack. Now I noticed
[...]
This seems pretty specific to your setup, so my initial response would
be that this is the kind of customisation that you should do on your
own.
Your current script for processing the ack-mails should still work,
and Hobbit does handle the "ack ack_event" command that the script
uses to send in the acknowledge. So unless you can convince me to
Unless other people like to send ack through their pager I can't
convince you, hehe. 
change my mind, I'll leave this out of Hobbit.
Like you said I still can use the older format so I am totally dead in
I meant I am NOT totally dead in water.
the water :-). Thank you
quoted from Asif Iqbal

-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
"It is not the strongest of the species that survives, not the most intelligent, but
 the one most responsive to change."    - Charles Darwin
list David Stuffle · Sun, 27 Feb 2005 18:32:36 -0500 ·
Henrik,
Just to make sure I did it right, I put the patch in the hobbit-4.0-RC4 dir,
did the following:
patch -p0 <RC4-hobbitd_alert-crash.patch
rm Makefile
./configure
make
make install

Restarted hobbit, and now the hobbitd_alert went purple.  I don't see any
core files anymore.  Are you seeing this same thing?
quoted from Henrik Størner

Thanks,
David Stuffle


-----Original Message-----
From: Henrik Stoerner
To: user-ae9b8668bcde@xymon.invalid
Sent: 2/27/2005 5:18 PM
Subject: Re: [hobbit] Hobbit 4.0 RC4 available

On Sun, Feb 27, 2005 at 04:34:13PM -0500, Stuffle, David wrote:
Hello,
I just upgraded to RC4.  My hobbit server now has a hobbitd_alert
column
that is red.  It says "-Program crashed" - "Fatal signal caught!".
Well, one of my own boxes just did the same thing, and it's pretty
obvious what the problem was.

The attached one-line fix should solve this.


Henrik

 <<RC4-hobbitd_alert-crash.patch>>  <<ATT88548.txt>> 
quoted from David Stuffle
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the system manager.
Please note that any views or opinions presented in this email are solely
those of the author and do not necessarily represent those of the company.
Finally, the recipient should check this email and any attachments for the
presence of viruses. The company accepts no liability for any damage caused
by any virus transmitted by this email.
list Al Jeffcoat · Sun, 27 Feb 2005 21:00:58 -0500 ·
Ok... I did a fresh install of RC4, and now, it does not generate an
index.html in the web directory :)  I also noticed that the step that
asks for the log directory isn't there anymore, and it produces no logs,
think the default was /var/log/hobbit.

Al Jeffcoat
IBM Certified Support Specialist, AIX
Enterprise Storage Administrator
System Programmer II
(321)843-1051
user-b34a8ad6e24c@xymon.invalid
quoted from Al Jeffcoat


-----Original Message-----
From: Henrik Storner [mailto:user-ce4a2c883f75@xymon.invalid] 
Sent: Sunday, February 27, 2005 5:29 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Hobbit 4.0 RC4 available

In <user-21b9608b18ee@xymon.invalid> "Jeffcoat,
Al" <user-b34a8ad6e24c@xymon.invalid> writes:
Can I just reconfig/make/install, and only copy over my bb-hosts, if
that's all I've modified?
Yep, no problem. In fact, you don't need to install into a new
directory; it's quite OK to install on top of your current setup.
Just copy over the hobbitd/etcfiles/hobbitlaunch.cfg file then.

And to ALL, I've turned off the stupid "Read Reciept", sorry about
that.
Good idea :-)


Henrik


This e-mail message and any attached files are confidential and are intended solely for the use of the addressee(s) named above. If you are not the intended recipient, any review, use, or distribution of this e-mail message and any attached files is strictly prohibited. This communication may contain material protected by Federal privacy regulations, attorney-client work product, or other privileges. If you have received this confidential communication in error, please notify the sender immediately by reply e-mail message and permanently delete the original message.  To reply to our email administrator directly, send an email to:  user-ecde3bbc361d@xymon.invalid .  If this e-mail message concerns a contract matter, be advised that no employee or agent is authorized to conclude any binding agreement on behalf of Orlando Regional Healthcare by e-mail without express written confirmation by an officer of the corporation. Any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of Orlando Regional Healthcare.
list Henrik Størner · Mon, 28 Feb 2005 07:29:27 +0100 ·
quoted from David Stuffle
On Sun, Feb 27, 2005 at 06:32:36PM -0500, Stuffle, David wrote:
Henrik,
Just to make sure I did it right, I put the patch in the hobbit-4.0-RC4 dir,
did the following:
patch -p0 <RC4-hobbitd_alert-crash.patch
rm Makefile
./configure
make
make install
That completely correct. You didn't need to re-do the ./configure, but
it doesn't harm.
quoted from David Stuffle
Restarted hobbit, and now the hobbitd_alert went purple.  I don't see any
core files anymore.  Are you seeing this same thing?
The hobbitd_alert message is only sent when there's a crash, so it
going purple is actually a good sign, because it means that everything
runs as it should :-)

Just drop this status with 
    ~/server/bin/bb 127.0.0.1 "drop HOBBITSERVERNAME.hobbitd_alert"


Regards,
Henrik
list Lars Ebeling · Mon, 28 Feb 2005 08:08:17 +0100 (CET) ·
Everything looks fine on HP-UX 11.11 . Compilation and installation went well.
 
I'm happy to have a Hobbitinstallation at home .
 
I don't know if there are any special tests you want to be done.
 
http://62.119.162.107/hobbit/   will only be open for a short while.
quoted from Al Jeffcoat
 
Regards
Lars

Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> wrote:

Från: Henrik Stoerner[SMTP:user-ce4a2c883f75@xymon.invalid]
Skickat: den 27 februari 2005 18:03:24
Till: user-ae9b8668bcde@xymon.invalid; user-31496adb6da5@xymon.invalid
Ämne: [hobbit] Hobbit 4.0 RC4 available
Automatiskt vidarebefordrat av en regel
OK, so RC3 was slightly disastrous, and lots of patches have been
flying around this past week. So to get everyone aligned on the same
code-base, I've packaged up release candidate #4 which you'll find in
the usual places: http://sourceforge.net/projects/hobbitmon/ and
http://www.hswn.dk/beta/

This of course fixes the bugs that caused RC3 to crash left and right.

I also have gone over the alert code again, and now believe that it
has reached a state of Nirvana where it is "obviously correct". In
other words, alerts should go out as intended; if they don't then
add the "--trace=FILENAME" option to hobbitd_alert and let me have the
logfile after you've re-created the problem.

The flickering purples for disabled tests should be a thing of the
past.

Several problems with building on various platforms were resolved.
As part of this change, you must re-run the configure script to have
it pickup a couple of new settings that have been added.


Along the way, I found out that I'd made a slight error of judgment in
choosing the format of the hobbitlaunch.cfg file. So that has changed!
If you have modified your hobbitlaunch.cfg - especially if you have
deleted or commented out sections - I strongly advise you to copy the
new file over from hobbit-4.0-RC4/etcfiles/, or at least look over the
differences between that file and your current configuration. "make
install" will not overwrite the file, but it might re-add sections
that you have removed; instead of removing them or commenting them
out, add the keyword "DISABLED" to make them permanenly disabled.

Also, the hobbitserver.cfg file didn't quote the commands added for BB
client scripts, resulting in errors being logged by some of the
reporting CGI scripts. So copy over the new hobbitserver.cfg file that
is generated in hobbitd/etcfiles/ when you build hobbit.


Full list of changes below.


Regards,
Henrik


Changes from RC-3 -> RC-4

Bugfixes:
* Loading the bb-services file no longer causes bbtest-net,
hobbitd_larrd et al to crash.
* The alert configuration loader was fixed, so that
recipient criteria are applied correctly.
* hobbitd_alert handling of "recovered" status messages was
slightly broken. This was probably the cause of the
unexpected "green" alerts that some have reported.
* SCRIPT recipients can now have a "@" in their names without
being silently treated as MAIL recipients.
* An acknowledge message is now cleared when the status changes
to an OK color (defined by the --okcolors option). Previously
it would have to go "green" before the ack was cleared.
* Acked and disabled statuses can not go purple while the
acknowledge or disable is valid. This was causing brief flickers
of purple for tests that were disabled for more than 30 minutes.
* maint.pl "combo" message support was dropped. This was causing
runtime warnings, and it has never been possible to send enable
or disable messages inside combo's (neither with Hobbit nor BB).


Building Hobbit:
* bb-infocolumn should build without problems again.

* The "configure" script now also looks in /opt/csw for
tools and libraries (for Solaris/x86)

* An OpenBSD Makefile was contributed.

* The gcc option "-Wl,--rpath" is now used when linking
the tools on Linux and *BSD. This should resolve a lot of
the issues with runtime libraries that cannot be found.

* "configure" now looks for your perl utility, and adjusts
the maint.pl script accordingly.

* HP-UX does not have an atoll() routine. So a simple 
implementation of this routine was added.


Configuration file changes:
* hobbitlaunch.cfg now supports a DISABLED keyword to shut
off unwanted tasks. This permits upgrading without having
to re-disable stuff.
* All commands in hobbitserver.cfg are now quoted, so it
can be sourced by the CGI scripts without causing errors.
Note that this is NOT automatically changed in an existing
configuration file.


Improvements:
* The detailed status display now lets you define what graphs
should be split onto multiple graph images (the "--multigraphs"
option for bb-hostsvc.cgi and hobbitd_filestore). Currently
the "disk", "inode" and "qtree" graphs are handled this way.
* The detailed status display now includes a line showing how
long an acknowledgment is valid. This is configurable via the
ACKUNTILMSG setting in hobbitserver.cfg.
* A new "notify" message is supported as part of the Hobbit 
protocol. This takes a normal hostname+testname paramater,
plus a text message; this is sent out as an informational
message using the hobbit-alerts.cfg rules to determine recipients.
This replaces the BB "notify-admin" recipient with a more
fine-grained and configurable system. Currently used by
maint.pl when enabling and disabling tests.
* Alert scripts now receive a CFID environment variable with the
linenumber of the hobbit-alerts.cfg file that caused this
alert to go out.
* A new tool - hobbit-mailack - was added. If setup to run from
e.g. the Hobbit users' .procmailrc file, you can acknowledge
alerts by responding to an alert email.
* Temperature reports now accept additional text in parenthesis
without being confused.


-- 
Henrik Storner
list Henrik Størner · Mon, 28 Feb 2005 09:27:07 +0100 ·
On Mon, Feb 28, 2005 at 08:08:17AM +0100, lars ebeling wrote:
Everything looks fine on HP-UX 11.11 . Compilation and installation went well.
Congratulations :-)
quoted from Lars Ebeling
I'm happy to have a Hobbitinstallation at home .
 
I don't know if there are any special tests you want to be done.
Getting the thing compiled and running is what really causes problems
during porting. I can see you have the graphs and CGI scripts working,
so it seems we can declare success on HP-UX.

Thanks for seeing this through.


Regards,
Henrik
list Lars Ebeling · Mon, 28 Feb 2005 12:26:06 +0100 (CET) ·
Unfortunately I did some wrong thinking, so now I have a purple figure on leopg7.bbd that I can't get rid of.
 
Regards
Lars
quoted from Lars Ebeling

lars ebeling <user-b8ea1138b488@xymon.invalid> wrote:


Från:   lars ebeling[SMTP:user-b8ea1138b488@xymon.invalid] 
Skickat:      den 28 februari 2005 08:08:17 
Till:      user-ae9b8668bcde@xymon.invalid 
Ämne:     Re: [hobbit] Hobbit 4.0 RC4 available 
Automatiskt vidarebefordrat av en regel

Everything looks fine on HP-UX 11.11 . Compilation and installation went well.
 
I'm happy to have a Hobbitinstallation at home .
 
I don't know if there are any special tests you want to be done.
 
http://62.119.162.107/hobbit/   will only be open for a short while.
 
Regards
Lars

Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> wrote:

Från: Henrik Stoerner[SMTP:user-ce4a2c883f75@xymon.invalid]
Skickat: den 27 februari 2005 18:03:24
Till: user-ae9b8668bcde@xymon.invalid; user-31496adb6da5@xymon.invalid
Ämne: [hobbit] Hobbit 4.0 RC4 available
Automatiskt vidarebefordrat av en regel
OK, so RC3 was slightly disastrous, and lots of patches have been
flying around this past week. So to get everyone aligned on the same
code-base, I've packaged up release candidate #4 which you'll find in
the usual places: http://sourceforge.net/projects/hobbitmon/ and
http://www.hswn.dk/beta/

This of course fixes the bugs that caused RC3 to crash left and right.

I also have gone over the alert code again, and now believe that it
has reached a state of Nirvana where it is "obviously correct". In
other words, alerts should go out as intended; if they don't then
add the "--trace=FILENAME" option to hobbitd_alert and let me have the
logfile after you've re-created the problem.

The flickering purples for disabled tests should be a thing of the
past.

Several problems with building on various platforms were resolved.
As part of this change, you must re-run the configure script to have
it pickup a couple of new settings that have been added.


Along the way, I found out that I'd made a slight error of judgment in
choosing the format of the hobbitlaunch.cfg file. So that has changed!
If you have modified your hobbitlaunch.cfg - especially if you have
deleted or commented out sections - I strongly advise you to copy the
new file over from hobbit-4.0-RC4/etcfiles/, or at least look over the
differences between that file and your current configuration. "make
install" will not overwrite the file, but it might re-add sections
that you have removed; instead of removing them or commenting them
o ut, add the keyword "DISABLED" to make them permanenly disabled.

Also, the hobbitserver.cfg file didn't quote the commands added for BB
client scripts, resulting in errors being logged by some of the
reporting CGI scripts. So copy over the new hobbitserver.cfg file that
is generated in hobbitd/etcfiles/ when you build hobbit.


Full list of changes below.


Regards,
Henrik


Changes from RC-3 -> RC-4

Bugfixes:
* Loading the bb-services file no longer causes bbtest-net,
hobbitd_larrd et al to crash.
* The alert configuration loader was fixed, so that
recipient criteria are applied correctly.
* hobbitd_alert handling of "recovered" status messages was
slightly broken. This was probably the cause of the
unexpected "green" alerts that some have reported.
* SCRIPT recipients can now have a "@" in their names without
being silently treated as MAIL recipients.
* An acknowl edge message is now cleared when the status changes
to an OK color (defined by the --okcolors option). Previously
it would have to go "green" before the ack was cleared.
* Acked and disabled statuses can not go purple while the
acknowledge or disable is valid. This was causing brief flickers
of purple for tests that were disabled for more than 30 minutes.
* maint.pl "combo" message support was dropped. This was causing
runtime warnings, and it has never been possible to send enable
or disable messages inside combo's (neither with Hobbit nor BB).


Building Hobbit:
* bb-infocolumn should build without problems again.

* The "configure" script now also looks in /opt/csw for
tools and libraries (for Solaris/x86)

* An OpenBSD Makefile was contributed.

* The gcc option "-Wl,--rpath" is now used when linking
the tools on Linux and *BSD. This should resolve a lot of
the issues with runtime libraries that cannot be found.
* "configure" now looks for your perl utility, and adjusts
the maint.pl script accordingly.

* HP-UX does not have an atoll() routine. So a simple 
implementation of this routine was added.


Configuration file changes:
* hobbitlaunch.cfg now supports a DISABLED keyword to shut
off unwanted tasks. This permits upgrading without having
to re-disable stuff.
* All commands in hobbitserver.cfg are now quoted, so it
can be sourced by the CGI scripts without causing errors.
Note that this is NOT automatically changed in an existing
configuration file.


Improvements:
* The detailed status display now lets you define what graphs
should be split onto multiple graph images (the "--multigraphs"
option for bb-hostsvc.cgi and hobbitd_filestore). Currently
the "disk", "inode" and "qtree" graphs are handled this way.
* The detailed status display now includes a line showing how
long an acknowledgment is valid. This is conf igurable via the
ACKUNTILMSG setting in hobbitserver.cfg.
* A new "notify" message is supported as part of the Hobbit 
protocol. This takes a normal hostname+testname paramater,
plus a text message; this is sent out as an informational
message using the hobbit-alerts.cfg rules to determine recipients.
This replaces the BB "notify-admin" recipient with a more
fine-grained and configurable system. Currently used by
maint.pl when enabling and disabling tests.
* Alert scripts now receive a CFID environment variable with the
linenumber of the hobbit-alerts.cfg file that caused this
alert to go out.
* A new tool - hobbit-mailack - was added. If setup to run from
e.g. the Hobbit users' .procmailrc file, you can acknowledge
alerts by responding to an alert email.
* Temperature reports now accept additional text in parenthesis
without being confused.


-- 
Henrik Storner
list Henrik Størner · Mon, 28 Feb 2005 12:27:36 +0000 (UTC) ·
quoted from Lars Ebeling
In <user-536b546f5333@xymon.invalid> lars ebeling <user-b8ea1138b488@xymon.invalid> writes:
Unfortunately I did some wrong thinking, so now I have a purple
figure on leopg7.bbd that I can't get rid of.
~hobbit/server/bin/bb 127.0.0.1 "drop HOSTNAME.bbd"

It's in the "tips-n-tricks" document.


Henrik
list Lars Ebeling · Mon, 28 Feb 2005 13:35:15 +0100 (CET) ·
Yeah, I saw that in another mail, but in that mail and in Tips and Tricks it says: 
 ~/server/bin/bb 127.0.0.1 "drop HOSTNAME ftp"

Without a dot.
 
Regards
Lars
quoted from Henrik Størner

Henrik Storner <user-ce4a2c883f75@xymon.invalid> wrote:

Från: Henrik Storner[SMTP:user-ce4a2c883f75@xymon.invalid]
Skickat: den 28 februari 2005 13:27:36
Till: user-ae9b8668bcde@xymon.invalid
Ämne: Re: [hobbit] Hobbit 4.0 RC4 available
Automatiskt vidarebefordrat av en regel
In <user-536b546f5333@xymon.invalid> lars ebeling writes:
Unfortunately I did some wrong thinking, so now I have a purple
figure on leopg7.bbd that I can't get rid of.
~hobbit/server/bin/bb 127.0.0.1 "drop HOSTNAME.bbd"

It's in the "tips-n-tricks" document.


Henrik
list Lars Ebeling · Mon, 28 Feb 2005 13:38:37 +0100 (CET) ·
Yeah, I saw that in another mail, but in that mail and in Tips and Tricks it says: 
 ~/server/bin/bb 127.0.0.1 "drop HOSTNAME ftp"

Without a dot.
 
Regards
Lars

Henrik Storner <user-ce4a2c883f75@xymon.invalid> wrote:

Från: Henrik Storner[SMTP:user-ce4a2c883f75@xymon.invalid]
Skickat: den 28 februari 2005 13:27:36
Till: user-ae9b8668bcde@xymon.invalid
Ämne: Re: [hobbit] Hobbit 4.0 RC4 available
Automatiskt vidarebefordrat av en regel
In <user-536b546f5333@xymon.invalid> lars ebeling writes:
Unfortunately I did some wrong thinking, so now I have a purple
figure on leopg7.bbd that I can't get rid of.
~hobbit/server/bin/bb 127.0.0.1 "drop HOSTNAME.bbd"

It's in the "tips-n-tricks" document.


Henrik
list Henrik Størner · Mon, 28 Feb 2005 13:44:53 +0100 ·
quoted from Lars Ebeling
On Mon, Feb 28, 2005 at 01:35:15PM +0100, lars ebeling wrote:
Yeah, I saw that in another mail, but in that mail and in Tips and Tricks it says: 
 ~/server/bin/bb 127.0.0.1 "drop HOSTNAME ftp"

Without a dot.
Oh well, if in doubt follow the docs.


Henrik