[smokeping-users] ping from multiple interfaces
informatux at gmail.com
Wed Jul 18 18:38:31 CEST 2012
Thanks for your reply, but creating a second probe for FPing it's not working.
I created a second probe like this:
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:
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: ..
.) at (eval 23) line 3, <File> line 117.
Which leads me to believe that the probe name + FPing is not a
variable so this cannot be modified
I read the documentation on
http://oss.oetiker.ch/smokeping/probe/FPing.en.html but don't see
anything about creating a second FPing probe with a different name.
Any other suggestions?
On Tue, Jul 17, 2012 at 6:12 PM, Ryan Becker <rb14060 at gmail.com> wrote:
> Make a second probe and call it something other than FPing. For example,
> you could have FPing-eth0 and FPing-eth1.
> On Tue, Jul 17, 2012 at 7:03 PM, Kwame Bahena <informatux at gmail.com> wrote:
>> I have smokeping up and running (smokeping --version = 2.005001) and
>> the box where it's running I have 2 interfaces.
>> I'm looking to ping 1 host from eth0 and another host from eth1 but
>> I've not found documentation on how to do this.
>> I found that in the +FPing probe I can specify something like
>> + FPing
>> binary = path/to/fping
>> sourceaddress = the_ip_assigned_to_eth0
>> but when I define my targets all are pinged from the source address
>> specified in the sourceaddress field in the + FPing probe.
>> So the question is,
>> How can I define from which source ip should a target be pinged from?
>> smokeping-users mailing list
>> smokeping-users at lists.oetiker.ch
More information about the smokeping-users