[Bug 253161] net-mgmt/smokeping Bug : sending mails in a loop

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Feb 1 14:21:08 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253161

            Bug ID: 253161
           Summary: net-mgmt/smokeping Bug : sending mails in a loop
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: rodrigo at FreeBSD.org
          Reporter: olivierw1+bugzilla-freebsd at hotmail.com
          Assignee: rodrigo at FreeBSD.org
             Flags: maintainer-feedback?(rodrigo at FreeBSD.org)

Created attachment 222077
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=222077&action=edit
Add upstream fix to "files/patch-lib_Smokeping.pm"

Hello,

I continue to migrate my services from Debian to FreeBSD.
On Debian, I have smokeping 2.6.9 and it works well.
On FreeBSD, I have smokeping 2.7.3 with the same configuration (nothing fancy),
but I am having a problem: whenever a host is down, smokeping keeps sending
alerts by email.

It firsts send an email with this subjct: "[SmokeAlert] hostdown was raised
on..." then every five minutes, it sends 
indefinitely this emails: "[SmokeAlert] hostdown was cleared on..."

I've finally found it was a bug which was fixed upstream here:
https://github.com/oetiker/SmokePing/commit/e9004e8bbeb30d33778afaf70a5f8b95ff38d6ba

Here is the bug report for the smokeping project:
https://github.com/oetiker/SmokePing/issues/183

and two others for Debian and Ubuntu:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=934170
https://bugs.launchpad.net/ubuntu/+source/smokeping/+bug/1886584


I don't know why smokeping keeps being developed but there are no more releases
after 2.7.3, which is from 2018... :-/


On FreeBSD, we already have patches in "files/patch-lib_Smokeping.pm", so I
added the fix to this same patch file, I guess it is OK, since we are patching
"lib/Smokeping.pm".

I tried it with poudriere and now the behavior of smokeping is correct on my
FreeBSD 12.2 server.

Best Regards,
Olivier

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list