Reg Exp matching in hobbit-clients.cfg
Bill Matthews
bill.matthews at gmail.com
Wed Aug 29 17:19:17 CEST 2007
Greetings,
I've been able to do some basic regular expression matching using the
examples in hobbit-clients.cfg.
For example, this works fine:
HOST=%(server1|server2|server3).domain.com
But this doesn't:
HOST=%(server*).domain.com
I'm sure I'm just missing the syntax for wildcard matching?
Also is there a way to define a test for every server except some hosts? I
have a lot of tests I would love to put in the DEFAULT section, but I have a
couple hosts that the tests would fail for.
I'm wondering if something like this would be possible?
HOST=%(!badhost1|badhost2).domain.com
Thanks for the help, BM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20070829/570262ae/attachment.html>
More information about the Xymon
mailing list