Smokeping::probes::RemoteFPing - Remote FPing Probe for SmokePing
*** Probes ***
+RemoteFPing
binary = /usr/bin/ssh # mandatory hostinterval = 1.5 mininterval = 0.001 offset = 50% packetsize = 5000 pings = 20 rbinary = /usr/bin/fping # mandatory rhost = my.pinger.host # mandatory ruser = foo step = 300
# [...]
*** Targets ***
probe = RemoteFPing # if this should be the default probe
# [...]
+ mytarget # probe = RemoteFPing # if the default probe is something else host = my.host
Integrates the remote execution of FPing via ssh/rsh into smokeping. The variable binary must point to your copy of the ssh/rsh program. The variable rbinary must point to your copy of the fping program at the remote end.
Supported probe-specific variables:
binary [ -l ruser ] rhost rbinary
may be used.
Example value: /usr/bin/ssh
This setting is mandatory.
This parameter sets the time that fping waits between successive packets to an individual target.
Example value: 1.5
The minimum amount of time between sending a ping packet to any target.
Example value: 0.001
Default value: 0.01
Example value: 50%
Example value: 5000
Example value: 20
Example value: /usr/bin/fping
This setting is mandatory.
Example value: my.pinger.host
This setting is mandatory.
Example value: foo
Example value: 300
Luis F Balbinot <hades@inf.ufrgs.br>
Niko Tyni <ntyni@iki.fi>
derived from Smokeping::probes::FPing by
Tobias Oetiker <tobi@oetiker.ch>
It is important to make sure that you can access the remote machine without a password prompt, otherwise this probe will not work properly. To test just try something like this:
$ ssh foo@HostA.foobar.com fping HostB.barfoo.com
The next thing you see must be fping's output.
The rhost, ruser and rbinary variables used to be configured in the Targets section of the first target or its parents They were moved to the Probes section, because the variables aren't really target-specific (all the targets are measured with the same parameters). The Targets sections aren't recognized anymore.
This functionality should be in a generic 'remote execution' module so that it could be used for the other probes too.