Code Monkey home page Code Monkey logo

docker-telegraf's Introduction

Welcome ๐Ÿ‘‹, I'm Pascal

Working as Head of B2B in the Online Gaming Industry, learning every day, passionate about growing high performance teams.

docker-telegraf's People

Contributors

drpsychick avatar renovate[bot] avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

semasaf

docker-telegraf's Issues

telegraf not readin conf files

Hi,

So, I'm new to this and I'm probably doing it wrong.

I used your docker-compose file, added the volume '- "/etc/telegraf/telegraf.conf:/etc/telegraf/telegraf.conf:ro"'.

For the life of me, I cannot figure out why telegraf doesn't read my .conf files. Telegraf appears to be polling the localhost as intended, as I can see measurements in influx. I've added the .conf files to /etc/telegraf/telegraf.d directory, just as I did on my regular build machine.

I can initiate a poll manually from the container itself, specifying the .conf file and it will do the snmp walk, as expected.

I also cannot edit the telegraf.conf file in the container itself. When I look at the file permissions, it shows:

-rw-r--r-- 1 989 983 334096 Oct 12 09:30 telegraf.conf

The container does run successfully:

today at 5:46:58 AM Container started
today at 5:45:34 AM 2021-10-12T09:45:34Z I! [agent] Config: Interval:10s, Quiet:false, Hostname:"localhost.localdomain", Flush Interval:10s
today at 5:46:58 AM 2021-10-12T09:46:58Z I! Starting Telegraf 1.20.2
today at 5:46:58 AM 2021-10-12T09:46:58Z I! Using config file: /etc/telegraf/telegraf.conf
today at 5:46:58 AM 2021-10-12T09:46:58Z I! Loaded inputs: cpu disk diskio kernel mem processes swap system
today at 5:46:58 AM 2021-10-12T09:46:58Z I! Loaded aggregators:
today at 5:46:58 AM 2021-10-12T09:46:58Z I! Loaded processors:
today at 5:46:58 AM 2021-10-12T09:46:58Z I! Loaded outputs: influxdb
today at 5:46:58 AM 2021-10-12T09:46:58Z I! Tags enabled: host=localhost.localdomain
today at 5:46:58 AM 2021-10-12T09:46:58Z I! [agent] Config: Interval:10s, Quiet:false, Hostname:"localhost.localdomain", Flush Interval:10s

Any ideas?

Thanks for the help in advance.

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

This repository currently has no open or pending branches.

Detected dependencies

regex
.circleci/config.yml
  • docker/buildx v0.13.1
  • DrPsychick/toml_update v0.1.0

  • Check this box to trigger a request for Renovate to run again on this repository

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.