|
NAMESmokeping::probes::TraceroutePing - use traceroute to obtain RTT for a routerSYNOPSIS*** Probes *** +TraceroutePing binary = /usr/bin/traceroute # mandatory binaryv6 = /usr/bin/traceroute6 forks = 5 offset = 50% step = 300 timeout = 15 # The following variables can be overridden in each target section /^influx_.+/ = influx_location = In the basement desthost = www.example.com # mandatory host = www-net-router.example.com # mandatory maxttl = 15 minttl = 11 pings = 5 wait = 3 # [...] *** Targets *** probe = TraceroutePing # if this should be the default probe # [...] + mytarget # probe = TraceroutePing # if the default probe is something else host = my.host /^influx_.+/ = influx_location = In the basement desthost = www.example.com # mandatory host = www-net-router.example.com # mandatory maxttl = 15 minttl = 11 pings = 5 wait = 3 DESCRIPTIONIntegrates standard traceroute as a probe into smokeping. The use case for this probe is gateways that do not respond to TCP/UDP/ICMP packets addressed to them, but do return ICMP TTL_EXCEEDED packets for traceroute packets to a host they route to. It is best used in situations where routing for the path is static or nearly so; attempting to use this on networks with changing routing will yield poor results. The best place to use this probe is on first- and last-mile links, which are more likely to have static routing and also more likely to have firewalls that ignore ICMP ECHO_REQUEST.The mandatory probe variable binary must have an executable path for traceroute. The optional probe variable binaryv6 sets an executable path for your IPv6 traceroute. If this is set to the same value as binary, TraceroutePing will use the -6 flag when running traceroute for IPv6 addresses. If this variable is not set, TraceroutePing will try to find an functioning IPv6 traceroute. It will first try appending "6" to the path in binary, then try including the "-6" flag in a test command. Note that Linux appears to have a wide variety of IPv6 traceroute implementations. My Ubuntu 14.04 machine has /usr/sbin/traceroute6 from iputils, but /usr/bin/traceroute (from Dmitry Butskoy) accepts the -6 flag and is actually a better implementation. You may need to let TraceroutePing autodetect this, or experiment to find the best traceroute. The mandatory target variable desthost must name a destination host for the probe. The destination host itself is not of interest and no data is gathered on it, its only purpose is to route traffic past your actual target. Selection of a destination just past your target, with static or strongly preferred routing through your target, will get better data. The mandatory target variable host must name the target host for the probe. This is the router that you want to collect RTT data for. This variable must either be the valid reverse-lookup name of the router, or its IP address. Using the IP address is preferable since it allows us to tell traceroute to avoid DNS lookups. The target variables minttl and maxttl can be used to describe the range of expected hop counts to host. On longer paths or paths through unresponsive gateways or ending in unresponsive hosts, this reduces the amount of time this probe takes to execute. These default to 1 and 30. The target variables wait sets the traceroute probe timeout in seconds. This defaults to 1, instead of the traditionally higher value used by LBL traceroute. Traceroute programs often enforce a lower bound on this value. VARIABLESSupported probe-specific variables:
Supported target-specific variables:
AUTHORSJohn Hood <cgull@glup.org>,SEE ALSOsmokeping_extend
Visit the GSP FreeBSD Man Page Interface. |