[hobbit] clients-local.cfg question

Jerry Yu jjj863 at gmail.com
Sat Jan 6 20:21:53 CET 2007


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

On 1/5/07, Chuck Danger <cdanger2k at yahoo.com> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20070106/111384f0/attachment.html>


More information about the Xymon mailing list