[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
clients-local.cfg question
- To: hobbit (at) hswn.dk
- Subject: clients-local.cfg question
- From: Chuck Danger <cdanger2k (at) yahoo.com>
- Date: Fri, 5 Jan 2007 19:39:53 -0800 (PST)
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type; b=E74B2BtLfOGs7JZjnXkb7AB+m72rxqzOtuOrmB+seN90MDDfkGzCNFQKAAffRUOUgrAI8mwKuSPhow0kRBSGknmUoBHzVzrx8Z9bGKQiKaPbuIfkMXzQacLOn+NXFC9XYB37JwV+j9BArwkfOVzFX6rRI91/YJVYyAjkD+Kaqjs= ;
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