Your message dated Fri, 10 Jul 2020 22:20:01 +0000
with message-id <[email protected]>
and subject line Bug#934170: fixed in smokeping 2.7.3-3
has caused the Debian Bug report #934170,
regarding smokeping: Alert edgetrigger functionality is broken
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
934170: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=934170
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: smokeping
Version: 2.7.3-2
Severity: normal

Dear Maintainer,

I've been running a few small and medium sized smokeping installations
on Debian for a decade.  It's been a great tool diagnosing network
outages.  Upon upgrading from stretch to buster (2.6.11-3 -> 2.7.3-2),
hundreds of alert emails begun firing every poll.  All the Alerts are
configured with "edgetrigger = yes".

For example, here's one, among thousands (notice "was cleared"):

  Subject: [SmokeAlert] full-loss was cleared on ipv6.sites.mikrovps-hu

  Alert "full-loss" was cleared for 
https://smokeping.unzane.com/smokeping/smokeping.cgi?target=ipv6.sites.mikrovps-hu

  Pattern
  -------
  ==100%,==100%,==100%

  Data (old --> now)
  ------------------
  loss: 100%, 100%, 100%, 100%, 100%, 100%, 100%, 100%, 100%, 100%, 100%, 100%
  rtt: U, U, U, U, U, U, U, U, U, U, U, U

  Comment
  -------
  100% packet loss

Initially I discovered this was a problem with my FPing6 probe in
combination with a change introduced in the fping package upgrade
(explanation in fping NEWS.Debian.gz entry).  However, after fixing my
Probes, some Targets which really were down, continued to send emails
each polling cycle, defying the edgetrigger setting, and incorrectly
inverting "cleared" vs. "raised".

There is an issue¹ filed upstream that explains the bug, wherein Tobias
Oetiker (author) lackadaisically writes "edge trigger was not in the
original design".  The apparent abandonment of the edgetrigger feature
was merely in support of a patch² which increased syslog message
verbosity ("prevmatch" state, instead of being boolean, is now an
incremented number, breaking edgetrigger, merely so some log out put can
express how many times the alert matched).

IMHO, I have too many Alerts defined (not just some-loss/full-loss, but
also many flavors of rtt-50ms, etc.), with edgetrigger to reorganize and
double the Alerts into separate ==0%,==0%,==100% + ==100%,==0%,==0%
non-edgetrigger variants, than is worth the added syslog verbosity.
Besides, the edgetrigger parameter is well documented in four different
man pages.  As well as the loss of raised/cleared verbiage in the email
subjects which I have been accustomed to (and have sieve filters which
color the mail green or red via IMAP flags).  If the edgetriger feature
can't be fixed, then it's probably be best to remove it from the
documentation and have a NEWS.Debian entry warning of the breakage.

¹ https://github.com/oetiker/SmokePing/issues/183
² https://github.com/oetiker/SmokePing/pull/52

