** Description changed: - Ubuntu 20.04 - smokeping 2.7.3-2 + The SRU template: - A smokeping alert configured with "edgetrigger = yes" insists on sending - email notifications when the alert condition is active. It should send - only once. + [Impact] - Bug is reported here upstream: - https://github.com/oetiker/SmokePing/issues/183#issuecomment-533722180 + * User receives repeated notification e-mail when an alert is triggered + on an "Alert" with option edgetrigger = yes - And fixed with this patch: - https://github.com/oetiker/SmokePing/commit/e9004e8bbeb30d33778afaf70a5f8b95ff38d6ba + * 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
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1886584 Title: Smokeping cleared notification repeated indefinitely even if edgetrigger is yes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/smokeping/+bug/1886584/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
