probes::RemoteFPing - Remote FPing Probe for SmokePing
*** Probes *** + RemoteFPing binary = /usr/bin/ssh packetsize = 1024 rhost = HostA.foobar.com ruser = foo rbinary = /usr/local/sbin/fping
*** Targets *** + Targetname Probe = RemoteFPing Menu = menuname Title = Remote Fping from HostA to HostB Host = HostB.barfoo.com
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 binary and rhost are mandatory. The binary option specifies the path of the remote shell program (usually ssh, rsh or remsh). Any other script or binary that can be called as
binary [ -l ruser ] rhost rbinary
may be used.
The (optional) packetsize option lets you configure the packetsize for the pings sent.
The rhost option specifies the remote device from where fping will be launched.
The (optional) ruser option allows you to specify the remote user, if different from the one running the smokeping daemon.
The (optional) rbinary option allows you to specify the location of the remote fping binary. If not specified the probe will assume that fping is in the remote host's path.
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 PROBE_CONF 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 PROBE_CONF sections aren't recognized anymore.
Luis F Balbinot <hades@inf.ufrgs.br>
based on probes::FPing by
Tobias Oetiker <tobi@oetiker.ch>