Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Telegraf: remove unused mosquitto dependency #554

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .templates/telegraf/service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,4 @@ telegraf:
- /var/run/docker.sock:/var/run/docker.sock:ro
depends_on:
- influxdb
- mosquitto

3 changes: 3 additions & 0 deletions docs/Containers/Telegraf.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,9 @@ $ docker-compose restart telegraf
```

The `grep` strips comment lines and the `sudo tee` is a safe way of appending the result to `telegraf.conf`. The `restart` causes Telegraf to notice the change.
This result in the Telegraf service depending on the Mosquitto service, as such
you may want to edit `docker-compose.yml` and add `- mosquitto` to the
`depends_on:` of the telegraf service.

## Getting a clean slate { #cleanSlate }

Expand Down