[hobbit] hobbit-alerts.cfg -- Perl regex
henrik at hswn.dk
Thu Aug 11 20:36:19 CEST 2005
On Thu, Aug 11, 2005 at 03:07:47PM -0300, Werner Michels (Ext Lists) wrote:
> Please try change the HG definition as:
> Observe that the "%" is the first char and this indicates that your using perl regex.
> With this change your host group should work fine.
Werner is right here - the "%" must be first, it's only mission is to
tell Hobbit to treat this as a regular expression instead of a simple
For debugging regular expressions, I routinely use the info-page
display (which shows clearly whether a host/test is matched or not),
but also the "pcretest" tool that comes with the pcre library. Like
PCRE version 4.5 01-December-2003
More information about the Xymon