Closed jordandubu closed 2 years ago
Hello! I recommend posting this question in our Community Slack or Community Page, we have a lot of talented community members there who could help answer your question more quickly. Heads up, this issue will be automatically closed after 7 days of inactivity. Thank you!
@jordandubu would it be an option to add a new config file to the config-directory with every new router you want to add? The file should then contain the inputs.snmp
section for the new device...
@jordandubu would it be an option to add a new config file to the config-directory with every new router you want to add? The file should then contain the
inputs.snmp
section for the new device...
Yes, i searched that and it is faster, thanks for the hint :)
I just wonder how to correctly do that? should i let the beginning of the telegraf.conf file until the input plugins ?
Should i copy all my input plugins ( 200 lines ) and paste it in a file and doing that for each ip address
like this : /etc/telegraf/telegraf.d/192.168.1.1 /etc/telegraf/telegraf.d/router2
Would it be possible someday to have a telegraf userfriendly local website to manage the conf ?
Exactly, make each plugin an own file.
Would it be possible someday to have a telegraf userfriendly local website to manage the conf?
What do you mean? You can already specify a http/https address for telegraf to fetch the config...
Hello! I am closing this issue due to inactivity. I hope you were able to resolve your problem, if not please try posting this question in our Community Slack or Community Page. Thank you!
Hello, I am wondering how to add multiple agent to telegraf easily. We’re adding like one router per day, and my team and I don’t wanna go to the config file to add a router to telegraf.
I’ve been thinking of using an environment variable, but there is a size limit. Or creating a php website to add or delete an ip adress. Or a bash script It has to be userfriendly a bit
To add more context, I am a student and i have the project of replace my company monitoring solutions with grafana and telegraf.
Any idea ?
Does an agent manager exist ?
One more question, do I have to restart telegraf service each time i add a router ?