Xymon Mailing List Archive search

NK allevents log

3 messages in this thread

list Brian Lynch · Sat, 7 May 2005 19:13:46 -0700 ·
Henrik,
Would it be possible to create a log of only NK events? We currently use bbgen views to present a limited view to our NOC (via the bbgen ignore strings) and then use a custom php program to parse the allevents log and only pick out events that would have shown up on their view. We use this as a metric to track successful escalation of alerts. I'm considering switching to the NK model, but it would require a more complex program to identify NK alerts. Any thoughts?

Thanks,
Brian

PS. Switching live to clustered hobbit in 2 weeks! Thanks for all your hard work!
list Henrik Størner · Sun, 8 May 2005 07:42:02 +0200 ·
quoted from Brian Lynch
On Sat, May 07, 2005 at 07:13:46PM -0700, Brian Lynch wrote:
Would it be possible to create a log of only NK events? We currently use bbgen views to present a limited view to our NOC (via the bbgen ignore strings) and then use a custom php program to parse the allevents log and only pick out events that would have shown up on their view. We use this as a metric to track successful escalation of alerts. I'm considering switching to the NK model, but it would require a more complex program to identify NK alerts. Any thoughts?
Add "--nklog" to the bbgen command in hobbitlaunch.cfg. This creates a
logfile of what's on the NK status view every time it is generated by
bbgen - it's currently in $BBHOME/nkstatus.log, but it will move to the
$BBSERVERLOGS (i.e. /var/log/hobbit) shortly.

The format of the file is   timestamp <TAB> color <TAB> HOST (TEST:COLOR) <TAB> ...
if you want some tool to process it. The timestamp is the Unix "epoch"
time, i.e. seconds since Jan 1 1970 UTC.

"--nklog" also creates an "nk" status for the Hobbit server, which tracks the
color of the NK page. Meaning you'll actually have a statistic of how
much of the time your NOC monitor is red or green.
PS. Switching live to clustered hobbit in 2 weeks! Thanks for all your hard work!
Thanks :-)


Henrik
list Alvin Abad · Sun, 08 May 2005 03:13:27 -0700 ·
Hi,

Has anybody ported hobbitclient-0.3 on Linux and Solaris?

I want to remove all BigBrother clients on my machines so that I can
fully switch to Hobbit. I'm afraid BB client is a non-free license too, 
correct?

Anyway, let me take this opportunity to thank Henrik for creating
Hobbit. I thought BB with bbgen was great; Hobbit is AWESOME! It's
much faster, more stable, and easier to use and maintain. And more
importantly, it has a better design.

- Alvin