junos_exporter icon indicating copy to clipboard operation
junos_exporter copied to clipboard

Connect a device portal or target list to the allowed targets

Open ideastarboy opened this issue 2 years ago • 1 comments

Hi, I was wondering if there is a way to connect a target list or a device portal to the allowed target so I don't have to add devices manually. I have about 1500 devices I would like to add to the allowed target and they are all sitting in a device portal, I am looking for a way to connect this device portal to the allowed target list so it can fetch the devices, if you could share with me the configuration to do this. Thanks in advance.

ideastarboy avatar Oct 26 '23 11:10 ideastarboy

Today, we have dozens of individual targets, and in the prometheus.yml file, I have defined them in a group. So, I don't have to list each individual host there.

But soon, we may have hundreds or thousands of targets, and I really, really don't want to have to list each individual host in the junos_exporter_config.yml file.

bknowles avatar Dec 31 '24 21:12 bknowles