[Xymon] Alerting - I'm not doing it right...

Johan Sjöberg Johan.Sjoberg at deltamanagement.se
Thu Dec 15 11:30:31 CET 2011


Hi.

How does it look in the "Info" page for that server? Both alert lines would match that server, thus giving you an alert every hour, with an extra e-mail once per day, after a day, unless the server is in the printers page.
If you don't want the second alert line to match that server/test, you need to exclude it.

/Johan

From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Carl Inglis
Sent: den 15 december 2011 11:03
To: xymon at xymon.com
Subject: [Xymon] Alerting - I'm not doing it right...

Hi folks,

I'm sure this is going to be something really silly that I've missed - but I've been pulling my hair out over this one for a couple of days now.

alerts.cfg

$EMAIL_ALERT=carl.inglis at rakon.com<mailto:$EMAIL_ALERT=carl.inglis at rakon.com>
$LIN_WINDOWS_PROBLEMS=$EMAIL_ALERT

HOST=%lin(.*) SERVICE=%win(.*)
        MAIL $LIN_WINDOWS_PROBLEMS REPEAT=24h DURATION>1d RECOVERED STOP

HOST=* EXPAGE=printers
        MAIL $EMAIL_ALERT REPEAT=1h RECOVERED UNMATCHED STOP

When the host "lin-apps-01" has a yellow alert on it's "winUpdates" services, I expect it to shout about it once every 24h. It is, however, shouting about it once every hour.

It's clear that the first HOST line is being ignored - I suspect my regex is incorrect in some way.

Any thoughts or pointers would be appreciated.

Regards,

Carl

[Rakon Logo]

Carl Inglis
Systems Administrator

Rakon UK Limited
Dowsett House, Sadler Road, Lincoln LN6 3RS, United Kingdom
Tel: +44 (0)1522 812630 | Fax:+44 (0) 1522 812664 | Mob: +44 (0) 7786 552915
Carl.Inglis at rakon.com<mailto:Carl.Inglis at rakon.com> | www.rakon.com<http://www.rakon.com>

[Winner of the NZ Hi-Tech Awards 2011 - Hi-Tech Company of the Decade]

Winner of the 2010 Lincolnshire Business of the Year Award

This message together with any attachments contains confidential information and may be
subject to privilege. If you are not the intended recipient you may not distribute it in any
way, you must notify the sender immediately and delete any copies of the message along
with its attachments.

Rakon UK Ltd is a limited company registered in England and Wales.
Registered Office: Dowsett House, Sadler Road, Lincoln LN6 3RS
Company Registration Number: 5128090.

Please be aware that Rakon UK Limited may monitor email traffic data
including the date, time, subject line, sender and recipients for the
purposes of security and usage monitoring. Automated monitoring
systems may also be applied to ascertain whether incoming/outgoing
emails are likely to contain viruses, other destructive devices or
inappropriate content.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20111215/2247e23a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 4010 bytes
Desc: image001.jpg
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20111215/2247e23a/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 6859 bytes
Desc: image002.jpg
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20111215/2247e23a/attachment-0001.jpg>


More information about the Xymon mailing list