If I have thousands of IP addresses to monitor, and each IP address has a label, how can I conveniently configure them?
If I have thousands of IP addresses to monitor, and each IP address has a label, how can I conveniently configure them?
and How should I add or del IP address? Do I need to restart every time?
maybe can we catch ip dynamically with consul?
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