Xymon Mailing List Archive search

Wildcard in client-local.cfg

list Henrik Størner
Thu, 10 Feb 2011 16:34:55 +0000 (UTC)
Message-Id: <ij143f$diq$user-e356fad9864f@xymon.invalid>

In <user-b1a27a551032@xymon.invalid> "L.M.J" <user-78bb6d5d9024@xymon.invalid> writes:
  On Xymon 4.2.2, I would to know if I can add wildcard in 
client-local.cfg like this :
   [machi*]
   log:/var/log/messages:10240
  Or, at least,
   [machine1,machine2,machine3,machine4]
   log:/var/log/messages:10240
Unfortunately not.

The [foo] in client-local.cfg is matched against the full hostname,
then the "class" of the host (defaults to the operating system
name, but you can define the class with the CLASS definition in
hosts.cfg / bb-hosts, or by starting the client with the "--class"
option); and finally it is matched against the operating system
name.

But in neither case does it support wildcards, lists or patterns.


Regards,
Henrik