Xymon Mailing List Archive search

clients-local.cfg question

list Jerry Yu
Sat, 6 Jan 2007 14:21:53 -0500
Message-Id: <user-b5405d25ccac@xymon.invalid>

I believe only the first match counts in client-local.cfg.

On 1/5/07, Chuck Danger <user-1bc65d9b5be1@xymon.invalid> 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?  I
have this currently:

bb-hosts:
....
192.168.1.2   test   # class=app

clients-local.cfg:
[sunos]
log: /var/adm/message:10240

[app]
file:/home/test/app/app.log

hobbit-clients.cfg:

DEFAULT
    ....

CLASS=app
    FILE /home/test/app/app.log RED size<150000


I would think that this would result in the client checking the logfile
size at /home/test/app/app.log.  However, looking at the logfetch results on
the client, I can see that it is not picking up the file config from
clients-local.  If I move the "file" statement to [sunos], it works fine.

What am I doing wrong here?

Thanks-
Jay

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