Hobbit 4.2 alfa release available
list Henrik Størner
It's been close to 6 months since I last released a version of Hobbit with new features and improvements, so I am making an alfa version available for more widespread testing. It's been uploaded to Sourceforge now, and will be available shortly at https://sourceforge.net/project/showfiles.php?group_id=128058&package_id=140220&release_id=407174 The main features of this release are: * Client logfile monitoring has been implemented (at last!) * A completely new "Critical Systems" view with a separate configuration file and web-based GUI for editing it. * All configuration files now support the "include" directive. In addition, you can include entire directories with a single "directory" statement in the config file. * Acknowledgments now stay around for a while after the status goes OK, so if a service crashes after a few minutes, the acknowledgment is automatically revived. * DOWNTIME can be applied to individual statuses. * Performance improvements throughout all of the Hobbit core tools. There has been a lot of internal code improvements, and it is almost guaranteed that I have broken something along the way. So the primary purpose of this alfa release is to sniff out those regressions and make sure that they get fixed before the final release. Documentation on the new features is still being worked on, but there are some preliminary docs included that should get you started. Use the mailing lists if you need help. And last, but certainly not least, I am thrilled to see that some of you have taken up the challenge of improving Hobbit by providing add-on modules: * Devmon (SNMP testing): http://devmon.sf.net * BBWin, an Open-Source Windows client: http://sourceforge.net/projects/bbwin So lots of things for you to test. Thanks for your help. Regards, Henrik
list Lars Ebeling
I was going to have a look at the logfile monitoring, but the client-local.cfg manpage is missing. I also miss information about the "Critical Systems" Lars
▸
----- Original Message -----
From: "Henrik Stoerner" <user-ce4a2c883f75@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
Cc: <user-31496adb6da5@xymon.invalid>
Sent: Wednesday, April 05, 2006 12:23 AM
Subject: [hobbit] Hobbit 4.2 alfa release available
It's been close to 6 months since I last released a version of Hobbit with new features and improvements, so I am making an alfa version available for more widespread testing. It's been uploaded to Sourceforge now, and will be available shortly at https://sourceforge.net/project/showfiles.php?group_id=128058&package_id=140220&release_id=407174 The main features of this release are: * Client logfile monitoring has been implemented (at last!) * A completely new "Critical Systems" view with a separate configuration file and web-based GUI for editing it.
list Henrik Størner
▸
On Wed, Apr 05, 2006 at 07:07:19AM +0200, lars ebeling wrote:
I was going to have a look at the logfile monitoring, but the client-local.cfg manpage is missing.
Two problems: 1) The client-local.cfg file appears not to be installed by the "make install". You'll find a default setup of this file in the hobbitd/etcfiles/ directory. 2) Yes, the man-page is missing. It's pretty straight-forward. This file has some sections like this: [linux] log:/var/log/messages:10240 ignore MARK This gets sent off to the client, and tells it to monitor the file /var/log/messages and send back the last max. 10 KB of data to the Hobbit server. The "ignore MARK" tells it to ignore the lines containing the MARK string. This is a regular expression, so you can weed out anything you like. Each OS has a section in the file. You can also have sections named by hostname - this takes priority over the OS section.
I also miss information about the "Critical Systems"
Make sure your www/menu/menu_items.js file is updated with the new
entries from hobbitd/wwwfiles/menu/menu_items.js. There are two new
entries:
['Critical systems', '/hobbit-cgi/hobbit-nkview.sh'],
and
['Edit critical systems', '/hobbit-seccgi/hobbit-nkedit.sh'],
Then to setup the critical systems view, use the editor.
Henrik
list Lars Ebeling
What should the difference between the 2 URL's on the msgspage be? I get the same result. Lars
▸
----- Original Message -----
From: "lars ebeling" <user-1fecd3eafd52@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
Sent: Wednesday, April 05, 2006 7:07 AM
Subject: Re: [hobbit] Hobbit 4.2 alfa release available
I was going to have a look at the logfile monitoring, but the client-local.cfg manpage is missing. I also miss information about the "Critical Systems" Lars ----- Original Message ----- From: "Henrik Stoerner" <user-ce4a2c883f75@xymon.invalid> To: <user-ae9b8668bcde@xymon.invalid> Cc: <user-31496adb6da5@xymon.invalid> Sent: Wednesday, April 05, 2006 12:23 AM Subject: [hobbit] Hobbit 4.2 alfa release availableIt's been close to 6 months since I last released a version of Hobbit with new features and improvements, so I am making an alfa version available for more widespread testing. It's been uploaded to Sourceforge now, and will be available shortly at https://sourceforge.net/project/showfiles.php?group_id=128058&package_id=140220&release_id=407174 The main features of this release are: * Client logfile monitoring has been implemented (at last!) * A completely new "Critical Systems" view with a separate configuration file and web-based GUI for editing it.
list Henrik Størner
▸
On Wed, Apr 05, 2006 at 09:19:51AM +0200, lars ebeling wrote:
What should the difference between the 2 URL's on the msgspage be? I get the same result.
They are the same. I put the link on both the summary of the red/yellow lines and on the full log, so you wouldn't have to scroll down from the summary lines to get the full log. Henrik
list Gräub Roland
Hello Henrik I have now installed the Hobbit 4.2 alfa realease on my test system. Is the msgs colum msgs always green ? How can i define which string is yellow or red ? In which file are the NK definition saved ? Is it possible to edit this file ? Is there any Report to see which Systems are in the NK view and which status is given (Prio etc.) ? Still see have the problem with double entrys in pagessets. Is this also a point in your TODO list for 4.2 ? A idea from a office workmate was that a user can compose his own bb-view/bb2-view. So an user has the possiblity to make a windowview with exactly the Systems that he need. Regards, Roland
▸
-----Ursprüngliche Nachricht----- Von: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] Gesendet: Mittwoch, 5. April 2006 00:24 An: user-ae9b8668bcde@xymon.invalid Cc: user-31496adb6da5@xymon.invalid Betreff: [hobbit] Hobbit 4.2 alfa release available It's been close to 6 months since I last released a version of Hobbit with new features and improvements, so I am making an alfa version available for more widespread testing. It's been uploaded to Sourceforge now, and will be available shortly at https://sourceforge.net/project/showfiles.php?group_id=128058&package_id=140220&release_id=407174 The main features of this release are: * Client logfile monitoring has been implemented (at last!) * A completely new "Critical Systems" view with a separate configuration file and web-based GUI for editing it. * All configuration files now support the "include" directive. In addition, you can include entire directories with a single "directory" statement in the config file. * Acknowledgments now stay around for a while after the status goes OK, so if a service crashes after a few minutes, the acknowledgment is automatically revived. * DOWNTIME can be applied to individual statuses. * Performance improvements throughout all of the Hobbit core tools. There has been a lot of internal code improvements, and it is almost guaranteed that I have broken something along the way. So the primary purpose of this alfa release is to sniff out those regressions and make sure that they get fixed before the final release. Documentation on the new features is still being worked on, but there are some preliminary docs included that should get you started. Use the mailing lists if you need help. And last, but certainly not least, I am thrilled to see that some of you have taken up the challenge of improving Hobbit by providing add-on modules: * Devmon (SNMP testing): http://devmon.sf.net * BBWin, an Open-Source Windows client: http://sourceforge.net/projects/bbwin So lots of things for you to test. Thanks for your help. Regards, Henrik
list Henrik Størner
▸
On Wed, Apr 05, 2006 at 04:25:14PM +0200, Gräub Roland wrote:
I have now installed the Hobbit 4.2 alfa realease on my test system. Is the msgs colum msgs always green ? How can i define which string is yellow or red ?
First you must setup the client-local.cfg file to tell the client what logs to monitor. I wrote about this in a previous mail. Then you can define LOG entries in the hobbit-clients.cfg file, to define which entries go yellow or red.
▸
In which file are the NK definition saved ? Is it possible to edit this file ? Is there any Report to see which Systems are in the NK view and which status is given (Prio etc.) ?
The configuration is stored in ~hobbit/server/etc/hobbit-nkview.cfg . Note that this file must be writable by the user/group running your CGI scripts - typically, you'd do touch hobbit-nkview.cfg chgrp nobody hobbit-nkview.cfg In fact, "make install" ought to do that... You should be able to edit it with the hobbit-nkedit CGI.
Still see have the problem with double entrys in pagessets. Is this also a point in your TODO list for 4.2 ?
I know ... I have been putting this off because I'd really like to re-do the entire HTML build into something much more "modern" - based on CSS, XML and XSLT. That would give us a lot more flexibility, and require less code.
▸
A idea from a office workmate was that a user can compose his own bb-view/bb2-view. So an user has the possiblity to make a windowview with exactly the Systems that he need.
I've heard that request from others as well. One more reason why I'd like to move away from the static HTML that Hobbit currently generates. Henrik
list Etienne Roulland
Hi, i took some time today to play with the 4.2 today snapshot. (ubuntu dapper)
▸
The configuration is stored in ~hobbit/server/etc/hobbit-nkview.cfg . Note that this file must be writable by the user/group running your CGI scripts - typically, you'd do touch hobbit-nkview.cfg chgrp nobody hobbit-nkview.cfg In fact, "make install" ought to do that...
Cannot find any hobbit-nkview.cfg on my installation directory.. Didn't find anymore in the source directory.. root at terkio:/usr/local/src/snapshot# make install [snip] Installation complete. hobbit at terkio:~$ ls ~hobbit/server/etc/hobbit-nkview.cfg ls: /home/hobbit/server/etc/hobbit-nkview.cfg: No such file or directory
You should be able to edit it with the hobbit-nkedit CGI.
Even if i create the file with the rw rights i cannot play with hobbit-nkedit CGI.. Regards, Etienne
list Henrik Størner
▸
On Wed, Apr 05, 2006 at 06:04:37PM +0200, Etienne Roulland wrote:
You should be able to edit it with the hobbit-nkedit CGI.Even if i create the file with the rw rights i cannot play with hobbit-nkedit CGI..
Mea culpa. hobbit-nkedit.cgi needs write access to the ~hobbit/server/etc/ directory (it creates a temporary file which is then renamed into the real configuration file). So chmod g+w ~hobbit/server/etc chown nobody ~hobbit/server/etc (substitute the real group-ID that your webserver uses). Henrik
list Etienne Roulland
Hi,
▸
chmod g+w ~hobbit/server/etc chown nobody ~hobbit/server/etc (substitute the real group-ID that your webserver uses).
Not better.... But it's really possible that my mind is really disturbed and i don't understand how hobbit-nkedit.cgi should be used... If i'm the only one who got errors... I will retry tomorrow.. Regards, YAEUH (Yep Another Etienne Using Hobbit ;o) )
list Dominique Frise
▸
Henrik Stoerner wrote:
On Wed, Apr 05, 2006 at 06:04:37PM +0200, Etienne Roulland wrote:You should be able to edit it with the hobbit-nkedit CGI.Even if i create the file with the rw rights i cannot play with hobbit-nkedit CGI..Mea culpa. hobbit-nkedit.cgi needs write access to the ~hobbit/server/etc/ directory (it creates a temporary file which is then renamed into the real configuration file). So chmod g+w ~hobbit/server/etc chown nobody ~hobbit/server/etc (substitute the real group-ID that your webserver uses). Henrik
Hi all, I have noot been able to trigger a msgs red alert with this config: -----hobbit-clients.cfg----- HOST=argos,eliot LOAD 8.0 16.0 LOG messages %WARNING ---client-local.cfg----- [sunos] log:/var/adm/messages:10240 ... ... I have following lines in /var/adm/messages of argos client: Apr 2 06:05:01 argos explorer: [ID 702911 daemon.notice] Explorer started Apr 2 06:06:41 argos ip: [ID 766727 kern.warning] WARNING: The :ip*_forwarding ndd variables are obsolete and may be removed in a future release of Solaris. Use ifconfig(1M) to manipulate the forwarding status of an interface. Apr 2 06:07:21 argos explorer: [ID 702911 daemon.notice] Explorer finished Apr 2 09:33:56 argos IM-CC_ENG-inv cc-invagent: [ID 702911 daemon.warning] Inventory Agent returned error: 1 : /usr/lib/cc-cfw/platform/invagent/bin/cc-invagent: @JAVA_HOME@/bin/java: not found ... ... What am I doing wrong? Thanks. Dominique UNIL - University of Lausanne
list John Glowacki
▸
Henrik Stoerner wrote:
On Wed, Apr 05, 2006 at 04:25:14PM +0200, Grdub Roland wrote: First you must setup the client-local.cfg file to tell the client what logs to monitor. I wrote about this in a previous mail. Then you can define LOG entries in the hobbit-clients.cfg file, to define which entries go yellow or red.
What is the format for defining LOG rules in hobbit-client.cfg? LOG string warnlevel?
list Jeff Newman
Henrik, Is doing this something you are still considering for 4.2, or is it going to be pushed off to a future release? Seeing that 4.2 has already went alpha, I think I can guess the answer, but thought I would ask anyway since this seems like a really good idea. -Jeff
▸
On 4/5/06, Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> wrote:
<snip>
I know ... I have been putting this off because I'd really like to re-do the entire HTML build into something much more "modern" - based on CSS, XML and XSLT. That would give us a lot more flexibility, and require less code.A idea from a office workmate was that a user can compose his own bb-view/bb2-view. So an user has the possiblity to make a windowview with exactly the Systems that he need.I've heard that request from others as well. One more reason why I'd like to move away from the static HTML that Hobbit currently generates. Henrik
list Dominique Frise
▸
Henrik Stoerner wrote:
It's been close to 6 months since I last released a version of Hobbit with new features and improvements, so I am making an alfa version available for more widespread testing. It's been uploaded to Sourceforge now, and will be available shortly at https://sourceforge.net/project/showfiles.php?group_id=128058&package_id=140220&release_id=407174 The main features of this release are: * Client logfile monitoring has been implemented (at last!)
When will this feature be ready to use?
▸
* A completely new "Critical Systems" view with a separate configuration file and web-based GUI for editing it. * All configuration files now support the "include" directive. In addition, you can include entire directories with a single "directory" statement in the config file. * Acknowledgments now stay around for a while after the status goes OK, so if a service crashes after a few minutes, the acknowledgment is automatically revived. * DOWNTIME can be applied to individual statuses. * Performance improvements throughout all of the Hobbit core tools. There has been a lot of internal code improvements, and it is almost guaranteed that I have broken something along the way. So the primary purpose of this alfa release is to sniff out those regressions and make sure that they get fixed before the final release. Documentation on the new features is still being worked on, but there are some preliminary docs included that should get you started. Use the mailing lists if you need help. And last, but certainly not least, I am thrilled to see that some of you have taken up the challenge of improving Hobbit by providing add-on modules: * Devmon (SNMP testing): http://devmon.sf.net * BBWin, an Open-Source Windows client: http://sourceforge.net/projects/bbwin So lots of things for you to test.
We reported problems with the client logfile monitoring but didn't receive any feedback. Dominique
list Buchan Milne
▸
On Wednesday 05 April 2006 22:07, Henrik Stoerner wrote:
On Wed, Apr 05, 2006 at 06:04:37PM +0200, Etienne Roulland wrote:You should be able to edit it with the hobbit-nkedit CGI.Even if i create the file with the rw rights i cannot play with hobbit-nkedit CGI..Mea culpa. hobbit-nkedit.cgi needs write access to the ~hobbit/server/etc/ directory (it creates a temporary file which is then renamed into the real configuration file). So chmod g+w ~hobbit/server/etc chown nobody ~hobbit/server/etc (substitute the real group-ID that your webserver uses).
Would it be possible to put this file in a different directory (or do away with the temporary file)? This requirement would mean that the user running the webserver (or in your example any member of the group 'nobody') would be able to delete all hobbit config files (unless they are set to be sticky), which is not suitable for some environments/requirements etc. Regards, Buchan -- Buchan Milne ISP Systems Specialist B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)
list Thomas Seglard
Hello, I'm sorry to ask you again about these graphs but is there a way to get the netstat graphs in Mb/s instead of packets/s under linux ? Thanks ! Best regards, Thomas Seglard Ce message (et toutes ses pieces jointes eventuelles) est confidentiel et etabli a l'intention exclusive de ses destinataires. Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. L'internet ne permettant pas d'assurer l'integrite de ce message, CNP Assurances et ses filiales declinent toute responsabilite au titre de ce message, s'il a ete altere, deforme ou falsifie. ***** This message and any attachments (the "message") are confidential and intended solely for the addressees. Any unauthorised use or dissemination is prohibited. E-mails are susceptible to alteration. Neither CNP Assurances nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified.
list Henrik Størner
You guessed it - definitely NOT for 4.2. Henrik
▸
On Fri, Apr 07, 2006 at 04:58:38PM -0500, Jeff Newman wrote:Henrik, Is doing this something you are still considering for 4.2, or is it going to be pushed off to a future release? Seeing that 4.2 has already went alpha, I think I can guess the answer, but thought I would ask anyway since this seems like a really good idea. -Jeff On 4/5/06, Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> wrote: <snip>I know ... I have been putting this off because I'd really like to re-do the entire HTML build into something much more "modern" - based on CSS, XML and XSLT. That would give us a lot more flexibility, and require less code.A idea from a office workmate was that a user can compose his own bb-view/bb2-view. So an user has the possiblity to make a windowview with exactly the Systems that he need.I've heard that request from others as well. One more reason why I'd like to move away from the static HTML that Hobbit currently generates. Henrik
--
Henrik Storner