Hobbit 4.1.2 Release Candidate now available.
list Henrik Størner
The first release candidate for Hobbit 4.1.2 is now available at http://www.hswn.dk/beta/ It will also be uploaded to hobbitmon.sourceforge.net shortly. Loads of bugfixes and minor improvements, especially in the new Hobbit client code. See the attached Changes logfile. Please test this if you can, and report any bugs to user-ae9b8668bcde@xymon.invalid. If no major disasters show up, I expect to release the final 4.1.2 early next week. Regards, Henrik -------------- next part -------------- Changes from 4.1.1 -> 4.1.2 NOTE: If you are upgrading from 4.1.1, you MUST change the ~hobbit/server/etc/hobbit-clients.cfg file and add a line with the text "DEFAULT" before the default settings in the file. Bugfixes: * The hobbit module handling client reports had several bugs in the way it interpreted the hobbit-clients.cfg file. These were fixed, but this necessitated that the default settings are explicitly flagged with a "DEFAULT" line. * When multiple recipients of an alert had different minimum duration and/or repeat-settings, they would mostly use only the settings for the first recipient. * The alert module could continue sending alerts even though the rules in hobbit-alerts.cfg that triggered the alert had been modified. * The hobbitd daemon would leak memory when responding to a "query" request. In extreme circumstances, it could also crash. * The hobbitd_alert module could leak tiny amounts of memory. * The default timeouts on the server- and client-side have been increased to allow some more time to send in status messages. Because of Hobbit's more agressive use of "combo" messages and larger amounts of data, it could timeout prematurely on busy servers. * Hosts flagged with "nobb2" no longer appear in the acknowledge log on the BB2 page. * The size of the shared-memory buffers used to pass data between the core hobbit daemon and the hobbitd_* modules has been increased, allowing for larger messages. These are now also configurable, so you can change them without having to recompile Hobbit (see the MAXMSG_* settings in hobbitserver.cfg(5)). * bbproxy: When sending to multiple servers and the connection to one server fails, continue feeding a message to the other servers instead of dropping it completely. * bbproxy: Rotating the logs will now also rotate the logfile for any debugging output. * The RSS files now escape special characters, to make sure the file has a valid RSS XML syntax. * The "cpu" status from a Hobbit client with a critical load would include texts showing both that the load was "high" and "critical". Changed to include only the most severe condition. * The "ncv" (name-colon-value) data handler could easily read past end of input, and mis-interpret the input data. Fixed by Matti Klock. Build fixes: * An "autoconf" type of script is now used to check for some of the more common build problems. This should make the client build without problems on more platforms. * The "configure" script will now recognize the "hobbit" user on systems using NIS or NIS+. * "make install" would fail to set the proper permissions for the Hobbit client directories. * The pre-built Debian- and RPM-packages failed to flag the client configuration files as such, so they would be overwritten by an upgrade. Note that this fix only takes effect AFTER you have installed the new .deb or .rpm files. * The pre-built Debian- and RPM-packages failed to set permissions on the client logs/ and tmp/ directories. * A separate "hobbit-client" package is now generated in both .rpm and .deb format. * A bug in the "merge-sects" installation utility has been fixed. This could cause the installation to abort prematurely. Server improvements: * The acknowledge log on the BB 2 page now has a configurable max number and max time of the entries listed, via the --max-ackcount and --max-acktime options for bbgen. * The eventlog script now lets you filter out events based on the hostname, testname, color, and start/stop times. Thanks to Eric Schwimmer for contributing this. * The "netstat" statistics module has been upgraded to collect byte-counter statistics for HP-UX, AIX, OSF/1 and *BSD. This might only work with the Hobbit client, not the BB/LARRD bf-netstat module. * A "group-except" definition is now supported in the bb-hosts file, to show all tests EXCEPT certain ones for a group of hosts. * A "noclear" tag has been added. This is the equivalent of defining all network test with the '~' - "always report true status" - flag. * RPC tests now only run if the ping check of the server did not fail. * The default size of the RRD graphs can be defined via the RRDHEIGHT and RRDWIDTH settings in hobbitserver.cfg. * The hobbitgraph CGI can now generate comparison graphs with e.g. the load graphs from multiple hosts. However, a front-end tool for requsting these has not yet been created. * Stale RRD files (.rrd files that haven't been updated for more than 1 day) are no longer included when generating the graphs on the status pages. They still show up if you view the graphs on the "trends" status column. * The hobbit-confreport CGI is now installed correctly, including an item in the "Reports" menu. * The "info" column now include the "uname" data from the Hobbit client, allowing you to see what operating system is running on the host. Client improvements: * The "runclient.sh" script now accepts two commandline options: "--hostname=CLIENT.HOST.NAME" lets you override the default hostname that the client uses when it reports data to Hobbit; "--os=OSNAME" lets you override the operating system name for certain Linux systems. See the README.CLIENT file. * The client is now re-locatable. I.e. you can pack up the "client" directory and move it to another box or another location for easier deployment of the client on multiple boxes running the same operating system. * Client installations on NIS-based systems should now work. * AIX is now supported - has been tested with 4.3.3 and 5.x. * OSF/1 is now supported (4.x and 5.x) * HP-UX support should work * Darwin / Mac OS X is now supported. * {Free,Net,Open}BSD-based systems failed to build the meminfo tool, so memory reporting was broken. * Solaris clients now reports all types of filesystems (notably "vxfs" filesystems were omitted before). * The client configuration now lets you check for filesystems that MUST be mounted. * The clients now switch locale to use the POSIX locale - previously the system locale was used, which could result in status messages in languages that the backend did not expect. Other: * A new utility "demotool" can be used to simulate a number of servers to Hobbit. This may be useful when demonstrating Hobbit to new users. Note: This is not included in the default build - to build it, run "make demo-build".
list Craig Whilding
When I installed the client earlier on a redhat ES3 system I set the install dir as /usr/local/hobbit. Running the client produced errors cannot find /bin/bb and cannot find /bin/hobbitclient-linux.sh as it had set hobbit home as /usr/local/hobbit and hobbitclient.sh was looking for the above files here instead of the client subdirectory. Craig
▸
-----Original Message----- From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] Sent: 03 October 2005 15:15 To: user-ae9b8668bcde@xymon.invalid Subject: [hobbit] Hobbit 4.1.2 Release Candidate now available. The first release candidate for Hobbit 4.1.2 is now available at http://www.hswn.dk/beta/ It will also be uploaded to hobbitmon.sourceforge.net shortly. Loads of bugfixes and minor improvements, especially in the new Hobbit client code. See the attached Changes logfile. Please test this if you can, and report any bugs to user-ae9b8668bcde@xymon.invalid. If no major disasters show up, I expect to release the final 4.1.2 early next week. Regards, Henrik
list Henrik Størner
▸
On Mon, Oct 03, 2005 at 07:46:08AM -0700, Whilding, Craig wrote:
When I installed the client earlier on a redhat ES3 system I set the install dir as /usr/local/hobbit. Running the client produced errors cannot find /bin/bb and cannot find /bin/hobbitclient-linux.sh as it had set hobbit home as /usr/local/hobbit and hobbitclient.sh was looking for the above files here instead of the client subdirectory.
Have you tried it with the current version ? The client should now be completely relocatable, adjusting paths according to the location of the runclient.sh script. Henrik
list Craig Whilding
I downloaded it about 1200 GMT today.
▸
Craig
-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid]
Sent: 03 October 2005 15:57
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Hobbit 4.1.2 Release Candidate now available.
On Mon, Oct 03, 2005 at 07:46:08AM -0700, Whilding, Craig wrote:When I installed the client earlier on a redhat ES3 system I set the install dir as /usr/local/hobbit. Running the client produced errors cannot find /bin/bb and cannot find /bin/hobbitclient-linux.sh as it had set hobbit home as /usr/local/hobbit and hobbitclient.sh was looking for the above files here instead of the client subdirectory.
Have you tried it with the current version ? The client should now be completely relocatable, adjusting paths according to the location of the runclient.sh script. Henrik
list Frédéric Mangeant
▸
Henrik Stoerner a écrit :
Please test this if you can, and report any bugs to user-ae9b8668bcde@xymon.invalid. If no major disasters show up, I expect to release the final 4.1.2 early next week.
Hi Henrik just a note, on systems with GNU coreutils 5.2, I get a bunch of messages like this when making Hobbit (all versions) : head: `-1' option is obsolete; use `-n 1' since this will be removed in the future The other way to get of this message is to use this variable : $ export _POSIX2_VERSION=199209 Regards, -- Frédéric Mangeant Steria EDC Sophia-Antipolis
list Alan Sparks
Is there a setting for the Hobbit client (testing 4.1.2 rc1 at the moment) that controls line length on the reporting? I am trying to set up some process tests, but I note that the "ps" listings in the proc tests are truncated on the right, and missing a large part of some long process names (for instance, "/usr/lib/hobbit/client/bin/hobbitlaunch" is rendered as "/usr/lib/hobbit/client/bin/hobbi" The command I see in the "hobbitclient-linux.sh" script is "ps -ef", which shouldn't be truncating the right side... am I missing something? Thanks in advance. -Alan -- Alan Sparks, UNIX/Linux Systems Integration and Administration <user-8f2174fd8b66@xymon.invalid>
list Alan Sparks
▸
Alan Sparks wrote:
Is there a setting for the Hobbit client (testing 4.1.2 rc1 at the moment) that controls line length on the reporting? I am trying to set up some process tests, but I note that the "ps" listings in the proc tests are truncated on the right, and missing a large part of some long process names (for instance, "/usr/lib/hobbit/client/bin/hobbitlaunch" is rendered as "/usr/lib/hobbit/client/bin/hobbi" The command I see in the "hobbitclient-linux.sh" script is "ps -ef", which shouldn't be truncating the right side... am I missing something? Thanks in advance. -Alan
Replying to my own message: I changed the hobbitclient-linux.sh script to run "ps -efw" and got the longer display. This incidentally is a CentOS 3.5 (RHEL3-like) box. -Alan • Alan Sparks, UNIX/Linux Systems Integration and Administration <user-8f2174fd8b66@xymon.invalid>
list Henrik Størner
▸
On Tue, Oct 04, 2005 at 09:49:31PM -0600, Alan Sparks wrote:
Alan Sparks wrote:Is there a setting for the Hobbit client (testing 4.1.2 rc1 at the moment) that controls line length on the reporting? I am trying to set up some process tests, but I note that the "ps" listings in the proc tests are truncated on the right, and missing a large part of some long process names (for instance,Replying to my own message: I changed the hobbitclient-linux.sh script to run "ps -efw" and got the longer display. This incidentally is a CentOS 3.5 (RHEL3-like) box.
Seems to be the right thing to do. I've added the "w" to my hobbitclient-linux.sh standard setup. Thanks, Henrik
list Henrik Størner
▸
In <user-8974d369806e@xymon.invalid> Fr�d�ric Mangeant <user-b6ea1d850181@xymon.invalid> writes:
just a note, on systems with GNU coreutils 5.2, I get a bunch of messages like this when making Hobbit (all versions) :
head: `-1' option is obsolete; use `-n 1' since this will be removed in the future
OK, I've modified the build scripts to use this.
Thanks,
Henrik
list Figaro Nicolas
I still have this message when I try to configure hobbit on my AIX server : Checking for RRDtool ... make: cc: Command not found make: *** [test-compile] Error 127 Not RRDtool 1.0.x, checking for 1.2.x make: cc: Command not found make: *** [test-compile] Error 127 ERROR: RRDtool include files found in /usr/local/include, but compile fails. Is there a way I can set the cc binary like the GMAKE ? (ie CC=/my/path/to/gcc ./configure --server) Nicolas Figaro
▸
-----Message d'origine----- De : Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] Envoyé : lundi 3 octobre 2005 16:15 À : user-ae9b8668bcde@xymon.invalid Objet : [hobbit] Hobbit 4.1.2 Release Candidate now available. The first release candidate for Hobbit 4.1.2 is now available at http://www.hswn.dk/beta/ It will also be uploaded to hobbitmon.sourceforge.net shortly. Loads of bugfixes and minor improvements, especially in the new Hobbit client code. See the attached Changes logfile. Please test this if you can, and report any bugs to user-ae9b8668bcde@xymon.invalid. If no major disasters show up, I expect to release the final 4.1.2 early next week. Regards, Henrik
list Henrik Størner
▸
On Thu, Oct 06, 2005 at 02:47:54PM +0200, FIGARO Nicolas wrote:
I still have this message when I try to configure hobbit on my AIX server : Checking for RRDtool ... make: cc: Command not found Is there a way I can set the cc binary like the GMAKE ? (ie CC=/my/path/to/gcc ./configure --server)
You can change the CC setting in build/Makefile.<your OS name> Henrik
list Anatoli Bogajewski
Hello folks, i am trying to implement the mailq check feature, but it seems that i am missing the right mailq script. If i use mailq.sh script from deadcat the values for mail queue size and length are reported properly, but no RRD file is created and thus no graph appears. Log files remains clean. Within do_mailq.c there is a notice about "Erik's enhanced mailq script" Unfortunately i cant find this script. Maybe anybody is using this one and could provide it? Henrik, Would you mind to think about the option to enhance disk checks for handling of absolute disk usage (KB/MB/GB) and not only the percent values? I would implement an external script bb-disk.sh, but i suppose that this feature could be useful for anybody. Maybe :-) Thanks, Anatoli Bogajewski
list Al Jeffcoat
export CC=gcc will also set it. Al
▸
-----Original Message-----
From: FIGARO Nicolas [mailto:user-a732b870264c@xymon.invalid] Sent: Thursday, October 06, 2005 8:48 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] RE : [hobbit] Hobbit 4.1.2 Release Candidate now available.
I still have this message when I try to configure hobbit on my AIX server : Checking for RRDtool ...
make: cc: Command not found
make: *** [test-compile] Error 127
Not RRDtool 1.0.x, checking for 1.2.x
make: cc: Command not found
make: *** [test-compile] Error 127
ERROR: RRDtool include files found in /usr/local/include, but compile fails.
Is there a way I can set the cc binary like the GMAKE ? (ie CC=/my/path/to/gcc ./configure --server)
Nicolas Figaro -----Message d'origine----- De : Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] Envoyé : lundi 3 octobre 2005 16:15 À : user-ae9b8668bcde@xymon.invalid Objet : [hobbit] Hobbit 4.1.2 Release Candidate now available. The first release candidate for Hobbit 4.1.2 is now available at http://www.hswn.dk/beta/ It will also be uploaded to hobbitmon.sourceforge.net shortly. Loads of bugfixes and minor improvements, especially in the new Hobbit client code. See the attached Changes logfile. Please test this if you can, and report any bugs to user-ae9b8668bcde@xymon.invalid. If no major disasters show up, I expect to release the final 4.1.2 early next week. Regards, Henrik
list Henrik Størner
▸
On Thu, Oct 06, 2005 at 03:06:36PM +0200, user-4d3800b5a33a@xymon.invalid wrote:
i am trying to implement the mailq check feature, but it seems that i am missing the right mailq script. If i use mailq.sh script from deadcat the values for mail queue size and length are reported properly, but no RRD file is created and thus no graph appears. Log files remains clean. Within do_mailq.c there is a notice about "Erik's enhanced mailq script" Unfortunately i cant find this script. Maybe anybody is using this one and could provide it?
Heh :-) the "Erik" mentioned here is a colleague of mine who handles a bunch of Sendmail servers. That's a custom script for a virus-scanning mail-gateway we have, where we want to check on both incoming and outgoing mails - the default mailq scripts I've seen only looks at the outbound queue size. So Erik's enhanced mailq script is pretty specific to our setup, i think. The normal mailq script I used for this was the one that comes with larrd 0.43c (the "bf/nmailq-bf.sh" script in LARRD).
Would you mind to think about the option to enhance disk checks for handling of absolute disk usage (KB/MB/GB) and not only the percent values?
It's already there - just ask for the "disk1" graph instead of "disk". Or were you thinking of having the status (red/yellow/green) depend on the # of GB's used ? Henrik
list Adam Scheblein
I think it would be nice to have the green/yellow/red based on the GB/MB/KB size since some of our disks are presented from a SAN and can be close to 180GB, even 1% of that is HUGE... I was thinking about this just the other day, so thanks to Anatoli for bringing it up :) Adam
▸
-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] Sent: Thursday, October 06, 2005 9:24 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] mailq script & absolute values for disk checks
On Thu, Oct 06, 2005 at 03:06:36PM +0200,
user-4d3800b5a33a@xymon.invalid wrote:i am trying to implement the mailq check feature, but it seems that i am missing the right mailq script. If i use mailq.sh script from deadcat the values for mail queue size and length are reported properly, but no
RRD
file is created and thus no graph appears. Log files remains clean. Within do_mailq.c there is a notice about "Erik's enhanced mailq script" Unfortunately i cant find this script. Maybe anybody is using this one and could provide it?
Heh :-) the "Erik" mentioned here is a colleague of mine who handles a bunch of Sendmail servers. That's a custom script for a virus-scanning mail-gateway we have, where we want to check on both incoming and outgoing mails - the default mailq scripts I've seen only looks at the outbound queue size. So Erik's enhanced mailq script is pretty specific to our setup, i think. The normal mailq script I used for this was the one that comes with larrd 0.43c (the "bf/nmailq-bf.sh" script in LARRD).
Would you mind to think about the option to enhance disk checks for handling of absolute disk usage (KB/MB/GB) and not only the percent values?
It's already there - just ask for the "disk1" graph instead of "disk". Or were you thinking of having the status (red/yellow/green) depend on the # of GB's used ? Henrik
list Anatoli Bogajewski
On Thu, Oct 06, 2005 at 16:23:51 user-ce4a2c883f75@xymon.invalid wrote: Henrik,
▸
So Erik's enhanced mailq script is pretty specific to our setup, i think.
:-(
The normal mailq script I used for this was the one that comes with larrd 0.43c (the "bf/nmailq-bf.sh" script in LARRD).
Ok, i'll try to get this one running. But probably it ends up in own extension script.
Or were you thinking of having the status (red/yellow/green) depend on the # of GB's used ?
Yeah, exactly. Concering the other issue:
That's in the text-based Report display, right ?
Hm, i took it from such one for mail, but within html-based reports it is also shown. Many Thanks, Anatoli Bogajewski
list Figaro Nicolas
▸
-----Message d'origine----- De : Jeffcoat, Al [mailto:user-eca780a472ed@xymon.invalid] Envoyé : jeudi 6 octobre 2005 15:59 À : user-ae9b8668bcde@xymon.invalid Objet : RE: [hobbit] RE : [hobbit] Hobbit 4.1.2 Release Candidate now available. export CC=gcc will also set it.
No, it won't. I tried it, and the CC is erased by the build/Makefile.AIX. (as Henrik wrote) Nicolas Figaro
Al
list Frédéric Mangeant
▸
Henrik Stoerner a écrit :
Please test this if you can, and report any bugs to user-ae9b8668bcde@xymon.invalid. If no major disasters show up, I expect to release the final 4.1.2 early next week.
Hi Henrik
4.1.2-rc1 is working perfectly here.
▸
Other: * A new utility "demotool" can be used to simulate a number of servers to Hobbit. This may be useful when demonstrating Hobbit to new users. Note: This is not included in the default build - to build it, run "make demo-build".
I'm very interested in "demotool", and built it. However, I don't know how to use it : $ ./demotool --help (Re)loading config Segmentation fault Is it supposed to be launched from hobbitlaunch.cfg ? Thanks for your answer, and for this great release... -- Frédéric Mangeant Steria EDC Sophia-Antipolis
list Henrik Størner
On Fri, Oct 07, 2005 at 10:53:23AM +0200, Frédéric Mangeant wrote:
4.1.2-rc1 is working perfectly here.
Thanks, good to have confirmation for that.
▸
Other: * A new utility "demotool" can be used to simulate a number of servers to Hobbit. This may be useful when demonstrating Hobbit to new users. Note: This is not included in the default build - to build it, run "make demo-build".I'm very interested in "demotool", and built it. However, I don't know how to use it : $ ./demotool --help (Re)loading config Segmentation fault Is it supposed to be launched from hobbitlaunch.cfg ?
No, but the configuration is currently undocumented. I'll write up a brief description after the 4.1.2 release. Regards, Henrik
list Frédéric Mangeant
▸
Henrik Stoerner a écrit :
On Fri, Oct 07, 2005 at 10:53:23AM +0200, Frédéric Mangeant wrote:4.1.2-rc1 is working perfectly here.Thanks, good to have confirmation for that.
I just have a final question - I promise ;-) - before my 1k devices BB -> Hobbit migration... How will Hobbit handle statuses which were disabled with BB ? Is running the "bbenadis" task enough ? Thanks again. -- Frédéric Mangeant Steria EDC Sophia-Antipolis
list Henrik Størner
▸
On Fri, Oct 07, 2005 at 02:07:16PM +0200, Frédéric Mangeant wrote:
I just have a final question - I promise ;-) - before my 1k devices BB -> Hobbit migration... How will Hobbit handle statuses which were disabled with BB ? Is running the "bbenadis" task enough ?
You'll have to re-disable them after starting Hobbit. But other than that, it works just like BB does. The "disable" function is available both via the menu, or via the "info" column for each host. Henrik