-
Notifications
You must be signed in to change notification settings - Fork 308
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 depends on mosquitto ? #550
Comments
Short answer: "no idea". Longer answer: "history":
How many existing installations rely on Graham's original setup? Absolutely no idea. Could be none. Could be thousands. Other than introducing a breaking change and waiting for complaints to come in, there's no easy way of finding out. We could ask Graham about his original reasoning and whether it is still relevant but nobody has heard from him in a long time. At the end of the day, it's "your system, your rules". If you don't want it in there then change it! If I wanted to do this on my own system I would start like this:
then edit my
to:
Then I could make any changes I wanted inside the
Does that answer your question? |
The I'd say we remove the dependency:
Nicest solution would be to have the dependency only if both services are selected, but menu doesn't currently support such functionality. Maybe after #505 that could be possible. But what about its |
I would remove the mosquitto dependency, as you say. If you have a problem with mosquitto you don't want telegraf to fail. Influx isn't a dependency, but it is a dependency. This Telegraf instance only depends on influx because they're on the same machine. Telegraf would run happily and fail to push metrics , but no-one wants that. I would thing this would benefit from the same logic as the port duplication check, but as a dependency check. If one container depends on another highlight it, but don't try to fix it. In essence: This is probably too much like hard work, but it's an option. either way I'd remove the dependancy for mosquitto in case it isn't installed |
Seems like remnant misconfiguration from the beginning. Fixes docker-compose.yml to be valid even if you don't choose mosquitto fron the menu. Added documentation about adding the mosquitto 'depends_on' back if you use the mqtt_consumer addition. Resolves SensorsIot#550
Seems like remnant misconfiguration from the beginning. Fixes docker-compose.yml to be valid even if you don't choose mosquitto fron the menu. Added documentation about adding the mosquitto 'depends_on' back if you use the mqtt_consumer addition. Resolves SensorsIot#550
Seems like remnant misconfiguration from the beginning. Fixes docker-compose.yml to be valid even if you don't choose mosquitto fron the menu. Added documentation about adding the mosquitto 'depends_on' back if you use the mqtt_consumer addition. Resolves SensorsIot#550
I've used telegraf a bit in the past, and I know it has plugins for everything. but as far as I am aware, none of them are required.
Yes it is required to have an upstream db, but apart from that you can configure anything. It's a monitoring app, it will monitor what you tell it to, and report it upstream.
For me this is really a question of why is telegraf dependant on Mosquitto ? It may just be used to monitor docker ?
The text was updated successfully, but these errors were encountered: