Xymon Mailing List Archive search

client-local.cfg question

list Chuck Danger
Mon, 20 Nov 2006 10:00:53 -0800 (PST)
Message-Id: <user-b8064e23ce3a@xymon.invalid>

Thought I would try this again, maybe I caught people on a weekend...

----- Original Message ----
From: Chuck Danger <user-1bc65d9b5be1@xymon.invalid>
To: user-ae9b8668bcde@xymon.invalid
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