Comment 1 for bug 1886584

Revision history for this message
Giovanni Panozzo (giox069) wrote :

The SRU template:

[Impact]

 * User receives repeated notification e-mail when an alert is triggered
   on an "Alert" with option edgetrigger = yes

 * backporting because broken smokeping edgetrigger option makes smokeping
   useless in many scenarios

 * the bug is fixed upstream
     https://github.com/oetiker/SmokePing/issues/183#issuecomment-533722180
   and in Debian
     https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=934170#46

[Test Case]

 * Install smokeping, add an Alert with edgetrigger = yes and a target
   which uses that Alert. Configure e-mail alerting.
   Point that target to ping a powered on device.
   Start smokeping, wait 10 minutes, power off or disconnect these
   target device from the network.
   You will receive an email with "raised" event, and then an
   infinite sequence of email with "cleared" event at every
   smokeping poll (5 minutes default).
   A working option edgetrigger = yes should only send one email when
   target is unreachable and one when is reachable again.

[Regression Potential]

 * none known