Smokeping_probes_Qstat(3)

๐Ÿ’… Smokeping::probes::Qstat โ€” the Qstat Probe for SmokePing ๐ŸŽฎ

okay so bestie, real talk: this is Smokeping::probes::Qstat, straight out of the SmokePing manual (section 3 of the man pages, iykyk). It's the page that tells you how to plug the Qstat program into SmokePing as a probe. Let's get into it โœจ


โœ… SYNOPSIS โœจ

so first up, here's the Probes side of things, bestie โ€” the config block, verbatim:

*** Probes ***

+Qstat

binary = /usr/bin/quakestatba # mandatory
forks = 5
game = nexuizs
mininterval = 0.1
offset = 50%
port = 27970
sourceaddress = 192.168.0.1
sourceport = 9923-9943
step = 300
timeout = 15

# The following variables can be overridden in each target section
/^influx_.+/ = influx_location = In the basement
pings = 5

# [...]

and then the Targets side, which is giving main character energy ๐ŸŽ€

*** Targets ***

probe = Qstat # if this should be the default probe

# [...]

+ mytarget
# probe = Qstat # if the default probe is something else
host = my.host
/^influx_.+/ = influx_location = In the basement
pings = 5

๐ŸŒธ DESCRIPTION ๐ŸŒธ

So like โ€” this probe integrates Qstat into smokeping, periodt. The variable binary must point to your copy of the Qstat program, no cap. ๐Ÿซถ

Heads up: make sure to set your pings to 10, because likeโ€ฆ most Quake servers seem to throttle after 10 rapid pings ๐Ÿ˜ญ so don't be that girl who gets rate-limited.

Also, set the game parameter to one of the valid options if you wanna check a different type ๐Ÿ‘‘


๐Ÿ’– VARIABLES ๐Ÿ’–

๐Ÿฆ‹ Supported probe-specific variables:

  • binary โ€” where your quakestat binary lives, literally. Example value: /usr/bin/quakestatba. This setting is mandatory โ€” non-negotiable bestie ๐Ÿšจ
  • forks โ€” run this many concurrent processes at maximum. Example value: 5. Default value: 5. multitasking icon behavior ๐Ÿ’…
  • game โ€” what game type to check, taken from the -default flag of quakestat. Example value: nexuizs. Default value: q3s.
  • mininterval โ€” the minimum amount of time between sending a ping packet to the target, i.e. the "chill, don't spam it" setting. Example value: 0.1. Default value: 0.5.
  • offset โ€” okay so if you run many probes concurrently, you may wanna prevent them from hitting your network all at the same time (chaos, honestly). Using the probe-specific offset parameter you can change the point in time when each probe will be run. Offset is 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 the rrds themselves โ€” 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%. scheduling queen ๐Ÿ‘‘
  • port โ€” the game server port to check. It can also be overridden by adding :port to the host parameter in the Target config. Example value: 27970.
  • sourceaddress โ€” the quakestat "-srcip" parameter. From quakestat(1): Send packets using this IP address. Example value: 192.168.0.1.
  • sourceport โ€” the quakestat "-srcport" parameter. From quakestat(1): Send packets from these network ports. Example value: 9923-9943.
  • 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 the step parameter 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, fr fr. 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.
  • 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.

๐Ÿ‘‘ AUTHORS ๐Ÿ‘‘

Walter Huf <hufman@gmail.com> โ€” we stan ๐Ÿซถ


and that's the whole page bestie, no notes ๐ŸŒˆ

version 2.9.0, dated 2025-06-30, from the Smokeping_probes_Qstat(3) manual page โ€” go off, icon ๐Ÿ’œ
๐Ÿ“ฆ where this page comes from