Differences with bb/bbgen
list Sven de Vilder
Hello, I recently migrated from bb with bbgen to Hobbit 4.02, but i found some differences between bb/bbgen and Hobbit. I don't know if this is by design or something has broken in the meantime. I've searched the archives, but i couldn't find anything in there. The things i've found are all located in the bb-hosts files : - The nodisp tag doesn't seem to work anymore. I use this to show some hosts on a differen pageset, but not on the main interface. - The dialup tag (as a tag behind an entry, not as a separate entry) also doesn't work as i expected. With the bb/bbgen combination the cpu, disk, svcs and msgs tests on hosts with the dialup tag didn't go purple if fping was clear, but now it does. I worked around this with the NOPROPPURPLE tag, but i would rather see them also become clear. I also found one small copy-paste error in the man-page of hobbit-alerts.cfg (and also the web-version) : EXSERVICE=targetstring Rule excluding an alert by matching the hostname. hostname should ofcourse be service. I'm also missing a netstat entry for Darwin (for creating the graphs). Perhaps this can be added too ? Ofcourse i can supply the output of this test on Darwin. Last but not least : Cudos to Henrik for creating such a wonderful successor to BB. Greeting, Sven De Vilder
list Henrik Størner
Hi Sven,
▸
On Mon, May 23, 2005 at 05:44:33PM +0200, Sven De Vilder wrote:Hello, I recently migrated from bb with bbgen to Hobbit 4.02, but i found some differences between bb/bbgen and Hobbit. I don't know if this is by design or something has broken in the meantime.
Most likely I broke some things.
- The nodisp tag doesn't seem to work anymore. I use this to show some hosts on a differen pageset, but not on the main interface.
This has had a tumultuous migration from bbgen to Hobbit. At one point it disappeared completely, and it seems I never got it correctly re- implemented. Right now I cannot even remember why I took it out :-) Fix at http://www.hswn.dk/hobbitsw/nodisp.patch
- The dialup tag (as a tag behind an entry, not as a separate entry) also doesn't work as i expected. With the bb/bbgen combination the cpu, disk, svcs and msgs tests on hosts with the dialup tag didn't go purple if fping was clear, but now it does. I worked around this with the NOPROPPURPLE tag, but i would rather see them also become clear.
That's a bug. It would work if the ping-column had gone red, but it doesn't do that for "dialup" hosts. Fix at http://www.hswn.dk/hobbitsw/dialup-notpurple.patch
▸
I also found one small copy-paste error in the man-page of hobbit-alerts.cfg (and also the web-version) : EXSERVICE=targetstring Rule excluding an alert by matching the hostname. hostname should ofcourse be service.
Fixed, thanks for noticing.
I'm also missing a netstat entry for Darwin (for creating the graphs). Perhaps this can be added too ? Ofcourse i can supply the output of this test on Darwin.
"netstat -s" - and "vmstat 2 10" - sample outputs would be nice. I suspect they are a lot like the BSD outputs.
Last but not least : Cudos to Henrik for creating such a wonderful successor to BB.
Thanks :-) Henrik
list Renata Vidal
Hello, Really, NODISP doesn't work. It just ignores lines with a # at the beginning, but it is not monitored. Renata Vidal
▸
On 5/23/05, Sven De Vilder <user-3a7f76b871fc@xymon.invalid> wrote:Hello, I recently migrated from bb with bbgen to Hobbit 4.02, but i found some differences between bb/bbgen and Hobbit. I don't know if this is by design or something has broken in the meantime. I've searched the archives, but i couldn't find anything in there. The things i've found are all located in the bb-hosts files : - The nodisp tag doesn't seem to work anymore. I use this to show some hosts on a differen pageset, but not on the main interface. - The dialup tag (as a tag behind an entry, not as a separate entry) also doesn't work as i expected. With the bb/bbgen combination the cpu, disk, svcs and msgs tests on hosts with the dialup tag didn't go purple if fping was clear, but now it does. I worked around this with the NOPROPPURPLE tag, but i would rather see them also become clear. I also found one small copy-paste error in the man-page of hobbit-alerts.cfg (and also the web-version) : EXSERVICE=targetstring Rule excluding an alert by matching the hostname. hostname should ofcourse be service. I'm also missing a netstat entry for Darwin (for creating the graphs). Perhaps this can be added too ? Ofcourse i can supply the output of this test on Darwin. Last but not least : Cudos to Henrik for creating such a wonderful successor to BB. Greeting, Sven De Vilder
list Sven de Vilder
Hi Henrik,
▸
Henrik Stoerner wrote:
I recently migrated from bb with bbgen to Hobbit 4.02, but i found some differences between bb/bbgen and Hobbit. I don't know if this is by design or something has broken in the meantime.Most likely I broke some things.- The nodisp tag doesn't seem to work anymore. I use this to show some hosts on a differen pageset, but not on the main interface.This has had a tumultuous migration from bbgen to Hobbit. At one point it disappeared completely, and it seems I never got it correctly re- implemented. Right now I cannot even remember why I took it out :-) Fix at http://www.hswn.dk/hobbitsw/nodisp.patch
I had some time to spend after the migration yes, but I expected some extra work... The patch works like a charm. I actually can't find any reference to this (and also the dialup tag) in the man-pages. Perhaps something to add ? I at least think they're useful additions.
▸
- The dialup tag (as a tag behind an entry, not as a separate entry) also doesn't work as i expected. With the bb/bbgen combination the cpu, disk, svcs and msgs tests on hosts with the dialup tag didn't go purple if fping was clear, but now it does. I worked around this with the NOPROPPURPLE tag, but i would rather see them also become clear.That's a bug. It would work if the ping-column had gone red, but it doesn't do that for "dialup" hosts. Fix at http://www.hswn.dk/hobbitsw/dialup-notpurple.patch
This patch doesn't seem to work yet. I've tested it fully from green to puple.
▸
I also found one small copy-paste error in the man-page of hobbit-alerts.cfg (and also the web-version) : EXSERVICE=targetstring Rule excluding an alert by matching the hostname. hostname should ofcourse be service.Fixed, thanks for noticing.
Glad to help.
▸
I'm also missing a netstat entry for Darwin (for creating the graphs). Perhaps this can be added too ? Ofcourse i can supply the output of this test on Darwin."netstat -s" - and "vmstat 2 10" - sample outputs would be nice. I suspect they are a lot like the BSD outputs.
netstat -s output is attached. vmstat is not installed. I do however have vm_stat, but it looks entirely different, so it's probably not useful. It's attached anyway. Thanks, Sven
Attachments (2)
list Sven de Vilder
This actually seems to be an undocumented feature, which works perfectly with Henrik's new patch. It's probably only useful if you use multiple pagesets. Greetings, Sven De Vilder
▸
Renata Vidal wrote:Hello, Really, NODISP doesn't work. It just ignores lines with a # at the beginning, but it is not monitored. Renata Vidal
list Henrik Størner
▸
On Mon, May 23, 2005 at 08:26:51PM +0200, Sven De Vilder wrote:
- The nodisp tag doesn't seem to work anymore. I use this to show some >>hosts on a differen pageset, but not on the main interface.Fix at http://www.hswn.dk/hobbitsw/nodisp.patchI had some time to spend after the migration yes, but I expected some extra work... The patch works like a charm.
Good.
I actually can't find any reference to this (and also the dialup tag) in the man-pages. Perhaps something to add ? I at least think they're useful additions.
It belongs in the bb-hosts(5) man-page. Added.
▸
- The dialup tag (as a tag behind an entry, not as a separate entry) >>also doesn't work as i expected.That's a bug. It would work if the ping-column had gone red, but it doesn't do that for "dialup" hosts. Fix at http://www.hswn.dk/hobbitsw/dialup-notpurple.patchThis patch doesn't seem to work yet. I've tested it fully from green to puple.
Ah, no - I was in a hurry and got mixed up between the old and the new
color. Backout the patch you downloaded ("patch -R"), then pick it up
again from the same URL. Or change the line that reads (line 2495)
if (tmp->color == COL_PURPLE) {
to
if (newcolor == COL_PURPLE) {
▸
I'm also missing a netstat entry for Darwin (for creating the graphs). >>Perhaps this can be added too ? Ofcourse i can supply the output of this >>test on Darwin."netstat -s" - and "vmstat 2 10" - sample outputs would be nice. I >suspect they are a lot like the BSD outputs.netstat -s output is attached.
I'll look it over. Henrik
list Sven de Vilder
▸
I actually can't find any reference to this (and also the dialup tag) in the man-pages. Perhaps something to add ? I at least think they're useful additions.It belongs in the bb-hosts(5) man-page. Added.
Excellent
▸
- The dialup tag (as a tag behind an entry, not as a separate entry) also doesn't work as i expected.That's a bug. It would work if the ping-column had gone red, but it doesn't do that for "dialup" hosts. Fix at http://www.hswn.dk/hobbitsw/dialup-notpurple.patchThis patch doesn't seem to work yet. I've tested it fully from green to puple.Ah, no - I was in a hurry and got mixed up between the old and the new color. Backout the patch you downloaded ("patch -R"), then pick it up again from the same URL. Or change the line that reads (line 2495) if (tmp->color == COL_PURPLE) { to if (newcolor == COL_PURPLE) {
Done and confirmed. Thank you.
▸
I'm also missing a netstat entry for Darwin (for creating the graphs). Perhaps this can be added too ? Ofcourse i can supply the output of this test on Darwin."netstat -s" - and "vmstat 2 10" - sample outputs would be nice. I suspect they are a lot like the BSD outputs.netstat -s output is attached.I'll look it over.
Thanks. Sven
list Sven de Vilder
Hi Henrik,
▸
Henrik Stoerner wrote:- The nodisp tag doesn't seem to work anymore. I use this to show some hosts on a differen pageset, but not on the main interface.This has had a tumultuous migration from bbgen to Hobbit. At one point it disappeared completely, and it seems I never got it correctly re- implemented. Right now I cannot even remember why I took it out :-) Fix at http://www.hswn.dk/hobbitsw/nodisp.patch
I spoke too soon about this patch. It works a bit too good. nodisp hosts are also not shown on pages with alternative pagesets. I moved the BBH_FLAG_NODISP line after the line where the check for a pageset is and this seems to work. 613a614,616
/* Check for no-display hosts - they are ignored. */
if (bbh_item(bbhost, BBH_FLAG_NODISP) != NULL) continue;
659,661d661 < /* Check for no-display hosts - they are ignored. */ < if (bbh_item(bbhost, BBH_FLAG_NODISP) != NULL) continue; < I don't know if it's the right solution, but it works for me. Greetings, Sven