ping_exporter icon indicating copy to clipboard operation
ping_exporter copied to clipboard

If I have thousands of IP addresses to monitor, and each IP address has a label, how can I conveniently configure them?

Open kof8855 opened this issue 1 year ago • 3 comments

If I have thousands of IP addresses to monitor, and each IP address has a label, how can I conveniently configure them?

kof8855 avatar Oct 17 '24 02:10 kof8855

and How should I add or del IP address? Do I need to restart every time?

18612864207 avatar Oct 31 '24 06:10 18612864207

maybe can we catch ip dynamically with consul?

shawnlee99 avatar Feb 27 '25 08:02 shawnlee99

If I have thousands of IP addresses to monitor, and each IP address has a label, how can I conveniently configure them?

where are you running and how are you deploying? this would be a task for configuration management if you were running in an OS directly or something like a templated deployment language (docker compose or helm) in a containerized env

and How should I add or del IP address? Do I need to restart every time?

there is a watcher for config changes if you're using a config file: https://github.com/czerwonk/ping_exporter/blob/main/main.go#L217

daveoy avatar Mar 21 '25 20:03 daveoy