Hello Eduardo,

On 2018-09-12 2:47 p.m., Eduardo Barros wrote:
> after installing smokeping on a updated system i couldn't get it to print the 
> graphs with multiple targets and a "step=10" and "pings=10" on 
> /etc/smokeping/config.d/Database.
> got this log:
> "FPing: WARNING: smokeping took 27.0296120643616 seconds to complete 1 round 
> of polling. It should complete polling in 10 seconds. You may have 
> unresponsive devices in your setup."
> the fping process was run as this command "/usr/bin/fping -C 10 -q -B1 -r1 - 
> -i10 localhost"
> as we an see, after the "-r1" argument and before the "-i10" there is a minus 
> without an argument.
> that minus appears as well on the fping command on a default installation.
> on my system the command takes 27 seconds to be executed with that minus and 
> with the error "-: Name or service not known".
> without the minus it takes only 9 seconds.

oops! thanks for the bug report!

I think I can see what's going wrong: the upstream patch that was
accepted after the most recent version of the package was pushed also
adds a default value for the new protocol parameter. I think this should
fix the behaviour you're seeing.
I'll update the patch that's currently deployed and send this in.

in the meantime if you'd like to have a functional FPing probe, you
could something like add this to your definitions in config.d/Probes:

--- Probes.orig 2018-09-19 15:36:29.703560212 +0000
+++ Probes      2018-09-19 15:36:39.035534800 +0000
@@ -3,4 +3,5 @@
 + FPing

 binary = /usr/bin/fping
+protocol = 4



... and if you also have IPv6 probes, you can add "protocol = 6" instead.
those two values should be the defaults for the FPing and FPing6 probes,
respectively.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to