teamspeak

package
v1.19.3 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2021 License: MIT Imports: 4 Imported by: 14 modules, 12 packages

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

Teamspeak 3 Input Plugin

This plugin uses the Teamspeak 3 ServerQuery interface of the Teamspeak server to collect statistics of one or more virtual servers. If you are querying an external Teamspeak server, make sure to add the host which is running Telegraf to query_ip_whitelist.txt in the Teamspeak Server directory. For information about how to configure the server take a look the Teamspeak 3 ServerQuery Manual

Configuration:
# Reads metrics from a Teamspeak 3 Server via ServerQuery
[[inputs.teamspeak]]
  ## Server address for Teamspeak 3 ServerQuery
  # server = "127.0.0.1:10011"
  ## Username for ServerQuery
  username = "serverqueryuser"
  ## Password for ServerQuery
  password = "secret"
  ## Array of virtual servers
  # virtual_servers = [1]
Measurements:
  • teamspeak
    • uptime
    • clients_online
    • total_ping
    • total_packet_loss
    • packets_sent_total
    • packets_received_total
    • bytes_sent_total
    • bytes_received_total
    • query_clients_online
Tags:
  • The following tags are used:
    • virtual_server
    • name
Example output:
teamspeak,virtual_server=1,name=LeopoldsServer,host=vm01 bytes_received_total=29638202639i,uptime=13567846i,total_ping=26.89,total_packet_loss=0,packets_sent_total=415821252i,packets_received_total=237069900i,bytes_sent_total=55309568252i,clients_online=11i,query_clients_online=1i 1507406561000000000

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Teamspeak

type Teamspeak struct {
	Server         string
	Username       string
	Password       string
	VirtualServers []int `toml:"virtual_servers"`
	// contains filtered or unexported fields
}

func (*Teamspeak) Description

func (ts *Teamspeak) Description() string

func (*Teamspeak) Gather

func (ts *Teamspeak) Gather(acc telegraf.Accumulator) error

func (*Teamspeak) SampleConfig

func (ts *Teamspeak) SampleConfig() string

Jump to

Keyboard shortcuts

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