Alert after certain time of downtime
Implement a function to only send out alert IF website has been down more than ie 5/10 minutes would be AWESOME.
This is already the case, thanks to the double check we only send alerts if the downtime is longer than your check frequency. So if you set check frequency to 5min, you’ll only receive alerts for downtimes longer than 5min.
-
Indeed a stricter validation has been added since then, though there is also an easy hack to workaround this if you still want to do this. Like in a web browser you can add an anchor to the URL (after a # at the end, like this: icmp://12.12.12.12#1) this way the URL are "different" so no validation issue, but this anchor is not used for anything it's just a client-side information (in web pages it's used to scroll to a specific section of a page). So doing this you can add multiple checks on the same IP/hostname with different settings if you wish.
-
Jason Wells commented
So having two monitors with different time thresholds and notification settings isn't possible with ICMP. A message that URL is already registered appears when trying to add it. Is this an ICMP only thing or is this information here stale?
-
Indeed if you really you can have two checks with different frequency.
-
Tom Berry commented
I have a case where I want to know if a website is being dodgy on a minute-by-minute basis, but I only want an email-generated ticket opened if the site is down for more than 10 minutes. This is easily handled by using two monitors with different time threshold and notification settings.
-
You might want that indeed, but I don't think it's a good idea and will not let you do this :) It doesn't make sense to want 1 minute precision on downtime duration but ignore any downtime smaller than 15 minutes IMO. It would make the monitoring slower than it should be for the number of requests emmited to your server and the cost associated. If you want to tolerate longer downtimes it makes sense to reduce the number of requests and the cost.
-
Tom Carr commented
Yes, but it should be configurable, we might want to check every minute to get accurate uptime stats, but only alert after 15 minutes or so