[hobbit] Alerting and regular expression

Charles Jones jonescr at cisco.com
Fri Jan 6 17:09:04 CET 2006

James B Horwath wrote:

> I am converting from BB to Hobbit, Hobbit is a really nice piece of code.
> I am in the process of converting my rule set from BB to Hobbit and 
> have a couple of questions.
> I have found if I try to define this:
> $FOO_HOST=%*myhost
> I receive an error message because I start with a '*'.  I haven't 
> found the magic to escape this.  As a work-around I did this:
> $FOO_HOST=%[a-zA-Z0-9]*myhost

I think you have to either use wildcards, or regex. In other words:




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20060106/3b74a94e/attachment.html>

More information about the Xymon mailing list