Xymon Mailing List Archive search

Page-based configuration in hobbitclient.cfg

2 messages in this thread

list Harald Husemann · Mon, 10 Sep 2007 17:53:44 +0200 ·
Hi all,

I'm currently migrating our monitoring from BB to hobbit, and I'd like
to use the page-based selection in hobbit-client.cfg to specify
different tests for servers on different pages.
So, I've setup a couple of pages in bb-hosts which are already shown on
my startpage (no subpages etc.), and now, I added the following to my
hobbit-client.cfg:

PAGE=bsi
        PROC proftpd
        PORT LOCAL=%[.:]21$ STATE=LISTEN "TEXT=ftp"

So, I expected that servers on the "bsi" page should be checked for
proftpd, right?
Well, this does not work at all, and a "bin/bbcmd hobbitd_client
--dump-config" gives me the follwoing lines among others:

PROC proftpd 1 -1 red HOST=bsi (line: 372)
PORT local=%[.:]21$ state=LISTEN min=1 color=red HOST=bsi TEXT=ftp
(line: 373)

I would expect to see PAGE=bsi instead of HOST=...?!

Any ideas?

Thanks, and have a nice hackin'.

Harald
list Iain Conochie · Tue, 11 Sep 2007 10:13:13 +0100 ·
quoted from Harald Husemann
Harald Husemann wrote:
Hi all,

I'm currently migrating our monitoring from BB to hobbit, and I'd like
to use the page-based selection in hobbit-client.cfg to specify
different tests for servers on different pages.
So, I've setup a couple of pages in bb-hosts which are already shown on
my startpage (no subpages etc.), and now, I added the following to my
hobbit-client.cfg:

PAGE=bsi
        PROC proftpd
        PORT LOCAL=%[.:]21$ STATE=LISTEN "TEXT=ftp"

So, I expected that servers on the "bsi" page should be checked for
proftpd, right?
  
Where in the file have you put this in the hobbit-client.cfg? This must 
be before the default stanza

Cheers

Iain
quoted from Harald Husemann
Well, this does not work at all, and a "bin/bbcmd hobbitd_client
--dump-config" gives me the follwoing lines among others:

PROC proftpd 1 -1 red HOST=bsi (line: 372)
PORT local=%[.:]21$ state=LISTEN min=1 color=red HOST=bsi TEXT=ftp
(line: 373)

I would expect to see PAGE=bsi instead of HOST=...?!

Any ideas?

Thanks, and have a nice hackin'.

Harald