Skip to content

An execd style output plugin for telegraf that sends to TSDS

Notifications You must be signed in to change notification settings

GlobalNOC/tsds-telegraf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Community shared telemetry telegraf container

Getting Started

Prerequisites

docker and a suitable config file N.B. Disable SE Linux (or figure out how to get it to play well with Docker and local file mounts)

Install - Option 1

Clone this repo

git clone https://github.com/GlobalNOC/tsds-telegraf.git

Build the container

docker build -t tsds-telegraf .

Install - Option 2

Pull the container from Docker Hub and tag the image so the following commands work.

docker pull ghcr.io/globalnoc/tsds-telegraf
docker tag  ghcr.io/globalnoc/tsds-telegraf tsds-telegraf

Run

Place config file(s) in conf.d directory e.g. Copy conf/config.yaml and conf/telegraf_interface_example.conf to conf.d and edit accordingly.

docker run -d --name tsds-telegraf -v $(pwd)/conf.d:/etc/telegraf/conf.d tsds-telegraf

Troubleshoot

docker logs tsds-telegraf

Test

Copy conf/test.conf.example to conf.d/test.conf and run

docker run --rm --name tsds-telegraf -v $(pwd)/conf.d:/etc/telegraf/conf.d tsds-telegraf

You should see telegraf logs and eventually a bunch of output related to cpu and memory. ctrl-c to exit.

About

An execd style output plugin for telegraf that sends to TSDS

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors 4

  •  
  •  
  •  
  •