Smokeping_probes_DismanPing(3)
π Smokeping_probes_DismanPing(3) β DISMAN-PING-MIB Probe for SmokePing
okay so bestie, this is a page from the SmokePing manual β the Smokeping_probes_DismanPing(3) one β and it's literally about a probe that makes somebody else's router do the pinging for you. remote work era for network monitoring, we love to see it π«Ά
πΈ NAME πΈ
Smokeping::probes::DismanPing β the DISMAN-PING-MIB Probe for SmokePing. that's the whole name, no cap.
β¨ SYNOPSIS β¨
here's the shape of it, exactly as it goes in your config:
*** Probes ***
+DismanPing
offset = 50%
pings = 15
step = 300
# The following variables can be overridden in each target section
/^influx_.+/ = influx_location = In the basement
ownerindex = smokeping
packetsize = 56
pinghost = pinger@router.example.com # mandatory
pingsrc = 192.0.2.9
# [...]
*** Targets ***
probe = DismanPing # if this should be the default probe
# [...]
+ mytarget
# probe = DismanPing # if the default probe is something else
host = my.host
/^influx_.+/ = influx_location = In the basement
ownerindex = smokeping
packetsize = 56
pinghost = pinger@router.example.com # mandatory
pingsrc = 192.0.2.9
like, look at it. gorgeous. pinghost is the mandatory one, don't forget her π
π¦ DESCRIPTION π¦
so instead of your SmokePing box doing the pinging itself, this probe uses the DISMAN-PING-MIB to get a remote system to send the probes for you. delegation! main character energy for the remote box, honestly. π
π VARIABLES π
the probe-specific ones, aka the ones that live in the probe section
offsetβ bestie, if you've got a million probes all firing at the exact same moment your network is gonna have a bad time π so you can shift when each probe kicks off using this. the offset is either a percentage of the total interval, or the wordrandom. if you don't set it here, the offset from theGeneralsection gets used instead. important: this does NOT touch the RRDs themselves β it's literally just about when data acquisition starts. (psst, this variable only does anything ifconcurrentprobesis set in theGeneralsection.)
example value: 50%
pingsβ how many pings get sent to each target, obviously. but heads up π¨ the max value for DismanPing MIP is15, which is less than the SmokePing default, so this class carries its own default value. if your Database section specifies something less than 15, you gotta set it for this probe too. and ngl, the number of pings baked into the RRD files is fixed at generation time β change this parameter later and you'll have to delete the old RRD files or somehow convert them. no taking it back π
example value: 15
default value: 15
stepβ how long the base interval is for this probe, in case it should differ from whatever theDatabasesection says. same deal as above, fr fr: the step inside the RRD files is locked in when they're first generated, so if you changestepafterwards you're deleting old RRD files or converting them, periodt. (and again, this variable only applies ifconcurrentprobesis set in theGeneralsection.)
example value: 300
the target-specific ones, aka per-target overrides π―
/^influx_.+/β this is a tag that gets shipped off to influxdb and has zero impact on the actual probe measurement. the tag name gets sent without theinflux_prefix β that gets swapped out fortag_instead. tags are for filtering, iykyk.
example value: influx_location = In the basement
ownerindexβ the SNMP OwnerIndex used when setting up the test. if you're running VACM, this can map to a Security Name or Group Name of the entity running the test.
by default this will be set to
example value: smokeping
packetsizeβ lets you configure the packet size for the pings being sent. minimum is8, maximum is65507. pro tip from the page: use the same number as withfpingif you want the same packet sizes flying around your network. β¨
default value: 56
pinghostβ the (mandatory)pinghostparameter says which remote system executes the pings, plus the SNMP community string on that device. it's givingcommunity@host, iconic.
example value: pinger@router.example.com
this setting is mandatory. like, required required. π
pingsrcβ the (optional)pingsrcparameter is the source address used for the pings. if you do specify it, it must identify an IP address assigned topinghostβ no making up addresses, bestie.
example value: 192.0.2.9
π AUTHORS π
Bill Fenner <fenner@research.att.com>, Tobi Oetiker <tobi@oetiker.ch> β legends, both of them.
π NOTES π
MENU NAMES
this probe uses the menu name of a test as part of the unique index. if the menu name is longer than 32 characters, the last 32 characters are used for the index. and here's the scary part π collisions are not detected β they just quietly cause one test's results to be used for all the colliding names. so like, be careful out there.
CONFIGURATION
this probe needs read/write access to the pingCtlTable. it also needs read-only access to the pingResultsTable and the pingHistoryTable. the DISMAN-PING-MIB is structured so you can restrict by pingCtlOwnerIndex. this probe uses a pingCtlOwnerIndex of "SP on hostname" as the ownerindex by default; use ownerindex to configure it if you need to. π«‘
SAMPLE JUNOS CONFIGURATION
this config lets the community pinger have read-write access to the whole DISMAN-PING-MIB, but only when it's sourced from the manager at 192.0.2.134. conditional access, we stan:
snmp {
view pingMIB {
oid .1.3.6.1.2.1.80 include;
}
community pinger {
view pingMIB;
authorization read-write;
clients {
192.0.2.134/32;
}
}
}
SAMPLE CONFIGURATIONS NOTE
this configuration allows the pinger community full access to the DISMAN-PING-MIB. there's info in the description of pingCtlOwnerIndex in RFC 4560 (http://tools.ietf.org/html/rfc4560) about using the vacmViewTreeFamilyTable to restrict access even further. the author has not tried this method. π honest queen.
β little vibe check before you go:pinghostis mandatory, the pings cap is15, and changingpingsorstepafter the RRDs exist means deleting or converting those files. you've been warned, bestie π
and that's the whole page, literally all of it β brought to you by SmokePing version 2.9.0, dated 2025-06-30, on the Smokeping_probes_DismanPing(3) manual page. mwah, go ping something remote π§π
π¦ 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