telegraf/plugins/inputs/csgo
Sven Rebhan dcec9d1cea
docs(inputs): Add plugin metadata and update description for a* to f* (#16097)
2024-10-31 16:15:21 -05:00
..
README.md docs(inputs): Add plugin metadata and update description for a* to f* (#16097) 2024-10-31 16:15:21 -05:00
csgo.go chore(inputs.csgo): Migrate plugin to new maintained version of rcon (#14756) 2024-02-12 09:36:54 -07:00
csgo_test.go chore(linters): Fix remaining errcheck warnings (#15518) 2024-07-10 12:51:25 +02:00
sample.conf chore(inputs_a-l): migrate sample configs into separate files (#11132) 2022-05-18 11:31:52 -05:00

README.md

Counter-Strike: Global Offensive (CSGO) Input Plugin

This plugin gather metrics from Counter-Strike: Global Offensive servers.

Telegraf v1.18.0 🏷️ server 💻 all

Global configuration options

In addition to the plugin-specific configuration settings, plugins support additional global and plugin configuration settings. These settings are used to modify metrics, tags, and field or create aliases and configure ordering, etc. See the CONFIGURATION.md for more details.

Configuration

# Fetch metrics from a CSGO SRCDS
[[inputs.csgo]]
  ## Specify servers using the following format:
  ##    servers = [
  ##      ["ip1:port1", "rcon_password1"],
  ##      ["ip2:port2", "rcon_password2"],
  ##    ]
  #
  ## If no servers are specified, no data will be collected
  servers = []

Metrics

The plugin retrieves the output of the stats command that is executed via rcon.

If no servers are specified, no data will be collected

  • csgo
    • tags:
      • host
    • fields:
      • cpu (float)
      • net_in (float)
      • net_out (float)
      • uptime_minutes (float)
      • maps (float)
      • fps (float)
      • players (float)
      • sv_ms (float)
      • variance_ms (float)
      • tick_ms (float)

Example Output