Smokeping_probes_TraceroutePing(3)
π NAME π
Bestie, this is the Smokeping_probes_TraceroutePing(3) page for SmokePing β aka Smokeping::probes::TraceroutePing, the probe that uses traceroute to obtain RTT for a router. Itβs giving network-main-character energy, fr fr. π
β¨ SYNOPSIS β¨
Hereβs the config vibe, exactly as it slays:
*** 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
πΈ DESCRIPTION πΈ
Okay so this probe integrates standard traceroute as a probe into smokeping. The whole use case is for 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. Iconic, honestly. π¦
The mandatory probe variable binary must have an executable path for traceroute. No cap.
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 a 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. Periodt. π
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. Slay. π
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. Important vibe check: donβt forget that lower bound situation. π
π VARIABLES π
π§ Supported probe-specific variables π§
binaryβ The location of yourtraceroutebinary. Example value:/usr/bin/traceroute. This setting is mandatory. πbinaryv6β The location of your IPv6traceroutebinary. Example value:/usr/bin/traceroute6. πforksβ Run this many concurrent processes at maximum. Example value:5. Default value:5. π«Άoffsetβ If you run many probes concurrently you may want to prevent them from hitting your network all at the same time. Using the probe-specificoffsetparameter you can change the point in time when each probe will be run.Offsetis specified in % of total interval, or alternatively as'random', and the offset from the'General'section is used if nothing is specified here. Note that this does NOT influence therrdsitself, it is just a matter of when data acquisition is initiated. (This variable is only applicable if the variable'concurrentprobes'is set in the'General'section.) Example value:50%. βstepβ Duration of the base interval that this probe should use, if different from the one specified in the'Database'section. Note that the step in the RRD files is fixed when they are originally generated, and if you change thestepparameter afterwards, youβll have to delete the old RRD files or somehow convert them. (This variable is only applicable if the variable'concurrentprobes'is set in the'General'section.) Example value:300. πtimeoutβ How long a single'ping'takes at maximum. Example value:15. Default value:5. π₯
π¦ Supported target-specific variables π¦
/^influx_.+/β This is a tag that will be sent to influxdb and has no impact on the probe measurement. The tag name will be sent without the"influx_"prefix, which will be replaced with"tag_"instead. Tags can be used for filtering. Example value:influx_location = In the basement. πdesthostβ Final destination host fortraceroutepackets. Does not have to be reachable unless it is also yourhost. Example value:www.example.com. This setting is mandatory. πhostβ Host of interest to monitor. Must be either the hostβs reverse-lookup name, or an IP address. Example value:www-net-router.example.com. This setting is mandatory. πmaxttlβ Maximum TTL. Set to the maximum expected number of hops tohost. Example value:15. (The DESCRIPTION saysminttlandmaxttldefault to1and30.) πΈminttlβ Minimum TTL. Set to the minimum expected number of hops tohost. Example value:11. (The DESCRIPTION saysminttlandmaxttldefault to1and30.) π¦pingsβ How many pings should be sent to each target, if different from the global value specified in the Database section. Note that the number of pings in the RRD files is fixed when they are originally generated, and if you change this parameter afterwards, youβll have to delete the old RRD files or somehow convert them. Example value:5. πwaitβ Waittime. The timeout value fortracerouteβs probes, in seconds. Example value:3. (The DESCRIPTION says this defaults to1.) β¨
π AUTHORS π
John Hood <cgull@glup.org>, β icon behavior only. π
π SEE ALSO π
Go peek at smokeping_extend next, bestie. π«Ά
This adorable little manpage is from SmokePing version 2.9.0, dated 2025-06-30 β stay hydrated and may your routes stay static. π
β¨
π¦ where this page comes from
- alpine 3.23: smokeping-doc 2.9.0-r1 Β· GPL-2.0-or-later
- alpine 3.24: smokeping-doc 2.9.0-r1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms