csgo

package
v1.18.0-rc0 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2021 License: MIT Imports: 9 Imported by: 0

README

CSGO Input Plugin

The csgo plugin gather metrics from CSGO servers.

Configuration
[[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)

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) Description

func (_ *CSGO) Description() string

func (*CSGO) Gather

func (s *CSGO) Gather(acc telegraf.Accumulator) 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