Smokeping cleared notification repeated indefinitely even if edgetrigger is yes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
smokeping (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Gianfranco Costamagna |
Bug Description
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:/
and in Debian
https:/
[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
Changed in smokeping (Ubuntu): | |
status: | New → Fix Released |
Changed in smokeping (Ubuntu Focal): | |
status: | New → In Progress |
Changed in smokeping (Ubuntu Focal): | |
assignee: | nobody → Gianfranco Costamagna (costamagnagianfranco) |
description: | updated |
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 /github. com/oetiker/ SmokePing/ issues/ 183#issuecommen t-533722180 /bugs.debian. org/cgi- bin/bugreport. cgi?bug= 934170# 46
https:/
and in Debian
https:/
[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