[Xymon] Alert issue

Martin Lenko lenko99 at gmail.com
Thu Nov 12 04:10:34 CET 2015


Hi David,
to specify multiple color values you will have to use regular expression.
Use something like this in your alert config:
COLOR=%(yellow|red)

The '%' character instructs xymon that following string is a regular
expression.

Regards,
Martin

On 11 November 2015 at 18:46, David Welker <dewelker at gmail.com> wrote:

> I admit, this is my first attempt at alerting, so this may or may not be
> user error.  It also could be an issue that is fixed in the latest upgrade
> (I'm still on 4.3.21), but before I resort to that (which will be soon
> enough), I wanted to make sure I was at least thinking along the right
> line...
>
> The cpu column is reporting green.
> The entry in alerts.cfg includes a COLOR=yellow parameter.
> Running the xymond_alert --test reports (as expected)...
> Failed 'MAIN me at here COLOR=yellow EXSERVICE=conn,disk' (color)
>
> If, however, I change the COLOR to red, or even if I just add it
> (COLOR=yellow,red), I get the "Mail alert with command 'mail -s...'" line
> rather than the failed.  Did I do something wrong?
>
> Funny though, either way I don't actually get the email.
>
> Thanks,
> David
>
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20151112/aca30eec/attachment.html>


More information about the Xymon mailing list