Differences with bb/bbgen
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)