Is it possible add path to file which contains list of agent hosts instead of adding all host names or IP addresses in telegraf.conf.
For example now we have:
_ agents = [“10.0.0.1:161” , “10.0.0.5:161” , “test-router.mydomain.net:161”]_
Is it possible something like this:
_ agents = “/etc/telegraf/routers-and-switches.txt”_
I need that because I want to run multiple input.snmp instances for the same list of devices. Each instance would be dedicated for different metric (CPU, Memory, Interface). And I could easily add o remove devices to monitoring.