Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Feb 2021 14:21:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 253161] net-mgmt/smokeping Bug : sending mails in a loop
Message-ID:  <bug-253161-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253161

            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@FreeBSD.org
          Reporter: olivierw1+bugzilla-freebsd@hotmail.com
          Assignee: rodrigo@FreeBSD.org
             Flags: maintainer-feedback?(rodrigo@FreeBSD.org)

Created attachment 222077
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D222077&action=
=3Dedit
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 fan=
cy),
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=20
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/e9004e8bbeb30d33778afaf70a5f8b9=
5ff38d6ba

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=3D934170
https://bugs.launchpad.net/ubuntu/+source/smokeping/+bug/1886584


I don't know why smokeping keeps being developed but there are no more rele=
ases
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 patch=
ing
"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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-253161-7788>