[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] client-local.cfg question
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] client-local.cfg question
- From: Chuck Danger <cdanger2k (at) yahoo.com>
- Date: Mon, 20 Nov 2006 14:08:08 -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=AB0D/jz9bNiqyJCSSx7AaNuJiUOpUDz5jwsW2fBS/vOj6+2Kf0qstQtJPZiaSikd+4gKz9OhR4R0Rrs1gJy/zUc19QCbk9OSz7cSm5uQkhO6fhtK1EjbQKyy4UsMAiA20RT7V9h/RW8G2EouN8zFMqFOnxJ/aWgx3yhXtTfrcf0= ;
Thanks, I appreciate the heads up!
----- Original Message ----
From: Charles Jones <jonescr (at) cisco.com>
To: hobbit (at) hswn.dk
Sent: Monday, November 20, 2006 12:37:49 PM
Subject: Re: [hobbit] client-local.cfg question
Yes. See the CLASS option in the bb-hosts man page. Basically you can
define a CLASS (group) of hosts, and then in client-local.cfg you can
do:
[classname]
log:`find /var/log/httpd -type f -maxdepth 1` size<10000000
-Charles
Chuck Danger wrote:
Thought
I would try this again, maybe I caught people on a weekend...
-----
Original Message ----
From: Chuck Danger <cdanger2k (at) yahoo.com>
To: hobbit (at) hswn.dk
Sent: Friday, November 17, 2006 4:25:31 PM
Subject: [hobbit] client-local.cfg question
Is there a way in client-local.cfg to group hosts by "like"
hostnames? For example, if I have:
web01
web02
web03
web04
web05
And I want to setup file monitoring in /var/log/httpd, is there some
way to group them so that I don't have to define each one? I'd like to
do something like:
[web*]
log:`find /var/log/httpd -type f -maxdepth 1` size<10000000
instead of having to do:
[web01]
...
[web02]
...
[web03]
...
Thanks-
Jay