GithubHelp home page GithubHelp logo

hountez / telegraf-teamspeak3 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from thannaske/telegraf-teamspeak3

0.0 2.0 0.0 12 KB

Telegraf-executable script to collect metrics of all virtual server instances of a Teamspeak 3 server

License: MIT License

Go 100.00%

telegraf-teamspeak3's Introduction

Telegraf Execution Script for Teamspeak 3

Telegraf-executable script to collect metrics of all virtual server instances of a Teamspeak 3 server

Usage instruction

Clone, build and store somewhere on your server. Add the executable to the exec input plugin of Influx Telegraf. Don't set the execution timeout too low when you have multiple server instances running.

Output

The script outputs collected metrics about all found Teamspeak 3 instances in Influx Line format.

  • Metric Name: teamspeak_server
  • Tags: port and id of the virtual server instance
  • Value online: Whether the server instance is running or not
  • Value v_clients: Currently online voice client count (Server Query clients not included)
  • Value q_clients: Currently online Server Query client count
  • Value m_clients: Maximum clients allowed for the virtual server instance
  • Value autostart: Whether the virtual server instance will auto-start or not
  • Value bytes_out: Overall egress traffic in bytes since restart
  • Value bytes_in: Overall ingress traffic in bytes since restart
  • Value channels: Channel count of the virtual server instance
  • Value reserved_slots: Reserved slot count of the virtual server instance
  • Value uptime: Uptime in seconds since restart
  • Value packets_out: Overall egress packets since restart
  • Value packets_in: Overall ingress packets since restart
  • Value ft_bytes_in_total: Overall file transfer ingress bytes (not since restart but since ever)
  • Value ft_bytes_out_total: Overall file transfer egress bytes (not since restart but since ever)
  • Value pl_control: Average packetloss of the control packets
  • Value pl_speech: Average packetloss of the speech packets
  • Value pl_keepalive: Average packetloss of the keepalive packets
  • Value pl_total: Average packetloss of control, speech and keepalive packets together
  • Value bytes_in_speech: Overall ingress speech traffic since restart in bytes
  • Value bytes_out_speech: Overall egress speech traffic since restart in bytes
  • Value bytes_in_control: Overall ingress control traffic since restart in bytes
  • Value bytes_out_control: Overall egress control traffic since restart in bytes
  • Value bytes_in_keepalive: Overall ingress keepalive traffic since restart in bytes
  • Value bytes_out_keepalive: Overall egress keepalive traffic since restart in bytes
  • Value packets_in_speech: Overall ingress speech packets since restart
  • Value packets_out_speech: Overall egress speech packets since restart
  • Value packets_in_control: Overall ingress control packets since restart
  • Value packets_out_control: Overall egress control packets since restart
  • Value packets_in_keepalive: Overall ingress keepalive packets since restart
  • Value packets_out_keepalive: Overall egress keepalive traffic since restart
  • Value avg_ping: Average ping of all connected voice clients

Usage example: Visualize Metrics with Grafana

Grfana Example You find the example dashboard as grafana-dashboard.json in this repository.

Acknowledgments

go-ts3: https://github.com/multiplay/go-ts3
This library provides all necessary methods to connect to a Teamspeak 3 ServerQuery. During my work on this repository I added a few methods for bandwidth and packetloss metering at it.

telegraf-teamspeak3's People

Contributors

thannaske avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.