[Xymon] Alerts STOP command not working
Josh Luthman
josh at imaginenetworksllc.com
Fri Mar 1 16:10:40 CET 2019
Sorry trying to sanitize let me repost...
# tail -n 14 alerts.cfg
HOST=windows10.imaginenetworksllc.com
MAIL josh at imaginenetworksllc.com COLOR=RED DURATION>60m REPEAT=60
RECOVERED
STOP
HOST=%.*\.imaginenetworksllc\.com
MAIL 11111111111111 at vtext.com COLOR=RED DURATION>15m RECOVERED FORMAT=SMS
HOST=*
MAIL josh at imaginenetworksllc.com COLOR=RED DURATION>5m REPEAT=60 RECOVERED
# include additional sections
directory /etc/xymon/alerts.d
Josh Luthman
Office: 937-552-2340
Direct: 937-552-2343
1100 Wayne St
Suite 1337
Troy, OH 45373
On Fri, Mar 1, 2019 at 10:02 AM Ralph Mitchell <ralphmitchell at gmail.com>
wrote:
> Just a minor nit-pick - does the actual file have the same typo in the
> hostname in the first entry??
>
> HOST=windows10.imaignenetworksllc.com
>
> Ralph Mitchell
>
>
> On Fri, Mar 1, 2019 at 9:50 AM Josh Luthman <josh at imaginenetworksllc.com>
> wrote:
>
>> Does anyone have a working example of STOP?
>>
>> The man page says:
>> # STOP - Valid for a recipient: If this recipient gets an
>> # alert, recipients further down in alerts.cfg
>> # are ignored.
>>
>> This doesn't seem to be the case, though. The second and third
>> statements are happening even though the first has a STOP.
>>
>> HOST=windows10.imaignenetworksllc.com
>> MAIL josh at imaginenetworksllc.com COLOR=RED DURATION>60m REPEAT=60
>> RECOVERED
>> STOP
>>
>> HOST=%.*\.imaginenetworksllc\.com
>> MAIL 1231231234 at vtext.com COLOR=RED DURATION>15m RECOVERED FORMAT=SMS
>>
>> HOST=*
>> MAIL josh at imaginenetworksllc.com COLOR=RED DURATION>5m REPEAT=60
>> RECOVERED
>>
>>
>> Josh Luthman
>> Office: 937-552-2340
>> Direct: 937-552-2343
>> 1100 Wayne St
>> Suite 1337
>> Troy, OH 45373
>> _______________________________________________
>> 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/20190301/6b832393/attachment.html>
More information about the Xymon
mailing list