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: .. /opt/smokeping/lib /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/auto/RRDs/ /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) 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? Best regards, -- Informatux On Tue, Jul 17, 2012 at 6:12 PM, Ryan Becker <[email protected]> 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 <[email protected]> wrote: >> >> Hi, >> >> 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 >> etc >> etc >> etc >> 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? >> >> Regards, >> -- >> informatux >> >> _______________________________________________ >> smokeping-users mailing list >> [email protected] >> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users > > _______________________________________________ smokeping-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
