[hobbit] Problem with Regular Expression in Alert

Geoff Hallford geoff.hallford at gmail.com
Tue Nov 7 14:54:32 CET 2006


Yes, that did it. For some reason didn't think of making the whole thing a
regex.

Thank you.


On 11/7/06, Jones, Jason (Altrincham) <JasonAS_Jones at mentor.com> wrote:
>
>  This should work: COLOR=red EXSERVICE=%(msgs|^int.*)
>
> Jason.
>
>
>  ------------------------------
>
> *From:* Geoff Hallford [mailto:geoff.hallford at gmail.com]
> *Sent:* 07 November 2006 13:30
> *To:* hobbit at hswn.dk
> *Subject:* [hobbit] Problem with Regular Expression in Alert
>
>
>
> Hi Everyone,
>
>
>
> I am having an issue where Hobbit will not take multiple alert parameters
> if one of them is a regular expression. I have my hobbit built with MRTG
> integration. My example is that I want to have my catch all rule exclude all
> msgs and interfaces (in the format int01-08, int09-16, ...).
>
>
>
> This works: COLOR=red EXSERVICE=%^int.*
>
> This doesn't work: COLOR=red EXSERVICE=msgs,%^int.*
>
>
>
> Does anyone have any hints, how to get this working? Maybe even a logical
> approach to get it working and not necessary a technical approach?
>
>
>
> Thanks.
>
>



-- 
'If my answers frighten you then you should cease asking scary questions.'
--Sam Jackson from Pulp Fiction
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20061107/ec4a3c3c/attachment.html>


More information about the Xymon mailing list