Xymon Mailing List Archive search

clients-local.cfg question

list Chuck Danger
Tue, 9 Jan 2007 15:43:33 -0800 (PST)
Message-Id: <user-d46c2e0d934f@xymon.invalid>

Thanks Henrik, I went ahead and applied the patch cluster.

I am still having a problem with classes though;  when I create a CLASS in hobbit-clients.cfg, like so:

CLASS=app
    FILE /var/log/app/app.log size<1 red

and apply the class tag in bb-hosts, like so:

192.168.1.10    test    # testip class=app

it is not picking up the FILE statement in the CLASS definition.  If I change the CLASS definition to a HOST definition (with appropriate hostname), it works fine.

Thanks-
Jay

----- Original Message ----
From: Henrik Stoerner <user-ce4a2c883f75@xymon.invalid>
To: user-ae9b8668bcde@xymon.invalid
Sent: Saturday, January 6, 2007 3:23:41 PM
Subject: Re: [hobbit] clients-local.cfg question

On Fri, Jan 05, 2007 at 07:39:53PM -0800, Chuck Danger wrote:
I seem to be having a problem understanding clients-local.cfg.  
Is it not possible for a host to match multiple entries in 
clients-local.cfg?
Not in the original 4.2.0 release. There is a patch for this on
http://www.hswn.dk/hobbitsw/patches/ in the "Enhancements" section.


Henrik


Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com