[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Reg Exp matching in hobbit-clients.cfg



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