EchoPing.pm(1)

EchoPing.pm1

An echoping(1) probe for smokeping

Overview

Measures TCP or UDP echo (port 7) roundtrip times for SmokePing. Can also be used as a base class for other echoping(1) probes.

Synopsys

 *** Probes ***
 + EchoPing
 binary = /usr/bin/echoping # default value
 *** Targets ***
 probe = EchoPing
 forks = 10
 menu = Top
 title = Top Menu
 remark = Top Menu Remark
 + PROBE_CONF
 # none of these are mandatory
 timeout = 1
 waittime = 1
 udp = no
 size = 510
 tos = 0xa0
 priority = 6
 + First
 menu = First
 title = First Target
 host = router.example.com
 # PROBE_CONF can be overridden here
 ++ PROBE_CONF
 size = 300

Overview

Supported probe-specific variables:

binary

The location of your echoping binary.

forks

The number of concurrent processes to be run. See probes::basefork(3pm) for details.

Supported target-level probe variables (see echoping(1) for details of the options):

timeout

The "-t" echoping(1) option.

waittime

The "-w" echoping(1) option.

size

The "-s" echoping(1) option.

udp

The "-u" echoping(1) option. Values other than '0' and 'no' enable UDP.

fill

The "-f" echoping(1) option.

priority

The "-p" echoping(1) option.

tos

The "-P" echoping option.

Bugs

Should we test the availability of the service at startup? After that it's too late to complain.

The location of the echoping binary should probably be a global variable instead of a probe-specific one. As things are, every EchoPing -derived probe has to declare it if the default (/usr/bin/echoping) isn't correct.

Author

Niko Tyni <[email protected]>

From smokeping 1.6-2 in Debian 3.0 (Woody). Parsed by carta from the page's man source.