[Check_mk (english)] Event console: "only 1 subgroup" error

Marcel Schulte schulte.marcel at gmail.com
Tue Feb 12 19:22:20 CET 2013


Hi Tobias,

I'm currently in hospital so can't test myself.

...but shouldn't the the brackets be masked? (\[from (.*)\])

HTH, Marcel

sent from my SGS3
Am 12.02.2013 11:41 schrieb "Tobias Brunner" <tobias.brunner at nine.ch>:

> Hi,
>
> I'm trying to create a rule like this:
>
> * Text to match: Smokeping has detected big packet loss for (.*) [from
> (.*)]
> * Rewrite message text: Smokeping has detected big packet loss for \1
> * Rewrite hostname: \2
>
> This gives me the error: "You are using the replacment reference \2, but
> your
> match text has only 1 subgroups."
>
> What am I doing wrong?
>
> Cheers,
> Tobias
>
> --
> Nine Internet Solutions AG, Albisriederstr. 243a, CH-8047 Zuerich
> Support +41 44 637 40 40 | Tel +41 44 637 40 00 | Direct +41 44 637 40 13
> Skype nine.ch_support
> _______________________________________________
> checkmk-en mailing list
> checkmk-en at lists.mathias-kettner.de
> http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mathias-kettner.de/pipermail/checkmk-en/attachments/20130212/4e6fe95c/attachment.html>


More information about the checkmk-en mailing list