-- System Information:
Debian Release: 10.0
  APT prefers stable
  APT policy: (701, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-5-cloud-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages smokeping depends on:
ii  adduser                         3.118
ii  debianutils                     4.8.6.1
ii  fping                           4.2-1
ii  libcgi-fast-perl                1:2.13-1
ii  libconfig-grammar-perl          1.12-2
ii  libdigest-hmac-perl             1.03+dfsg-2
ii  libjs-cropper                   1.2.2-1
ii  libjs-prototype                 1.7.1-3
ii  libjs-scriptaculous             1.9.0-2
ii  librrds-perl                    1.7.1-2
ii  libsnmp-session-perl            1.14~git20130523.186a005-4
ii  liburi-perl                     1.76-1
ii  libwww-perl                     6.36-2
ii  lsb-base                        10.2019051400
ii  perl                            5.28.1-6
ii  postfix [mail-transport-agent]  3.4.5-1
ii  ucf                             3.0038+nmu1

Versions of packages smokeping recommends:
ii  apache2 [httpd-cgi]  2.4.38-3
ii  dnsutils             1:9.11.5.P4+dfsg-5.1
ii  echoping             6.0.2-10
ii  libsocket6-perl      0.29-1+b1

Versions of packages smokeping suggests:
ii  curl                   7.64.0-4
pn  libauthen-radius-perl  <none>
ii  libio-socket-ssl-perl  2.060-3
ii  libnet-dns-perl        1.19-1
ii  libnet-ldap-perl       1:0.6500+dfsg-1
ii  libnet-telnet-perl     3.04-1
ii  openssh-client         1:7.9p1-10

-- Configuration Files:
/etc/smokeping/config.d/Alerts changed [not included]
/etc/smokeping/config.d/Database changed [not included]
/etc/smokeping/config.d/General changed [not included]
/etc/smokeping/config.d/Probes changed [not included]
/etc/smokeping/config.d/Slaves changed [not included]
/etc/smokeping/config.d/Targets changed [not included]
/etc/smokeping/smokeping_secrets [Errno 13] Permission denied: 
'/etc/smokeping/smokeping_secrets'

-- no debconf information

-- 
Gerald Turner <[email protected]>        Encrypted mail preferred!
OpenPGP: 4096R / CA89 B27A 30FA 66C5 1B80  3858 EC94 2276 FDB8 716D

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: smokeping
Source-Version: 2.7.3-3
Done: Gabriel Filion <[email protected]>

We believe that the bug you reported is fixed in the latest version of
smokeping, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Gabriel Filion <[email protected]> (supplier of updated smokeping package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 11 Jul 2020 00:00:19 +0200
Source: smokeping
Architecture: source
Version: 2.7.3-3
Distribution: unstable
Urgency: medium
Maintainer: Gabriel Filion <[email protected]>
Changed-By: Gabriel Filion <[email protected]>
Closes: 929515 934170
Changes:
 smokeping (2.7.3-3) unstable; urgency=medium
 .
   [ Gabriel Filion ]
   * start generating smokeinfo manpage
   * postrm: purge, removal of apache2/conf.d/smokeping not needed anymore
   * make css and js load from the /smokeping alias (closes: #929515)
   * change fix-conf-paths patch to point the daemon to /run/smokeping for its
     pid indead of /var/run/smokeping
 .
   [ Matteo F. Vescovi ]
   * debian/patches/: fix-alert-edgetriggers added (Closes: #934170)
Checksums-Sha1:
 9eef46940dcff1fb6861fad83e1dfec7b2ae8eac 2346 smokeping_2.7.3-3.dsc
 5696ec33aa4f8d606a8b46911c71a61d29496492 24400 smokeping_2.7.3-3.debian.tar.xz
 069c31038c082a6638cc006533f91ee273819afd 6285 
smokeping_2.7.3-3_source.buildinfo
Checksums-Sha256:
 87fdb960f89ff9e12c26e9de46b6ea8ef11f7da61ecfff4b3e0b08765ced4004 2346 
smokeping_2.7.3-3.dsc
 7afd4887b458a3056a4bd65524a06fee1bb3f603714f5d8dca37f8194840e9f0 24400 
smokeping_2.7.3-3.debian.tar.xz
 2c4171f0cc6378a6a54b43a03cefb33629b3437c73bb71cad3a560d16f3dbf07 6285 
smokeping_2.7.3-3_source.buildinfo
Files:
 59c129966b19e41969dfbbe5f662a2a4 2346 net optional smokeping_2.7.3-3.dsc
 9d495a6357935c516fe97972eecd1932 24400 net optional 
smokeping_2.7.3-3.debian.tar.xz
 30faa57ab682503ffe7a0a03332c79c5 6285 net optional 
smokeping_2.7.3-3_source.buildinfo

-----BEGIN PGP SIGNATURE-----
Comment: Debian powered!

iQKTBAEBCgB9FiEE890J+NqH0d9QRsmbBhL0lE7NzVoFAl8I5TJfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEYz
REQwOUY4REE4N0QxREY1MDQ2Qzk5QjA2MTJGNDk0NEVDRENENUEACgkQBhL0lE7N
zVo2HQ/+N+Ah81T/smmZBTMkCSP7OcAIQv0W6p4+/1LcYYQyB/rySDDi4t03EGC1
ANunxJ9RZNqqf53vcUe3ACfiX0Sz7Do6iOKmvh2lGxAFTEu4YQPncAUQhphviG2f
Y38396aZCvKZ4SiXAGhUN0qa/eV3c8XAQWnT+lPGuG93glk0PPu3tqVJsPF4Gbyj
nNYhdewULm/GA7ZA4v9JoIMEZLMpPBl7RMHoFvUJWwMU3KWQ8fL/s1g8/Js7ypeE
az2KphEkZJ9AqpuZ3YZhqDeKJLEfranq42gmSgVdmA4pd3IXsvDd1mJQyhcqzXY/
4ua7fSfS3q3qTDtZd/i7CCkEI4LShOtqzaZu/DejOl5grmr1EVjpRIC4OoyallPJ
WBYw1m3Ik4r/4uRLW1LPOfqb+SuGasBsLNmlz3K27+sCzU5WnLyaN0Szk582wg8S
cMe5PBzKSJBxBRB0RXqXoLV3QvJL1bD/9KeJECcMUhyxgrL0voAuu0LU/imG2NcW
1+pQhO/4M2aXITSu3hgoDBMXD0+cxzsxhMNg0lC1HOahFJKHVzWSrWnFM58xdy3l
CB1e2fIi0aHvzrf95PyrcDwBRtr8fb51sb34DCCoX3157tPxK8k4TYi2iKYzuHbO
3nixJejBHe/g1MCXonelrkZYQFeFnYjHyxoOhVKccIZv/htxfkA=
=Mvpr
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to