csgo

package
v1.33.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 10, 2025 License: MIT Imports: 10 Imported by: 2 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CSGO

type CSGO struct {
	Servers [][]string `toml:"servers"`
}

func (*CSGO) Gather

func (s *CSGO) Gather(acc telegraf.Accumulator) error

func (*CSGO) Init added in v1.29.5

func (s *CSGO) Init() error

func (*CSGO) SampleConfig

func (*CSGO) SampleConfig() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL