Latest snapshot
list Lars Ebeling
Hi,
got this when starting to install:
# gzip -d hobbit-snapshot.tar.gz
gzip: hobbit-snapshot.tar.gz: invalid compressed data--crc error
Regards
Lars
Hobbithobbyist
Http://leopg9.no-ip.org
list Henrik Størner
▸
On Wed, May 18, 2005 at 05:56:53AM +0200, lars ebeling wrote:
got this when starting to install: # gzip -d hobbit-snapshot.tar.gz gzip: hobbit-snapshot.tar.gz: invalid compressed data--crc error
Try downloading again (and flush your browser cache). Downloading the file works fine here. The md5 sum should be 3db6ddda208a77ffc190e39639ced585 Regards, Henrik
list Lars Ebeling
I have tried everything, but still the same result. Regards Lars Hobbithobbyist Http://leopg9.no-ip.org ----- Original Message ----- From: "Henrik Stoerner" <user-ce4a2c883f75@xymon.invalid> To: <user-ae9b8668bcde@xymon.invalid> Sent: Wednesday, May 18, 2005 7:02 AM Subject: Re: [hobbit] Latest snapshot
▸
On Wed, May 18, 2005 at 05:56:53AM +0200, lars ebeling wrote:got this when starting to install: # gzip -d hobbit-snapshot.tar.gz gzip: hobbit-snapshot.tar.gz: invalid compressed data--crc errorTry downloading again (and flush your browser cache). Downloading the file works fine here. The md5 sum should be 3db6ddda208a77ffc190e39639ced585 Regards, Henrik
list Lars Ebeling
Well I made a last try ;-) and succeeded Regards Lars Hobbithobbyist Http://leopg9.no-ip.org ----- Original Message ----- From: "lars ebeling" <user-1fecd3eafd52@xymon.invalid> To: <user-ae9b8668bcde@xymon.invalid> Sent: Wednesday, May 18, 2005 6:18 PM Subject: Re: [hobbit] Latest snapshot
▸
I have tried everything, but still the same result. Regards Lars Hobbithobbyist Http://leopg9.no-ip.org ----- Original Message ----- From: "Henrik Stoerner" <user-ce4a2c883f75@xymon.invalid> To: <user-ae9b8668bcde@xymon.invalid> Sent: Wednesday, May 18, 2005 7:02 AM Subject: Re: [hobbit] Latest snapshotOn Wed, May 18, 2005 at 05:56:53AM +0200, lars ebeling wrote:got this when starting to install: # gzip -d hobbit-snapshot.tar.gz gzip: hobbit-snapshot.tar.gz: invalid compressed data--crc errorTry downloading again (and flush your browser cache). Downloading the file works fine here. The md5 sum should be 3db6ddda208a77ffc190e39639ced585 Regards, Henrik
list Lars Ebeling
Well I thought so. Still CRC-error
▸
Regards
Lars
Hobbithobbyist
Http://leopg9.no-ip.org
----- Original Message ----- From: "lars ebeling" <user-1fecd3eafd52@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
Sent: Wednesday, May 18, 2005 6:20 PM
▸
Subject: Re: [hobbit] Latest snapshot
Well I made a last try ;-) and succeeded Regards Lars Hobbithobbyist Http://leopg9.no-ip.org ----- Original Message ----- From: "lars ebeling" <user-1fecd3eafd52@xymon.invalid> To: <user-ae9b8668bcde@xymon.invalid> Sent: Wednesday, May 18, 2005 6:18 PM Subject: Re: [hobbit] Latest snapshotI have tried everything, but still the same result. Regards Lars Hobbithobbyist Http://leopg9.no-ip.org ----- Original Message ----- From: "Henrik Stoerner" <user-ce4a2c883f75@xymon.invalid> To: <user-ae9b8668bcde@xymon.invalid> Sent: Wednesday, May 18, 2005 7:02 AM Subject: Re: [hobbit] Latest snapshotOn Wed, May 18, 2005 at 05:56:53AM +0200, lars ebeling wrote:got this when starting to install: # gzip -d hobbit-snapshot.tar.gz gzip: hobbit-snapshot.tar.gz: invalid compressed data--crc errorTry downloading again (and flush your browser cache). Downloading the file works fine here. The md5 sum should be 3db6ddda208a77ffc190e39639ced585 Regards, Henrik
list Stephen Budgeon
Try doing the whole thing from tar -- see if that helps...
$ Tar xfzv hobbit-snapshot.tar.gz
Just downloaded it from Henrik's site and it all went no problem...
How are you downloading it? Commandline ftp? Make sure you are in
binary mode when you download the file ("bin" within ftp)
Good luck!
-Stephen
▸
-----Original Message-----
From: lars ebeling [mailto:user-1fecd3eafd52@xymon.invalid] Sent: Wednesday, May 18, 2005 9:24 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Latest snapshot
Well I thought so. Still CRC-error
Regards
Lars
Hobbithobbyist
Http://leopg9.no-ip.org
----- Original Message -----
From: "lars ebeling" <user-1fecd3eafd52@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
Sent: Wednesday, May 18, 2005 6:20 PM
Subject: Re: [hobbit] Latest snapshot
Well I made a last try ;-) and succeeded Regards Lars Hobbithobbyist Http://leopg9.no-ip.org ----- Original Message ----- From: "lars ebeling" <user-1fecd3eafd52@xymon.invalid> To: <user-ae9b8668bcde@xymon.invalid> Sent: Wednesday, May 18, 2005 6:18 PM Subject: Re: [hobbit] Latest snapshotI have tried everything, but still the same result. Regards Lars Hobbithobbyist Http://leopg9.no-ip.org ----- Original Message ----- From: "Henrik Stoerner" <user-ce4a2c883f75@xymon.invalid> To: <user-ae9b8668bcde@xymon.invalid> Sent: Wednesday, May 18, 2005 7:02 AM Subject: Re: [hobbit] Latest snapshotOn Wed, May 18, 2005 at 05:56:53AM +0200, lars ebeling wrote:got this when starting to install: # gzip -d hobbit-snapshot.tar.gz gzip: hobbit-snapshot.tar.gz: invalid compressed data--crc errorTry downloading again (and flush your browser cache). Downloading the file works fine here. The md5 sum should be 3db6ddda208a77ffc190e39639ced585 Regards, Henrik
list Lars Ebeling
I'm downloading with http. "It has always worked before". I hate to admit, but I don't know how to connect to hswn with ftp. Of course I know how to run ftp, but not here.
▸
Regards
Lars
Hobbithobbyist
Http://leopg9.no-ip.org
----- Original Message -----
From: "Stephen Budgeon" <user-275fe753c991@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
Sent: Wednesday, May 18, 2005 7:08 PM
Subject: RE: [hobbit] Latest snapshot
Try doing the whole thing from tar -- see if that helps...
$ Tar xfzv hobbit-snapshot.tar.gz
Just downloaded it from Henrik's site and it all went no problem...
How are you downloading it? Commandline ftp? Make sure you are in
binary mode when you download the file ("bin" within ftp)
Good luck!
-Stephen
list Henrik Størner
I don't do ftp on my site, so it would be very difficult to get it via ftp :-) Henrik
▸
On Wed, May 18, 2005 at 08:07:54PM +0200, lars ebeling wrote:I'm downloading with http. "It has always worked before". I hate to admit, but I don't know how to connect to hswn with ftp. Of course I know how to run ftp, but not here.
Regards
Lars
Hobbithobbyist
Http://leopg9.no-ip.org
----- Original Message ----- From: "Stephen Budgeon" <user-275fe753c991@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
Sent: Wednesday, May 18, 2005 7:08 PM
Subject: RE: [hobbit] Latest snapshot
Try doing the whole thing from tar -- see if that helps...
$ Tar xfzv hobbit-snapshot.tar.gz
Just downloaded it from Henrik's site and it all went no problem...
How are you downloading it? Commandline ftp? Make sure you are in
binary mode when you download the file ("bin" within ftp)
Good luck!
-Stephen
--
Henrik Storner
list Asif Iqbal
▸
On Wed, May 18, 2005 at 06:18:20PM, lars ebeling wrote:
I have tried everything, but still the same result. Regards Lars Hobbithobbyist Http://leopg9.no-ip.org
Make sure you get the same md5 sum as Henrik's one -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu "..there are two kinds of people: those who work and those who take the credit...try to be in the first group;...less competition there." - Indira Gandhi
list Lars Ebeling
Download latest version from 19th and it seems to succeed
▸
Regards
Lars
Hobbithobbyist
Http://leopg9.no-ip.org
----- Original Message -----
From: "Asif Iqbal" <user-c8222abeff59@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
Sent: Wednesday, May 18, 2005 11:54 PM
Subject: Re: [hobbit] Latest snapshot
On Wed, May 18, 2005 at 06:18:20PM, lars ebeling wrote:I have tried everything, but still the same result. Regards Lars Hobbithobbyist Http://leopg9.no-ip.orgMake sure you get the same md5 sum as Henrik's one -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu "..there are two kinds of people: those who work and those who take the credit...try to be in the first group;...less competition there." - Indira Gandhi
list Michael Dunne
Greetings, I downloaded the latest snapshot and am curious if there is any documentation for the new "Critical Systems" enhancements. The new features look perfect for our organization and I'd love to start testing. Thanks in advance. Mike Michael Dunne Systems Support Specialist AccuWeather, Inc. XXX-XXX-XXXX Ext. XXXX ~Deliberation, n.: The act of examining one's bread to determine which side it is buttered on. (Ambrose Bierce, "The Devil's Dictionary")~
list Henrik Størner
▸
On Thu, Jan 26, 2006 at 12:04:16PM -0500, Michael Dunne wrote:
I downloaded the latest snapshot and am curious if there is any documentation for the new "Critical Systems" enhancements. The new features look perfect for our organization and I'd love to start testing.
Docs are usually the last thing that gets done :-) Fortunately, this is one of those things that doesn't need much documentation just to use. There are two new CGI's - they both install automatically when you run "make install". The "hobbit-nkview.sh" provides a view of the current critical systems, as defined in a new configuration file hobbit-nkview.cfg; the old "NK" tags in the bb-hosts file have been deprecated since they cannot hold all the info that is needed. So this is a replacement for the bbnk.html page that Hobbit inherited from the bbgen tool. The new view is dynamic - so it's always up-to-date; it allows you to prioritize systems so the most important ones are listed first; it will automatically hide alerts that are older than some threshold so a "noisy" system doesn't clutter the view of the operators; and it allows the operator to acknowledge alerts - both to get them off his display, and to inform others that the alert has been recognized and some action has been taken. The acknowledgement feature is going to be used a lot more in the future; it is designed to allow acknowledgments to be sent by different groups to allow for alerts that can escalate to e.g. higher-level management regardless of any acks from a technician. In my production setup, the configuration of what systems and alerts are "critical" is handled by a separate group who wants some say about what can and cannot go on their monitor (e.g. they won't accept responsibility for monitoring stuff until the operational procedures have been documented etc.); this is a group of people who are very much "point-and-click" types. So hand-editing text configuration files is out of the question. Hence, a web-interface to configuring the critical systems view was built; this is the "hobbit-nkedit.sh" CGI. So by using this tool, you can configure the "critical systems" view with what status messages show up there; what their priority should be; what times of the day/week they are monitored; any special instructions the operators should see when there is an alert; and for systems that are going into or out of service you can even define the date where this happens and the monitoring will automatically start or stop at the right time. For groups of hosts with identical monitoring setups, you can define a template for how they are configured on the "critical systems" view, and then "clone" this template to all of the hosts that should use the same template. So you only need to define the monitoring once. To use this, you basically build the current snapshot, then do a "make install" on top of your current setup. You will need to add a couple of menu items to your ~hobbit/server/www/menu/menu_items.js file, to get the links to these two new CGI's; see the default file that gets built in hobbitd/wwwfiles/menu/menu_items.js when you build Hobbit. In the "Views" menu, it is the "Critical systems" item, and in the "Administration" menu it is the "Edit critical systems" item. Note that the hobbit-nkedit.sh wrapper for the CGI with the current snapshot gets installed in the public CGI directory; it should go in the secured (password-protected) CGI directory. This has been fixed for the next snapshot. Another thing you must do it to arrange for some way of allowing the hobbit-nkedit CGI to update the hobbit-nkview.cfg file. The way it is done, this CGI (which runs with your web-server userid) must have access to update the ~hobbit/server/etc/ directory. The easiest way of doing that is to make the program "suid hobbit". So: chown hobbit ~hobbit/server/bin/hobbit-nkedit.cgi chmod u+s ~hobbit/server/bin/hobbit-nkedit.cgi I haven't yet decided if that is the best way of doing it; I have a bad feeling about making CGI programs suid, but this may be the one occasion where it is needed. Feedback on this is welcome. I'm actually doing a presentation tomorrow for our 24x7 monitoring group, showing them how these new features work. It has been very much designed based on input from them, so hopefully it should work in a way that is useful to the operators. Once I get some confirmation that there are no serious bugs in the new tools, I'll put it into a proper release version - probably sometime in February. Regards, Henrik
list Francesco Duranti
Hi Henrik, Thanks for the good work!! I've downloaded the snapshot but I cannot use it ... I've manually changed the hobbitnk.cfg file to put an host that exists in my configuration but it seems that nkedit cannot get the configuration (it didn't find that host/service) and if I try to insert anything i get an Internal Error from apache. In the error_log i get Fri Jan 27 11:57:54 2006] [error] [client 10.90.24.45] Premature end of script headers: hobbit-nkedit.sh, referer: http://itromlx10/hobbit-seccgi/hobbit-nkedit.sh?HOSTNAME=itromlx10&SERVICE=http&Find=Search&PRIORITY=1&GROUP=&NKWKDAYS=*&NKSTARTHOUR=0000&NKENDHOUR=2400&start-day=0&start-mon=0&start-yr=0&end-day=0&end-mon=0&end-yr=0&EXTRA=&NKEDITADDCLONES= I've also one question (and possibly one request if it can be implemented)... It's possible to create different configuration file for different group ? Here I've some groups that are monitoring various servers/services (windows server, network equipment, Web Logic Server and Apache Web Server) and it can be really nice to have them go to different NK Page (configuration) each one monitoring the objects they really need to check.... I'm also trying to create a comprehensive hobbit configuration program that can edit all the files in the hobbit configuration (hosts, alert, client, services, graphs, etc.). My unix programming skill are a bit old so I'm developing it in .NET for windows (also because some of the user here that can need to modify the configuration are windows people that know nothing about telnet or ssh or vi :P). The interface will be a MDI interface with one child-window for each configuration file and it will be simple to include in the program new configuration file of others addon (as the snmp or bb-msgs and so on). At the moment I'm trying to understand how to get/put the file on the hobbit machine and the simplest one is via ftp... I think I can get the file also via the bbmessage.cgi but then I've to get via bbmessage.cgi and put with ftp ... Continue the good work! Thanks Francesco -----Messaggio originale----- Da: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] Inviato: giovedì 26 gennaio 2006 21.46 A: user-ae9b8668bcde@xymon.invalid Oggetto: Re: [hobbit] Latest Snapshot
▸
On Thu, Jan 26, 2006 at 12:04:16PM -0500, Michael Dunne wrote:
I downloaded the latest snapshot and am curious if there is any documentation for the new "Critical Systems" enhancements. The new features look perfect for our organization and I'd love to start testing.
Docs are usually the last thing that gets done :-) Fortunately, this is one of those things that doesn't need much documentation just to use. There are two new CGI's - they both install automatically when you run "make install". The "hobbit-nkview.sh" provides a view of the current critical systems, as defined in a new configuration file hobbit-nkview.cfg; the old "NK" tags in the bb-hosts file have been deprecated since they cannot hold all the info that is needed. So this is a replacement for the bbnk.html page that Hobbit inherited from the bbgen tool. The new view is dynamic - so it's always up-to-date; it allows you to prioritize systems so the most important ones are listed first; it will automatically hide alerts that are older than some threshold so a "noisy" system doesn't clutter the view of the operators; and it allows the operator to acknowledge alerts - both to get them off his display, and to inform others that the alert has been recognized and some action has been taken. The acknowledgement feature is going to be used a lot more in the future; it is designed to allow acknowledgments to be sent by different groups to allow for alerts that can escalate to e.g. higher-level management regardless of any acks from a technician. In my production setup, the configuration of what systems and alerts are "critical" is handled by a separate group who wants some say about what can and cannot go on their monitor (e.g. they won't accept responsibility for monitoring stuff until the operational procedures have been documented etc.); this is a group of people who are very much "point-and-click" types. So hand-editing text configuration files is out of the question. Hence, a web-interface to configuring the critical systems view was built; this is the "hobbit-nkedit.sh" CGI. So by using this tool, you can configure the "critical systems" view with what status messages show up there; what their priority should be; what times of the day/week they are monitored; any special instructions the operators should see when there is an alert; and for systems that are going into or out of service you can even define the date where this happens and the monitoring will automatically start or stop at the right time. For groups of hosts with identical monitoring setups, you can define a template for how they are configured on the "critical systems" view, and then "clone" this template to all of the hosts that should use the same template. So you only need to define the monitoring once. To use this, you basically build the current snapshot, then do a "make install" on top of your current setup. You will need to add a couple of menu items to your ~hobbit/server/www/menu/menu_items.js file, to get the links to these two new CGI's; see the default file that gets built in hobbitd/wwwfiles/menu/menu_items.js when you build Hobbit. In the "Views" menu, it is the "Critical systems" item, and in the "Administration" menu it is the "Edit critical systems" item. Note that the hobbit-nkedit.sh wrapper for the CGI with the current snapshot gets installed in the public CGI directory; it should go in the secured (password-protected) CGI directory. This has been fixed for the next snapshot. Another thing you must do it to arrange for some way of allowing the hobbit-nkedit CGI to update the hobbit-nkview.cfg file. The way it is done, this CGI (which runs with your web-server userid) must have access to update the ~hobbit/server/etc/ directory. The easiest way of doing that is to make the program "suid hobbit". So: chown hobbit ~hobbit/server/bin/hobbit-nkedit.cgi chmod u+s ~hobbit/server/bin/hobbit-nkedit.cgi I haven't yet decided if that is the best way of doing it; I have a bad feeling about making CGI programs suid, but this may be the one occasion where it is needed. Feedback on this is welcome. I'm actually doing a presentation tomorrow for our 24x7 monitoring group, showing them how these new features work. It has been very much designed based on input from them, so hopefully it should work in a way that is useful to the operators. Once I get some confirmation that there are no serious bugs in the new tools, I'll put it into a proper release version - probably sometime in February. Regards, Henrik
list John Glowacki
I almost have it working using todays snapshot. I can add hostnames to hobbit-nkview.cfg using the NK editor page. The problem I have is the "Critical Systems" page says "all monitored systems OK". I don't see any errors in the hobbit logs. Maybe I didn't enter in something right or I just don't understand how it works yet. This system I want to display does show up on the old NK page. # cat hobbit-nkview.cfg az2pc010|red||||1||this system is not live|hobbit 2006-01-26 16:33:19 Thanks, -John
list Henrik Størner
▸
On Fri, Jan 27, 2006 at 10:45:39AM -0500, John Glowacki wrote:
I almost have it working using todays snapshot. I can add hostnames to hobbit-nkview.cfg using the NK editor page. The problem I have is the "Critical Systems" page says "all monitored systems OK". I don't see any errors in the hobbit logs. Maybe I didn't enter in something right or I just don't understand how it works yet. This system I want to display does show up on the old NK page. # cat hobbit-nkview.cfg az2pc010|red||||1||this system is not live|hobbit 2006-01-26 16:33:19
In the Crit. systems page, have you tried selecting "Show all" from the "Age" drop-down menu and clicking Apply ? By default, it filters out old statuses. Henrik
list Francesco Duranti
▸
Hi Henrik, Thanks for the good work!! I've downloaded the snapshot but I cannot use it ... I've manually changed the hobbitnk.cfg file to put an host that exists in my configuration but it seems that nkedit cannot get the configuration (it didn't find that host/service) and if I try to insert anything i get an Internal Error from apache. In the error_log i get Fri Jan 27 11:57:54 2006] [error] [client 10.90.24.45] Premature end of script headers: hobbit-nkedit.sh, referer:
http://itromlx10/hobbit-seccgi/hobbit-nkedit.sh?HOSTNAME=itromlx10&SERVI CE=http&Find=Search&PRIORITY=1&GROUP=&NKWKDAYS=*&NKSTARTHOUR=0000&NKENDH OUR=2400&start-day=0&start-mon=0&start-yr=0&end-day=0&end-mon=0&end-yr=0 &EXTRA=&NKEDITADDCLONES=
▸
I've also one question (and possibly one request if it can be
implemented)...
It's possible to create different configuration file for different group
?
Here I've some groups that are monitoring various servers/services
(windows server, network equipment, Web Logic Server and Apache Web
Server) and it can be really nice to have them go to different NK Page
(configuration) each one monitoring the objects they really need to
check....
I'm also trying to create a comprehensive hobbit configuration program
that can edit all the files in the hobbit configuration (hosts, alert,
client, services, graphs, etc.).
My unix programming skill are a bit old so I'm developing it in .NET for
windows (also because some of the user here that can need to modify the
configuration are windows people that know nothing about telnet or ssh
or vi :P).
The interface will be a MDI interface with one child-window for each
configuration file and it will be simple to include in the program new
configuration file of others addon (as the snmp or bb-msgs and so on).
At the moment I'm trying to understand how to get/put the file on the
hobbit machine and the simplest one is via ftp... I think I can get the
file also via the bbmessage.cgi but then I've to get via bbmessage.cgi
and put with ftp ...
Continue the good work!
Thanks
Francesco
list John Glowacki
▸
Henrik Stoerner wrote:
On Fri, Jan 27, 2006 at 10:45:39AM -0500, John Glowacki wrote:I almost have it working using todays snapshot. I can add hostnames to hobbit-nkview.cfg using the NK editor page. The problem I have is the "Critical Systems" page says "all monitored systems OK". I don't see any errors in the hobbit logs. Maybe I didn't enter in something right or I just don't understand how it works yet. This system I want to display does show up on the old NK page. # cat hobbit-nkview.cfg az2pc010|red||||1||this system is not live|hobbit 2006-01-26 16:33:19In the Crit. systems page, have you tried selecting "Show all" from the "Age" drop-down menu and clicking Apply ? By default, it filters out old statuses. Henrik
Yes. I tried "Show all" and "Apply". Still nothing. Here is what hobbitboard shows. bb localhost "hobbitdboard color=red,yellow acklevel=%d fields=hostname,testname,color,lastchange,logtime,validtime,acklist" | grep az2pc010 az2pc010|conn|red|1138379188|1138379489|1138381289| -John
list Francesco Duranti
Hi Henrik, Thanks for the good work!! I've downloaded the snapshot but I cannot use it ... I've manually changed the hobbitnk.cfg file to put an host that exists in my configuration but it seems that nkedit cannot get the configuration (it didn't find that host/service) and if I try to insert anything i get an Internal Error from apache. In the error_log i get: Fri Jan 27 11:57:54 2006] [error] [client 10.90.24.45] Premature end of script headers: hobbit-nkedit.sh, referer: I've also one question (and possibly one request if it can be implemented)... It's possible to create different configuration file for different group ? Here I've some groups that are monitoring various servers/services (windows server, network equipment, Web Logic Server and Apache Web Server) and it can be really nice to have them go to different NK Page (configuration) each one monitoring the objects they really need to check.... I'm also trying to create a comprehensive hobbit configuration program that can edit all the files in the hobbit configuration (hosts, alert, client, services, graphs, etc.). My unix programming skill are a bit old so I'm developing it in .NET for windows (also because some of the user here that can need to modify the configuration are windows people that know nothing about telnet or ssh or vi :P). The interface will be a MDI interface with one child-window for each configuration file and it will be simple to include in the program new configuration file of others addon (as the snmp or bb-msgs and so on). At the moment I'm trying to understand how to get/put the file on the hobbit machine and the simplest one is via ftp... I think I can get the file also via the bbmessage.cgi but then I've to get via bbmessage.cgi and put with ftp ... Continue the good work! Thanks Francesco