<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="font-family:Calibri, Arial, Helvetica, sans-serif;font-size:11pt;color:black">
For our organization, we rarely have a purple alert that isn't the entire server going offline. So we solved it by only sending purple alert messages for the CPU and wrote a custom message that says, your CPU is purple but it's likely your server is down. Please
 log in and check it. <br>
<br>
Then, in the alerts.cfg file, our rules look like this: <br>
<br>
PAGE=%.*pagename/<br>
SCRIPT=/path/to/alert.sh name@email.com COLOR=red,yellow RECOVERED REPEAT=720 DURATION>3<br>
SCRIPT=/path/to/purple.sh name@email.com COLOR=purple SERVICE=cpu RECOVERED REPEAT=720 DURATION>3<br>
<br>
Thanks,<br>
<br>
John Tullis<br>
<br>
<br>
<br>
-----Original Message-----<br>
From: Jean-Pierre Pitout [ MTN South Africa ] [Jean-Pierre.Pitout@mtn.com]<br>
Received: Thursday, 21 Sep 2017, 3:38AM<br>
To: xymon@xymon.com [xymon@xymon.com]<br>
Subject: Re: [Xymon] "Roll-up" of purple alerts and their recoveries.<br>
<br>
Has anyone written a custom script to achieve this?<br>
<br>
<br>
<br>
Regards,<br>
<br>
JP Pitout<br>
<br>
<br>
<br>
<br>
<br>
On 20/09/2017 10:03, Jean-Pierre Pitout [ MTN South Africa ] wrote:<br>
<br>
><br>
<br>
> Good day,<br>
<br>
><br>
<br>
> I haven't been able to find too much information on this topic.<br>
<br>
><br>
<br>
> Is it possible to configure Xymon to "roll-up" multiple purple alerts as<br>
<br>
> well as their respective recoveries into one single event/alert? This is<br>
<br>
> mostly just for purple status that causes a multitude of mails.<br>
<br>
><br>
<br>
> Any info would be greatly appreciated.<br>
<br>
><br>
<br>
><br>
<br>
> Thanks!<br>
<br>
> JP Pitout<br>
<br>
><br>
<br>
> "This email is confidential. If you have received it in error, you are on notice of its status. Please notify us immediately by reply email and then delete this message from your system. Please do not copy it or use it for any purpose, or disclose its contents
 to any other person as to do so could be a breach of confidentiality. Thank you for your co-operation. "<br>
<br>
><br>
<br>
> “The information contained in this message is intended solely for the individual to whom it is specifically and originally addressed. This message and its contents may contain confidential or privileged information from MTN Group. If you are not the intended
 recipient, you are hereby notified that any disclosure or distribution, is strictly prohibited. If you receive this email in error, please notify MTN Group immediately and delete it. MTN Group does not accept any liability or responsibility if action is taken
 in reliance on the contents of this information . Note that all personal emails are not authorized by MTN Group. ”<br>
<br>
> _______________________________________________<br>
<br>
> Xymon mailing list<br>
<br>
> Xymon@xymon.com<br>
<br>
> <a href="http://lists.xymon.com/mailman/listinfo/xymon">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
<br>
><br>
<br>
<br>
<br>
“The information contained in this message is intended solely for the individual to whom it is specifically and originally addressed. This message and its contents may contain confidential or privileged information from MTN Group. If you are not the intended
 recipient, you are hereby notified that any disclosure or distribution, is strictly prohibited. If you receive this email in error, please notify MTN Group immediately and delete it. MTN Group does not accept any liability or responsibility if action is taken
 in reliance on the contents of this information . Note that all personal emails are not authorized by MTN Group. ”<br>
<br>
_______________________________________________<br>
<br>
Xymon mailing list<br>
<br>
Xymon@xymon.com<br>
<br>
http://lists.xymon.com/mailman/listinfo/xymon<br>
<br>
John Tullis<br>
801.857.4572 Cell<br>
801.253.4541 Office<br>
1314 W. 11400 S. Suite 200<br>
South Jordan, UT  84095<br>
<br>
</body>
</html>