[smokeping-users] ping from multiple interfaces

Peter Kristolaitis alter3d at alter3d.ca
Wed Jul 18 19:06:01 CEST 2012


On 12-07-18 12:38 PM, Kwame Bahena wrote:
> Hi Ryan,
>
> Thanks for your reply, but creating a second probe for FPing it's not working.
>
> I created a second probe like this:
>
> + FPingFE
>
> binary = /usr/sbin/fping
> soureceaddress = the.source.ip.of.this.probe
> hostinterval = 1.5
> mininterval = 0.001
> offset = 50%
> packetsize = 5000
> pings = 20
> step = 300
> timeout = 1.5
>
> and in the target I specified it to use this probe:
>
> ++ target_host
> probe = FPingFE
> menu = target_host
> title = target_host
> host = fqdn.of.the.target.host
>
> But when I attempt to restart smokeping I see this error:
>
> ./smokeping --config=/opt/smokeping/etc/config --debug-daemon
> require Smokeping::probes::FPingFE failed: Can't locate
> Smokeping/probes/FPingFE.pm in @INC (@INC contains: ..
>

You need to create an "instance" of the probe by using a second-level 
definition underneath the main FPing probe definition.

Check the smokeping_examples page 
(http://oss.oetiker.ch/smokeping/doc/smokeping_examples.en.html), 
specifically example #3 for samples.

- Pete



More information about the smokeping-users mailing list