Smokeping_probes_SSH(3)
π Smokeping::probes::SSH β Secure Shell Probe for SmokePing π
Hey bestie, welcome to the Smokeping_probes_SSH(3) glow-up β¨ (yes that's the manual name, we're being fancy today). This is the whole page, every flag and every default, just with actual personality. No cap π«Ά
π SYNOPSIS π
*** Probes ***
+SSH
binary = /usr/bin/ssh-keyscan # mandatory
forks = 5
init_host = 127.0.0.1
offset = 50%
step = 300
timeout = 15
# The following variables can be overridden in each target section
/^influx_.+/ = influx_location = In the basement
keytype = dsa
pings = 5
port = 5000
ssh_af = 4
# [...]
*** Targets ***
probe = SSH # if this should be the default probe
# [...]
+ mytarget
# probe = SSH # if the default probe is something else
host = my.host
/^influx_.+/ = influx_location = In the basement
keytype = dsa
pings = 5
port = 5000
ssh_af = 4
π DESCRIPTION π
Okay so, this probe literally just plugs ssh-keyscan into smokeping. Iconic behaviour honestly. The variable binary must point at your very own copy of the ssh-keyscan program. If your system doesn't have it yet, install openssh >= 3.8p1 β that's the vibe check you gotta pass first π
The probe asks the host you gave it for its public key n times, where n is however many you set in the config file. Simple.
Then there's the init bit β pay attention bestie, this one matters πΈ As part of initialization, the probe asks 127.0.0.1 for its public key and tries to parse the output. Why?? To make sure the ssh-keyscan binary you pointed at actually spits out the format it expects before trusting it with real work. So yeah β make sure you've got SSH running on the localhost too, or set an alternative init_host target to test against, and make sure that one is available during any smokeping restart. Don't skip this, it's giving "I'll do it later" and then everything breaks π
β¨ VARIABLES β¨
Here's where it gets juicy. We got probe-specific variables and target-specific variables, and I am obsessed with how organised this is π¦
πΈ Supported probe-specific variables
binaryβ where yourssh-keyscanbinary lives, fr fr.
Example value: /usr/bin/ssh-keyscan
This setting is mandatory. Like, actually. Not optional. Periodt.
forksβ run this many concurrent processes at maximum.
Example value: 5
Default value: 5
init_hostβ the host used for initialization. It defaults to the IPv4 localhost of127.0.0.1.
Example value: 127.0.0.1
Default value: 127.0.0.1
offsetβ okay so if you're running a bunch of probes concurrently, you might not want them all hitting your network at the exact same moment (chaotic, lowkey π). With this probe-specific offset parameter you can change when each probe runs. Offset is specified in % of the total interval, or alternatively as'random', and if you don't specify anything here the offset from the'General'section gets used.
Heads up: this does NOT influence the rrds themselves β it's 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 this probe should use, if it's different from the one specified in the'Database'section.
Real talk: the step in the RRD files is fixed when they're originally generated, so if you change the step parameter afterwards, you'll have to delete the old RRD files or somehow convert them. No takebacks π
(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 gets sent to influxdb and has, and I cannot stress this enough, no impact on the probe measurement. The tag name gets sent without the"influx_"prefix, which gets replaced with"tag_"instead. Tags are for filtering, iykyk π
Example value: influx_location = In the basement
keytypeβ type of key, used inssh-keyscan -t keytype.
Example value: dsa
Default value: rsa
pingsβ how many pings should be sent to each target, if it's different from the global value specified in theDatabasesection.
Same warning as before bestie: the number of pings in the RRD files is fixed when they're originally generated, and if you change this parameter afterwards you'll have to delete the old RRD files or somehow convert them. It's giving commitment issues but okay π
Example value: 5
portβ port to use when testing the ssh connection, akassh-keyscan -p port.
Example value: 5000
Default value: 22
ssh_afβ address family (IPv4/IPV6) to use when testing the ssh connection. Specify4or6. Specify0to reset to the default system preference, instead of inheriting the value from parent sections β main character energy, honestly π
Example value: 4
Default value: 0
π AUTHORS π
Christian Recktenwald <smokeping-contact@citecs.de> β the icon who made this happen π
π THE CUTE SIGN-OFF π
That's the whole page, bestie! This one's from version 2.9.0, dated 2025-06-30, and yes, it's still Smokeping_probes_SSH(3) forever π
β¨ Go forth and scan those keys π
π¦ 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