Hobbit 4.2 release candidate available
It's taken some time, but after a month of bug reports, debugging and last-minute enhancements there is now a release candidate of Hobbit 4.2 available on SourceForge.
You can download it from SourceForge.net by following this link: https://sourceforge.net/project/showfiles.php?group_id=128058&release_id=431... or browse Release Notes and ChangeLog by visiting this link: https://sourceforge.net/project/shownotes.php?release_id=431566
As far as I know, all bugs that were reported for the beta release have been resolved, with the exception of the hobbitping "flapping" for some hosts. This is still being investigated, but until that gets resolved I'd suggest that you use fping instead.
Information about problems and fixes for the release candidate will appear on the RC release info page at http://www.hswn.dk/hobbitsw/betapatches/
Apart from the bug-fixes, some enhancements and new tools were added during the betatest:
- Two new tools implement a "pull-style" collection of data from Hobbit clients - i.e. the Hobbit server contacts the clients, and pulls their data - as a supplement to the normal push-style data collection used by clients. This is typically used for hosts located in a DMZ network zone, which cannot make outbound connections to the Hobbit server. See the hobbitfetch(8) and msgcache(8) man-pages.
- A new utility hobbit-hostgraphs.cgi(1) was added, allowing you to build graphs with data from multiple hosts.
- The "Acknowledge Alert" utility has been enhanced, so you can acknowledge an alert without having to use the ack-code from an alert e-mail. This requires that you setup the bb-ack CGI to allow this, by adding the --no-pin option to CGI_ACK_OPTS in hobbitcgi.cfg.
- The "Find host" utility was enhanced so that if all hosts found appear on the same page, it sends you directly to that page.
- A new "Ghost clients" report was added, giving you quick access to the list of current ghost clients.
- Alert scripts now receive a series of environment variables with the bb-hosts configuration items for the host.
- For web tests, it is now possible for Hobbit to pretend being a specific browser, through a BROWSER tag in bb-hosts.
- Workarounds for compile-time problems on HP-UX, and LDAP runtime library problems were added.
- File checks can now be optional, i.e. they will only be performed if the file in question exists.
So ... go wild. Test it. Report bugs. And don't forget to enjoy the summer.
Regards, Henrik
Anyone planning on doing an RPM any time soon? Is there a SPEC file out there I could borrow to roll my own?
Stewart
-----Original Message----- From: Henrik Stoerner [mailto:henrik at hswn.dk] Sent: Wednesday, July 12, 2006 6:08 PM To: hobbit at hswn.dk Cc: hobbit-announce at hswn.dk Subject: [hobbit] Hobbit 4.2 release candidate available
It's taken some time, but after a month of bug reports, debugging and last-minute enhancements there is now a release candidate of Hobbit 4.2 available on SourceForge.
You can download it from SourceForge.net by following this link: https://sourceforge.net/project/showfiles.php?group_id=128058&release_id =431566 or browse Release Notes and ChangeLog by visiting this link: https://sourceforge.net/project/shownotes.php?release_id=431566
As far as I know, all bugs that were reported for the beta release have been resolved, with the exception of the hobbitping "flapping" for some hosts. This is still being investigated, but until that gets resolved I'd suggest that you use fping instead.
Information about problems and fixes for the release candidate will appear on the RC release info page at http://www.hswn.dk/hobbitsw/betapatches/
Apart from the bug-fixes, some enhancements and new tools were added during the betatest:
- Two new tools implement a "pull-style" collection of data from Hobbit clients - i.e. the Hobbit server contacts the clients, and pulls their data - as a supplement to the normal push-style data collection used by clients. This is typically used for hosts located in a DMZ network zone, which cannot make outbound connections to the Hobbit server. See the hobbitfetch(8) and msgcache(8) man-pages.
- A new utility hobbit-hostgraphs.cgi(1) was added, allowing you to build graphs with data from multiple hosts.
- The "Acknowledge Alert" utility has been enhanced, so you can acknowledge an alert without having to use the ack-code from an alert e-mail. This requires that you setup the bb-ack CGI to allow this, by adding the --no-pin option to CGI_ACK_OPTS in hobbitcgi.cfg.
- The "Find host" utility was enhanced so that if all hosts found appear on the same page, it sends you directly to that page.
- A new "Ghost clients" report was added, giving you quick access to the list of current ghost clients.
- Alert scripts now receive a series of environment variables with the bb-hosts configuration items for the host.
- For web tests, it is now possible for Hobbit to pretend being a specific browser, through a BROWSER tag in bb-hosts.
- Workarounds for compile-time problems on HP-UX, and LDAP runtime library problems were added.
- File checks can now be optional, i.e. they will only be performed if the file in question exists.
So ... go wild. Test it. Report bugs. And don't forget to enjoy the summer.
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- BEGIN-ANTISPAM-VOTING-LINKS
NOTE: This message was trained as non-spam. If this is wrong, please correct the training as soon as possible.
Teach CanIt if this mail (ID 87931498) is spam: Spam: https://antispam.doh.ad.state.fl.us/canit/b.php?c=s&i=87931498&m=ee31794 dd696 Not spam: https://antispam.doh.ad.state.fl.us/canit/b.php?c=n&i=87931498&m=ee31794 dd696 Forget vote: https://antispam.doh.ad.state.fl.us/canit/b.php?c=f&i=87931498&m=ee31794 dd696
END-ANTISPAM-VOTING-LINKS
On Friday 14 July 2006 19:14, Stewart_Larsen at doh.state.fl.us wrote:
Anyone planning on doing an RPM any time soon? Is there a SPEC file out there I could borrow to roll my own?
I maintain the Mandriva packages. I rebuild the SRPMS (which you can find on any Mandriva mirror under devel/cooker/SRPMS/contrib) on RHEL3/4 using the macros available here:
http://qa.mandriva.com/twiki/bin/view/Main/MandrivaLinux?topic=BackPorting
I updated to the RC a few minutes after getting the notification of the RC.
I could provide packages for RHEL3/4/4-x86_64, but sometime next week.
The spec file I used differs substantially from the one provided in the source tarball, to comply with Mandriva packaging standards.
Regards, Buchan
-- Buchan Milne ISP Systems Specialist B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)
Wow. Didn't realize the specs and stuff were in the tarball. What I get for asking before looking. :)
Stewart
-----Original Message----- From: Buchan Milne [mailto:bgmilne at staff.telkomsa.net] Sent: Friday, July 14, 2006 1:23 PM To: hobbit at hswn.dk Cc: Larsen, Stewart Subject: Re: [hobbit] Hobbit 4.2 release candidate available
On Friday 14 July 2006 19:14, Stewart_Larsen at doh.state.fl.us wrote:
Anyone planning on doing an RPM any time soon? Is there a SPEC file out there I could borrow to roll my own?
I maintain the Mandriva packages. I rebuild the SRPMS (which you can find on any Mandriva mirror under devel/cooker/SRPMS/contrib) on RHEL3/4 using the macros available here:
http://qa.mandriva.com/twiki/bin/view/Main/MandrivaLinux?topic=BackPorti ng
I updated to the RC a few minutes after getting the notification of the RC.
I could provide packages for RHEL3/4/4-x86_64, but sometime next week.
The spec file I used differs substantially from the one provided in the source tarball, to comply with Mandriva packaging standards.
Regards, Buchan
-- Buchan Milne ISP Systems Specialist B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)
Hi Henrik,
Just did a fresh install of this release (renamed the old server dir, and fresh new gmake install, just copied the bb-hosts file over) and I'm unable to get any data graphed on the network traffic logs. Is there something that needs to be done first?
Jason Chambers IT Helpdesk Support Geosoft Inc. 85 Richmond St. West - 8th Floor Toronto, Ontario, Canada M5H 2C9 Tel: 416-369-0111 x344 Fax: 416-369-9599 www.geosoft.com
-----Original Message----- From: Henrik Stoerner [mailto:henrik at hswn.dk] Sent: July-12-06 6:08 PM To: hobbit at hswn.dk Cc: hobbit-announce at hswn.dk Subject: [hobbit] Hobbit 4.2 release candidate available
It's taken some time, but after a month of bug reports, debugging and last-minute enhancements there is now a release candidate of Hobbit 4.2 available on SourceForge.
You can download it from SourceForge.net by following this link: https://sourceforge.net/project/showfiles.php?group_id=128058&release_id =431566 or browse Release Notes and ChangeLog by visiting this link: https://sourceforge.net/project/shownotes.php?release_id=431566
As far as I know, all bugs that were reported for the beta release have been resolved, with the exception of the hobbitping "flapping" for some hosts. This is still being investigated, but until that gets resolved I'd suggest that you use fping instead.
Information about problems and fixes for the release candidate will appear on the RC release info page at http://www.hswn.dk/hobbitsw/betapatches/
Apart from the bug-fixes, some enhancements and new tools were added during the betatest:
- Two new tools implement a "pull-style" collection of data from Hobbit clients - i.e. the Hobbit server contacts the clients, and pulls their data - as a supplement to the normal push-style data collection used by clients. This is typically used for hosts located in a DMZ network zone, which cannot make outbound connections to the Hobbit server. See the hobbitfetch(8) and msgcache(8) man-pages.
- A new utility hobbit-hostgraphs.cgi(1) was added, allowing you to build graphs with data from multiple hosts.
- The "Acknowledge Alert" utility has been enhanced, so you can acknowledge an alert without having to use the ack-code from an alert e-mail. This requires that you setup the bb-ack CGI to allow this, by adding the --no-pin option to CGI_ACK_OPTS in hobbitcgi.cfg.
- The "Find host" utility was enhanced so that if all hosts found appear on the same page, it sends you directly to that page.
- A new "Ghost clients" report was added, giving you quick access to the list of current ghost clients.
- Alert scripts now receive a series of environment variables with the bb-hosts configuration items for the host.
- For web tests, it is now possible for Hobbit to pretend being a specific browser, through a BROWSER tag in bb-hosts.
- Workarounds for compile-time problems on HP-UX, and LDAP runtime library problems were added.
- File checks can now be optional, i.e. they will only be performed if the file in question exists.
So ... go wild. Test it. Report bugs. And don't forget to enjoy the summer.
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Scratch that!
The issue was related to the fact that my bb-hosts have netstat(whatever number) but you use ifstat. I found the proper graph lower down on the list.
Sorry for the trouble! :(
Jason Chambers IT Helpdesk Support Geosoft Inc. 85 Richmond St. West - 8th Floor Toronto, Ontario, Canada M5H 2C9 Tel: 416-369-0111 x344 Fax: 416-369-9599 www.geosoft.com
-----Original Message----- From: Jason Chambers [mailto:Jason.Chambers at geosoft.com] Sent: July-17-06 11:14 AM To: hobbit at hswn.dk Subject: RE: [hobbit] Hobbit 4.2 release candidate available
Hi Henrik,
Just did a fresh install of this release (renamed the old server dir, and fresh new gmake install, just copied the bb-hosts file over) and I'm unable to get any data graphed on the network traffic logs. Is there something that needs to be done first?
Jason Chambers IT Helpdesk Support Geosoft Inc. 85 Richmond St. West - 8th Floor Toronto, Ontario, Canada M5H 2C9 Tel: 416-369-0111 x344 Fax: 416-369-9599 www.geosoft.com
-----Original Message----- From: Henrik Stoerner [mailto:henrik at hswn.dk] Sent: July-12-06 6:08 PM To: hobbit at hswn.dk Cc: hobbit-announce at hswn.dk Subject: [hobbit] Hobbit 4.2 release candidate available
It's taken some time, but after a month of bug reports, debugging and last-minute enhancements there is now a release candidate of Hobbit 4.2 available on SourceForge.
You can download it from SourceForge.net by following this link: https://sourceforge.net/project/showfiles.php?group_id=128058&release_id =431566 or browse Release Notes and ChangeLog by visiting this link: https://sourceforge.net/project/shownotes.php?release_id=431566
As far as I know, all bugs that were reported for the beta release have been resolved, with the exception of the hobbitping "flapping" for some hosts. This is still being investigated, but until that gets resolved I'd suggest that you use fping instead.
Information about problems and fixes for the release candidate will appear on the RC release info page at http://www.hswn.dk/hobbitsw/betapatches/
Apart from the bug-fixes, some enhancements and new tools were added during the betatest:
- Two new tools implement a "pull-style" collection of data from Hobbit clients - i.e. the Hobbit server contacts the clients, and pulls their data - as a supplement to the normal push-style data collection used by clients. This is typically used for hosts located in a DMZ network zone, which cannot make outbound connections to the Hobbit server. See the hobbitfetch(8) and msgcache(8) man-pages.
- A new utility hobbit-hostgraphs.cgi(1) was added, allowing you to build graphs with data from multiple hosts.
- The "Acknowledge Alert" utility has been enhanced, so you can acknowledge an alert without having to use the ack-code from an alert e-mail. This requires that you setup the bb-ack CGI to allow this, by adding the --no-pin option to CGI_ACK_OPTS in hobbitcgi.cfg.
- The "Find host" utility was enhanced so that if all hosts found appear on the same page, it sends you directly to that page.
- A new "Ghost clients" report was added, giving you quick access to the list of current ghost clients.
- Alert scripts now receive a series of environment variables with the bb-hosts configuration items for the host.
- For web tests, it is now possible for Hobbit to pretend being a specific browser, through a BROWSER tag in bb-hosts.
- Workarounds for compile-time problems on HP-UX, and LDAP runtime library problems were added.
- File checks can now be optional, i.e. they will only be performed if the file in question exists.
So ... go wild. Test it. Report bugs. And don't forget to enjoy the summer.
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Hi all,
i have installed the RC from scratch using different web path..the install program not change the path for hobbit-ghosts.cgi (always /hobbit/.. )
Marco
On Tue, Jul 18, 2006 at 09:51:55AM +0200, Marco Avvisano wrote:
i have installed the RC from scratch using different web path..the install program not change the path for hobbit-ghosts.cgi (always /hobbit/.. )
Which file do you see this in ? The hobbit-ghosts.sh wrapper? Or the menu-items file?
Regards, Henrik
The hobbit-gosths.sh ..
from view source: <TITLE>Hobbit - Ghost Clients</TITLE>
<!-- Styles for the menu bar --> <link rel="stylesheet" type="text/css" href="/hobbit/menu/menu.css">
<!-- The favicon image --> <link rel="shortcut icon" href="/hobbit/gifs/favicon-blue.ico">
</HEAD>
<BODY BGCOLOR="blue" BACKGROUND="/hobbit/gifs/bkg-blue.gif" TEXT="#D8D8BF" LINK="#00FFAA" VLINK="#FFFF44"> regards,MArco ----- Original Message ----- From: "Henrik Stoerner" <henrik at hswn.dk> To: <hobbit at hswn.dk> Sent: Tuesday, July 18, 2006 10:09 AM Subject: Re: [hobbit] 4.2-RC-20060712 - ghosts path not correct
On Tue, Jul 18, 2006 at 09:51:55AM +0200, Marco Avvisano wrote:
i have installed the RC from scratch using different web path..the install program not change the path for hobbit-ghosts.cgi (always /hobbit/.. )
Which file do you see this in ? The hobbit-ghosts.sh wrapper? Or the menu-items file?
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Try copying the hobbitd/webfiles/*_header files from the Hobbit source directory to your ~hobbit/server/web/ directory.
In fact, if you've changed the URL for Hobbit, it's probably best if you copy ALL files from hobbitd/webfiles/ to your ~hobbit/server/web/ directory. I wouldn't bet on "make install" being able to figure out that you haven't modified the files, so it will probably NOT update them automatically.
Regards, Henrik
On Tue, Jul 18, 2006 at 10:26:57AM +0200, Marco Avvisano wrote:
The hobbit-gosths.sh ..
from view source: <TITLE>Hobbit - Ghost Clients</TITLE>
<!-- Styles for the menu bar --> <link rel="stylesheet" type="text/css" href="/hobbit/menu/menu.css">
<!-- The favicon image --> <link rel="shortcut icon" href="/hobbit/gifs/favicon-blue.ico">
</HEAD>
<BODY BGCOLOR="blue" BACKGROUND="/hobbit/gifs/bkg-blue.gif" TEXT="#D8D8BF" LINK="#00FFAA" VLINK="#FFFF44"> regards,MArco ----- Original Message ----- From: "Henrik Stoerner" <henrik at hswn.dk> To: <hobbit at hswn.dk> Sent: Tuesday, July 18, 2006 10:09 AM Subject: Re: [hobbit] 4.2-RC-20060712 - ghosts path not correct
On Tue, Jul 18, 2006 at 09:51:55AM +0200, Marco Avvisano wrote:
i have installed the RC from scratch using different web path..the install program not change the path for hobbit-ghosts.cgi (always /hobbit/.. )
Which file do you see this in ? The hobbit-ghosts.sh wrapper? Or the menu-items file?
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- Henrik Storner
Not solved using copy..I have installed RC from new (not updated)
Marco
----- Original Message ----- From: "Henrik Stoerner" <henrik at hswn.dk> To: <hobbit at hswn.dk> Sent: Tuesday, July 18, 2006 10:58 AM Subject: Re: [hobbit] 4.2-RC-20060712 - ghosts path not correct
Try copying the hobbitd/webfiles/*_header files from the Hobbit source directory to your ~hobbit/server/web/ directory.
In fact, if you've changed the URL for Hobbit, it's probably best if you copy ALL files from hobbitd/webfiles/ to your ~hobbit/server/web/ directory. I wouldn't bet on "make install" being able to figure out that you haven't modified the files, so it will probably NOT update them automatically.
Regards, Henrik
On Tue, Jul 18, 2006 at 10:26:57AM +0200, Marco Avvisano wrote:
The hobbit-gosths.sh ..
from view source: <TITLE>Hobbit - Ghost Clients</TITLE>
<!-- Styles for the menu bar --> <link rel="stylesheet" type="text/css" href="/hobbit/menu/menu.css">
<!-- The favicon image --> <link rel="shortcut icon" href="/hobbit/gifs/favicon-blue.ico">
</HEAD>
<BODY BGCOLOR="blue" BACKGROUND="/hobbit/gifs/bkg-blue.gif" TEXT="#D8D8BF" LINK="#00FFAA" VLINK="#FFFF44"> regards,MArco ----- Original Message ----- From: "Henrik Stoerner" <henrik at hswn.dk> To: <hobbit at hswn.dk> Sent: Tuesday, July 18, 2006 10:09 AM Subject: Re: [hobbit] 4.2-RC-20060712 - ghosts path not correct
On Tue, Jul 18, 2006 at 09:51:55AM +0200, Marco Avvisano wrote:
i have installed the RC from scratch using different web path..the install program not change the path for hobbit-ghosts.cgi (always /hobbit/.. )
Which file do you see this in ? The hobbit-ghosts.sh wrapper? Or the menu-items file?
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- Henrik Storner
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Hi all,
i have two hosts in my cfg file, nal-asl-1 and nal-asl-11. Using the command :
$BBHOME/bin/bb 127.0.0.1 "hobbitdboard host=$chtarget"
to check the status for these hosts, when the script check
$BBHOME/bin/bb 127.0.0.1 "hobbitdboard host=nal-asl-1"
return not only the status for the host nal-asl-1 but also for the host nal-asl-11.
It's a bug or i do something wrong?
regards,
Marco
Marco,
I use it as pcre regex, so your call should work if you use for
example:
$BBHOME/bin/bb 127.0.0.1 "hobbitdboard host=nal-asl-1$"
IT will list all hosts where names're ending with "nal-asl-1"
string. If you want restrict absolutelly you could use "^nal-asl-1$".
Give it a try, hope it works.
-Werner
----------------------- Original Message ----------------------- From: "Marco Avvisano" <marco.avvisano at regione.toscana.it> To: <hobbit at hswn.dk> Date: Wed, 19 Jul 2006 13:29:24 +0200 Subject: [hobbit] 4.2-RC-20060712 - hobbitdboard bug?
Hi all,
i have two hosts in my cfg file, nal-asl-1 and nal-asl-11. Using the command :
$BBHOME/bin/bb 127.0.0.1 "hobbitdboard host=$chtarget"
to check the status for these hosts, when the script check
$BBHOME/bin/bb 127.0.0.1 "hobbitdboard host=nal-asl-1"
return not only the status for the host nal-asl-1 but also for the host nal-asl-11.
It's a bug or i do something wrong?
regards,
Marco
thanks Werner, it works
M.
I use it as pcre regex, so your call should work if you use for example:
$BBHOME/bin/bb 127.0.0.1 "hobbitdboard host=nal-asl-1$"
IT will list all hosts where names're ending with "nal-asl-1" string. If you want restrict absolutelly you could use "^nal-asl-1$".
Give it a try, hope it works.
-Werner
----------------------- Original Message ----------------------- From: "Marco Avvisano" <marco.avvisano at regione.toscana.it> To: <hobbit at hswn.dk> Date: Wed, 19 Jul 2006 13:29:24 +0200 Subject: [hobbit] 4.2-RC-20060712 - hobbitdboard bug?
Hi all,
i have two hosts in my cfg file, nal-asl-1 and nal-asl-11. Using the command :
$BBHOME/bin/bb 127.0.0.1 "hobbitdboard host=$chtarget"
to check the status for these hosts, when the script check
$BBHOME/bin/bb 127.0.0.1 "hobbitdboard host=nal-asl-1"
return not only the status for the host nal-asl-1 but also for the host nal-asl-11.
It's a bug or i do something wrong?
regards,
Marco
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Hi,
uhhhh...it work from command line but not in the script if i use this command:
$host_color = $BBHOME/bin/bb 127.0.0.1 "hobbitdboard host=$chtarget$ fields=color";
no values are in this variable ...i don't know why ..
any ideas? thanks
Marco
I use it as pcre regex, so your call should work if you use for example:
$BBHOME/bin/bb 127.0.0.1 "hobbitdboard host=nal-asl-1$" IT will list all hosts where names're ending with "nal-asl-1" string. If you want restrict absolutelly you could use "^nal-asl-1$".
Give it a try, hope it works.
-Werner
----------------------- Original Message ----------------------- From: "Marco Avvisano" <marco.avvisano at regione.toscana.it> To: <hobbit at hswn.dk> Date: Wed, 19 Jul 2006 13:29:24 +0200 Subject: [hobbit] 4.2-RC-20060712 - hobbitdboard bug?
Hi all,
i have two hosts in my cfg file, nal-asl-1 and nal-asl-11. Using the command :
$BBHOME/bin/bb 127.0.0.1 "hobbitdboard host=$chtarget"
to check the status for these hosts, when the script check
$BBHOME/bin/bb 127.0.0.1 "hobbitdboard host=nal-asl-1"
return not only the status for the host nal-asl-1 but also for the host nal-asl-11.
It's a bug or i do something wrong?
regards,
Marco
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
I've had problems with this in the past when using the localhost address, try using the "real" ip address.
Thanks, Larry Barber
On 7/19/06, Marco Avvisano <marco.avvisano at regione.toscana.it> wrote:
Hi,
uhhhh...it work from command line but not in the script if i use this command:
$host_color =
$BBHOME/bin/bb 127.0.0.1 "hobbitdboard host=$chtarget$ fields=color";no values are in this variable ...i don't know why ..
any ideas? thanks
Marco
I use it as pcre regex, so your call should work if you use for example:
$BBHOME/bin/bb 127.0.0.1 "hobbitdboard host=nal-asl-1$" IT will list all hosts where names're ending with "nal-asl-1" string. If you want restrict absolutelly you could use "^nal-asl-1$".
Give it a try, hope it works.
-Werner
----------------------- Original Message ----------------------- From: "Marco Avvisano" <marco.avvisano at regione.toscana.it> To: <hobbit at hswn.dk> Date: Wed, 19 Jul 2006 13:29:24 +0200 Subject: [hobbit] 4.2-RC-20060712 - hobbitdboard bug?
Hi all,
i have two hosts in my cfg file, nal-asl-1 and nal-asl-11. Using the command :
$BBHOME/bin/bb 127.0.0.1 "hobbitdboard host=$chtarget"
to check the status for these hosts, when the script check
$BBHOME/bin/bb 127.0.0.1 "hobbitdboard host=nal-asl-1"
return not only the status for the host nal-asl-1 but also for the host nal-asl-11.
It's a bug or i do something wrong?
regards,
Marco
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
An HTML attachment was scrubbed... URL: <http://lists.xymon.com/pipermail/xymon/attachments/20060719/0c6e3295/attachment.html>
What kind of script?? If your talking of shell script you have to escape the "$" (string end) token (and i personally like to put shell vars inside {}), something like:
$host_color = $BBHOME/bin/bb 127.0.0.1 "hobbitdboard host=${chtarget}\$ fields=color";
-wm
----------------------- Original Message ----------------------- From: "Marco Avvisano" <marco.avvisano at regione.toscana.it> To: <hobbit at hswn.dk> Date: Wed, 19 Jul 2006 15:33:40 +0200 Subject: Re: [hobbit] 4.2-RC-20060712 - hobbitdboard bug?
Hi,
uhhhh...it work from command line but not in the script if i use this command:
$host_color =
$BBHOME/bin/bb 127.0.0.1 "hobbitdboard host=$chtarget$ fields=color";no values are in this variable ...i don't know why ..
any ideas? thanks
Marco
I use it as pcre regex, so your call should work if you use for example:
$BBHOME/bin/bb 127.0.0.1 "hobbitdboard host=nal-asl-1$" IT will list all hosts where names're ending with "nal-asl-1" string. If you want restrict absolutelly you could use "^nal-asl-1$".
Give it a try, hope it works.
-Werner
I have the same problem also for bb-ack.sh
Marco
Not solved using copy..I have installed RC from new (not updated)
Marco
----- Original Message ----- From: "Henrik Stoerner" <henrik at hswn.dk> To: <hobbit at hswn.dk> Sent: Tuesday, July 18, 2006 10:58 AM Subject: Re: [hobbit] 4.2-RC-20060712 - ghosts path not correct
Try copying the hobbitd/webfiles/*_header files from the Hobbit source directory to your ~hobbit/server/web/ directory.
In fact, if you've changed the URL for Hobbit, it's probably best if you copy ALL files from hobbitd/webfiles/ to your ~hobbit/server/web/ directory. I wouldn't bet on "make install" being able to figure out that you haven't modified the files, so it will probably NOT update them automatically.
Regards, Henrik
On Tue, Jul 18, 2006 at 10:26:57AM +0200, Marco Avvisano wrote:
The hobbit-gosths.sh ..
from view source: <TITLE>Hobbit - Ghost Clients</TITLE>
<!-- Styles for the menu bar --> <link rel="stylesheet" type="text/css" href="/hobbit/menu/menu.css">
<!-- The favicon image --> <link rel="shortcut icon" href="/hobbit/gifs/favicon-blue.ico">
</HEAD>
<BODY BGCOLOR="blue" BACKGROUND="/hobbit/gifs/bkg-blue.gif" TEXT="#D8D8BF" LINK="#00FFAA" VLINK="#FFFF44"> regards,MArco ----- Original Message ----- From: "Henrik Stoerner" <henrik at hswn.dk> To: <hobbit at hswn.dk> Sent: Tuesday, July 18, 2006 10:09 AM Subject: Re: [hobbit] 4.2-RC-20060712 - ghosts path not correct
On Tue, Jul 18, 2006 at 09:51:55AM +0200, Marco Avvisano wrote:
i have installed the RC from scratch using different web path..the install program not change the path for hobbit-ghosts.cgi (always /hobbit/.. )
Which file do you see this in ? The hobbit-ghosts.sh wrapper? Or the menu-items file?
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- Henrik Storner
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Henrik Stoerner wrote: ... ...
- The "Acknowledge Alert" utility has been enhanced, so you can acknowledge an alert without having to use the ack-code from an alert e-mail. This requires that you setup the bb-ack CGI to allow this, by adding the --no-pin option to CGI_ACK_OPTS in hobbitcgi.cfg.
Maybe I am missing something but when I set this, the "Acknowledge Alert" page is empty.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD>
<TITLE>Hobbit - Acknowledge Alert</TITLE>
<!-- Styles for the menu bar --> <link rel="stylesheet" type="text/css" href="/hobbit/menu/menu.css">
<!-- The favicon image --> <link rel="shortcut icon" href="/hobbit/gifs/favicon-red.ico">
</HEAD>
<BODY BGCOLOR="red" BACKGROUND="/hobbit/gifs/bkg-red.gif" TEXT="#D8D8BF" LINK="#00FFAA" VLINK="#FFFF44">
<TABLE SUMMARY="Topline" WIDTH="100%"> <TR><TD HEIGHT=16> </TD></TR> <!-- For the menu bar --> <TR> <TD VALIGN=MIDDLE ALIGN=LEFT WIDTH="30%"> <FONT FACE="Arial, Helvetica" SIZE="+1" COLOR="silver"><B>Hobbit</B></FONT> </TD> <TD VALIGN=MIDDLE ALIGN=CENTER WIDTH="40%"> <CENTER><FONT FACE="Arial, Helvetica" SIZE="+1" COLOR="silver"><B>Acknowledge Alert</B></FONT></CENTER> </TD>
<TD VALIGN=MIDDLE ALIGN=RIGHT WIDTH="30%"> <FONT FACE="Arial, Helvetica" SIZE="+1" COLOR="silver"><B>Tue Jul 18 11:23:55 2006</B></FONT> </TD> </TR> <TR> <TD COLSPAN=3> <HR WIDTH="100%"> </TD> </TR> </TABLE> <BR>
<BR><BR>
<TABLE SUMMARY="Bottomline" WIDTH="100%"> <TR> <TD> <HR WIDTH="100%"> </TD> </TR> <TR> <TD ALIGN=RIGHT><FONT FACE="Arial, Helvetica" SIZE="-2" COLOR="silver"><B><A HREF="http://hobbitmon.sourceforge.net/" style="text-decoration: none">Hobbit Monitor 4.2-RC-20060712.1</A></B></FONT></TD> </TR> </TABLE>
<!-- menu script itself. you should not modify this file --> <script type="text/javascript" language="JavaScript" src="/hobbit/menu/menu.js"></script> <!-- items structure. menu hierarchy and links are stored there --> <script type="text/javascript" language="JavaScript" src="/hobbit/menu/menu_items.js"></script> <!-- files with geometry and styles structures --> <script type="text/javascript" language="JavaScript" src="/hobbit/menu/menu_tpl.js"></script> <script type="text/javascript" language="JavaScript"> new menu (MENU_ITEMS, MENU_POS); </script>
</BODY> </HTML>
Dominique UNIL - University of Lausanne
On Tue, Jul 18, 2006 at 11:26:00AM +0200, Dominique Frise wrote:
Henrik Stoerner wrote: ... ...
- The "Acknowledge Alert" utility has been enhanced, so you can acknowledge an alert without having to use the ack-code from an alert e-mail. This requires that you setup the bb-ack CGI to allow this, by adding the --no-pin option to CGI_ACK_OPTS in hobbitcgi.cfg.
Maybe I am missing something but when I set this, the "Acknowledge Alert" page is empty.
Well, do you have any alerts active at the moment ? You can check by seeing if the command
bb 127.0.0.1 "hobbitdboard color=red,yellow fields=hostname,testname,cookie"
returns any data.
Note: If you have your systems split across multiple pages, it will only show the hosts on those pages. If you are viewing a single host (e.g. the detailed status of a host), it will only show that host in the ack web-page.
Regards, Henrik
Henrik Stoerner wrote:
On Tue, Jul 18, 2006 at 11:26:00AM +0200, Dominique Frise wrote:
Henrik Stoerner wrote: ... ...
- The "Acknowledge Alert" utility has been enhanced, so you can acknowledge an alert without having to use the ack-code from an alert e-mail. This requires that you setup the bb-ack CGI to allow this, by adding the --no-pin option to CGI_ACK_OPTS in hobbitcgi.cfg.
Maybe I am missing something but when I set this, the "Acknowledge Alert" page is empty.
Well, do you have any alerts active at the moment ? You can check by seeing if the command
bb 127.0.0.1 "hobbitdboard color=red,yellow fields=hostname,testname,cookie"
returns any data.
Note: If you have your systems split across multiple pages, it will only show the hosts on those pages. If you are viewing a single host (e.g. the detailed status of a host), it will only show that host in the ack web-page.
I see...
Now on the "All non green view" there are two hosts/alerts pairs:
bb at iris bin]$ ./bb 127.0.0.1 "hobbitdboard color=red,yellow fields=hostname,testname,cookie" otto|sslcert|818047 zeb1|disk|987573
But we see three lines on the "Acknowledge Alert" page (last one has no Host or Test name):
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD>
<TITLE>Hobbit - Acknowledge Alert</TITLE>
<!-- Styles for the menu bar --> <link rel="stylesheet" type="text/css" href="/hobbit/menu/menu.css">
<!-- The favicon image --> <link rel="shortcut icon" href="/hobbit/gifs/favicon-red.ico">
</HEAD>
<BODY BGCOLOR="red" BACKGROUND="/hobbit/gifs/bkg-red.gif" TEXT="#D8D8BF" LINK="#00FFAA" VLINK="#FFFF44">
<TABLE SUMMARY="Topline" WIDTH="100%"> <TR><TD HEIGHT=16> </TD></TR> <!-- For the menu bar --> <TR> <TD VALIGN=MIDDLE ALIGN=LEFT WIDTH="30%"> <FONT FACE="Arial, Helvetica" SIZE="+1" COLOR="silver"><B>Hobbit</B></FONT> </TD> <TD VALIGN=MIDDLE ALIGN=CENTER WIDTH="40%"> <CENTER><FONT FACE="Arial, Helvetica" SIZE="+1" COLOR="silver"><B>Acknowledge Alert</B></FONT></CENTER> </TD>
<TD VALIGN=MIDDLE ALIGN=RIGHT WIDTH="30%"> <FONT FACE="Arial, Helvetica" SIZE="+1" COLOR="silver"><B>Wed Jul 19 07:28:53 2006</B></FONT> </TD> </TR> <TR> <TD COLSPAN=3> <HR WIDTH="100%"> </TD> </TR> </TABLE> <BR>
<form method="POST" ACTION="/hobbit-seccgi/bb-ack.sh"> <center><table cellpadding=5 summary="Ack data"> <tr><th align=left>Host</th><th align=left>Test</th><th align=left>Duration<br>(minutes)</th><th align=left>Cause</th><th>Ack</th><th>Ack Multiple</tr> <tr> <td>otto</td> <td>sslcert</td>
<TD><INPUT TYPE=TEXT NAME="DELAY_1" SIZE=4 MAXLENGTH=4></TD>
<TD><INPUT TYPE=TEXT NAME="MESSAGE_1" SIZE=60 MAXLENGTH=80></TD>
<TD>
<INPUT TYPE="HIDDEN" NAME="NUMBER_1" VALUE="818047">
<INPUT TYPE="HIDDEN" NAME="HOSTNAME_1" VALUE="otto">
<INPUT TYPE="HIDDEN" NAME="TESTNAME_1" VALUE="sslcert">
<INPUT TYPE="SUBMIT" NAME="Send_1" VALUE="Send" ALT="Send">
</TD>
<TD>
<INPUT TYPE="CHECKBOX" NAME="CHECKED_1" VALUE="OFF">
</TD>
</tr> <tr> <td>zeb1</td> <td>disk</td> <TD><INPUT TYPE=TEXT NAME="DELAY_2" SIZE=4 MAXLENGTH=4></TD> <TD><INPUT TYPE=TEXT NAME="MESSAGE_2" SIZE=60 MAXLENGTH=80></TD> <TD>
<INPUT TYPE="HIDDEN" NAME="NUMBER_2" VALUE="987573">
<INPUT TYPE="HIDDEN" NAME="HOSTNAME_2" VALUE="zeb1">
<INPUT TYPE="HIDDEN" NAME="TESTNAME_2" VALUE="disk">
<INPUT TYPE="SUBMIT" NAME="Send_2" VALUE="Send" ALT="Send">
</TD>
<TD>
<INPUT TYPE="CHECKBOX" NAME="CHECKED_2" VALUE="OFF">
</TD>
</tr>
<tr> <td> </td> <td> </td> <TD><INPUT TYPE=TEXT NAME="DELAY_all" SIZE=4 MAXLENGTH=4></TD> <TD><INPUT TYPE=TEXT NAME="MESSAGE_all" SIZE=60 MAXLENGTH=80></TD> <TD> </TD> <TD>
<INPUT TYPE="SUBMIT" NAME="Send_all" VALUE="Send" ALT="Send">
</TD>
</tr> </table></center> </form> <BR><BR>
<TABLE SUMMARY="Bottomline" WIDTH="100%"> <TR> <TD> <HR WIDTH="100%"> </TD> </TR> <TR>
<TD ALIGN=RIGHT><FONT FACE="Arial, Helvetica" SIZE="-2" COLOR="silver"><B><A HREF="http://hobbitmon.sourceforge.net/" style="text-decoration: none">Hobbit Monitor 4.2-RC-20060712.1</A></B></FONT></TD> </TR> </TABLE>
<!-- menu script itself. you should not modify this file --> <script type="text/javascript" language="JavaScript" src="/hobbit/menu/menu.js"></script> <!-- items structure. menu hierarchy and links are stored there --> <script type="text/javascript" language="JavaScript" src="/hobbit/menu/menu_items.js"></script> <!-- files with geometry and styles structures --> <script type="text/javascript" language="JavaScript" src="/hobbit/menu/menu_tpl.js"></script> <script type="text/javascript" language="JavaScript"> new menu (MENU_ITEMS, MENU_POS);
</script>
</BODY> </HTML>
Regards,
Dominique UNIL - University of Lausanne
On Wed, Jul 19, 2006 at 07:32:50AM +0200, Dominique Frise wrote:
Now on the "All non green view" there are two hosts/alerts pairs:
bb at iris bin]$ ./bb 127.0.0.1 "hobbitdboard color=red,yellow fields=hostname,testname,cookie" otto|sslcert|818047 zeb1|disk|987573
But we see three lines on the "Acknowledge Alert" page (last one has no Host or Test name):
That last line is used to ack multiple hosts with one click. Check the checkboxes in the "Ack multiple" column, fill out the ack-message and duration on the bottom line and hit the "Send" button - and you've acked all of the checked alerts.
(Hmm ... I thought that interface would be obvious, apparently not).
Regards, Henrik
participants (9)
-
bgmilne@staff.telkomsa.net
-
Dominique.Frise@unil.ch
-
henrik@hswn.dk
-
Jason.Chambers@geosoft.com
-
lebarber@gmail.com
-
marco.avvisano@regione.toscana.it
-
stephane.caminade@ias.u-psud.fr
-
Stewart_Larsen@doh.state.fl.us
-
wxxx333@gmail.com