simplemonitor icon indicating copy to clipboard operation
simplemonitor copied to clipboard

Add detection for Monitors which are flapping

Open jamesoff opened this issue 5 years ago • 3 comments

And suppress alerts

jamesoff avatar Mar 23 '20 10:03 jamesoff

Can I ask is this enhancement being worked on and if so when is it likely to be released?

mikbro2021 avatar Sep 29 '21 15:09 mikbro2021

Not actively, I've had a bunch of thoughts about it swimming around my head and just need to see about expressing them in code :) Guessing it would be useful? If so, any thoughts around how you'd like it to work welcomed!

jamesoff avatar Sep 29 '21 15:09 jamesoff

You could have a setting per monitor of the max number of alerts and then a duration before it starts sending alerts again.

Max-alerts=N Suppression-period=NN

So after it has sent the Nth alert, a timer is set of NN minutes and alerts are not sent until that time expires at which point the running count is reset to zero. So the system would generate a maximum of N alerts every NN minutes for each device.

Perhaps all running counts are reset daily

OR

Count the 'down' alerts generated, if the number of alerts in last NN minutes is above a threshold N then don't send the alert. This would require you to record the time of the last N alerts for each monitor.

Regards Michael Brophy Head of Project Engineering Planned leave: None Success is where preparation and opportunity meet Mobile: +353 85 1745818 Teams: Chat with @.> Phone: +353 1 293 8450 Please send all support requests to @.@.> E: @.@.> A: St Joan's I.E, Ballymount, D22 NP49 W: www.welltelgroup.comhttp://www.welltelgroup.com/ @.http://www.welltelgroup.com/

At Welltel, we work flexibly and globally - so while it suits me to email now, I do not expect a response or action outside of your own working hours.

P Please consider the environment before printing this e-mail


Welltel (Ireland) Ltd Email Disclaimer: "This e-mail and any files transmitted with it are confidential and are only for the use of the person to whom they are addressed. If you are not the intended recipient, you are hereby notified that any use, dissemination, forwarding, printing, copying or dealing in any way whatsoever with this e-mail is strictly prohibited. If you have received this e-mail in error, please reply to us immediately and delete the document. It is the recipient's duty to virus scan and otherwise test the enclosed information before using the information or loading attached files onto any computer system. Welltel (Ireland) Ltd does not warrant that the information contained in this e-mail is free from viruses, defects, errors, interception or interference. Any views expressed in this message are those of the individual sender, except where that sender specifically states them to be the views of Welltel (Ireland) Ltd"

From: James Seward @.> Sent: Wednesday 29 September 2021 16:53 To: jamesoff/simplemonitor @.> Cc: Michael Brophy @.>; Comment @.> Subject: Re: [jamesoff/simplemonitor] Add detection for Monitors which are flapping (#463)

Not actively, I've had a bunch of thoughts about it swimming around my head and just need to see about expressing them in code :) Guessing it would be useful? If so, any thoughts around how you'd like it to work welcomed!

You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjamesoff%2Fsimplemonitor%2Fissues%2F463%23issuecomment-930306612&data=04%7C01%7Cmichael.brophy%40welltelgroup.com%7C3df9d6903ece4037418108d983612fa4%7C5de6b8cbb8d74d59bfcd9e41593c319a%7C0%7C0%7C637685275718921270%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=vWFjS3%2Fa3bRoAj%2BvOH5MiWwfG3CzVizOhYuC6SWjiuw%3D&reserved=0, or unsubscribehttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAUP22LDRPK3RYDM2QETUHSTUEMY4NANCNFSM4LRYEONA&data=04%7C01%7Cmichael.brophy%40welltelgroup.com%7C3df9d6903ece4037418108d983612fa4%7C5de6b8cbb8d74d59bfcd9e41593c319a%7C0%7C0%7C637685275718921270%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=6DPuidFV7nd3G36q%2FCfQX%2FeJUzYv%2BbKBL91D%2FBoOzFE%3D&reserved=0. Triage notifications on the go with GitHub Mobile for iOShttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7Cmichael.brophy%40welltelgroup.com%7C3df9d6903ece4037418108d983612fa4%7C5de6b8cbb8d74d59bfcd9e41593c319a%7C0%7C0%7C637685275718931263%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=5NxyQiSPCw3yjkRMXLNOwu7aurZ6H2Cspb9TQbeInZ0%3D&reserved=0 or Androidhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7Cmichael.brophy%40welltelgroup.com%7C3df9d6903ece4037418108d983612fa4%7C5de6b8cbb8d74d59bfcd9e41593c319a%7C0%7C0%7C637685275718931263%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=iUTd0yLS%2F91%2BIF2ZOxmR6HGi8pViGRGOazsEMx7pAPE%3D&reserved=0.

mikbro2021 avatar Sep 29 '21 16:09 mikbro2021