oetiker/SmokePing

Example: how to list historic outages?

Closed this issue · 3 comments

jrr commented

I'm using SmokePing to keep an eye on my ISP's performance. The graphs are great, but another question I hope to answer is "over the past month, when has the connection significantly degraded?".

In more technical terms, I'd like to list instances of e.g. three consecutive samples of 50%+ packet loss.

(Then I might be able to detect patterns, like "weeknights" or "Tuesday mornings")

I've spent some time with the SmokePing and RRDTool docs but haven't found an example of something like this.

Can someone point me in the right direction?

Have you found how to do this? I have a similar use case where my internet will stop working completlety for ~30 seconds. Unfortunately these outages are hard to see in smokeping because when internet isn't working, no graphs are drawn. For example here i got outage at around 20:40.
image

The quick fix is to log any loss with this *** Alerts *** definition:

+anyloss
type = loss
pattern = >=0%,>0%
edgetrigger = no
comment = at least 1 ping per round failed

Then use the logfile/syslog analyser of your choice to ferret out the precise times counts of loss. This avoids all the interpolation which rrdtool does and is not helping in this usecase.

This issue has become stale and will be closed automatically within 7 days. Comment on the issue to keep it alive.