Hi. When I have several switches to poll using telegraf snmp input, I usually write a single conf file, and put the agents in a list, like
But, recently I was told that this is not a good approach, since if one agent is offline, it will delay the other agent collections and can even timeout the entire thing. I was told that the best way to do is to have a separate conf file for each of the switches.
Is this right?
I always thought that the agent list was read first, then a thread was created for each agent.
Am I right, or is the person who told me to have separate files right? What is the best way to do it?