Alert on % packet loss with WorldPing plugin


#1

Currently your plugin alerts on when a host is not reachable.
Would like to alert when host has 10% packet loss. What are my options? Tried using a singlestat panel but no alerting on this.

Thanks.


#2

Did you figure this out? Are you using the sample alerting dashboard: https://grafana.com/dashboards/1962

As you noticed, alerting is only possible from the graph panel.

  1. Configure notification channels first if you have not done so before.
  2. Create a graph panel. Set unit to percent for left Y-axis on Axes tab.
  3. Copy the query from the Ping Packet Loss singlestat: averageSeries(worldping.$endpoint.$probe.ping.loss) and substitute the variables for server names. An example:
    image
  4. Set up an alert
    image
  5. Save the dashboard to enable the alert.