Cacti / cacti

Cacti ™
http://www.cacti.net
GNU General Public License v2.0
1.62k stars 403 forks source link

Add Device fallback address #4985

Open xmacan opened 1 year ago

xmacan commented 1 year ago

Customer has two (or more) independent internet links (SD-wan). It means different IP addresses for each link. For monitoring few devices in lan, we are using portforwards. Cacti is monitoring everything only via one internet link/public IP address. I don't want monitor everything twice. Problem is when monitored Link/address goes down. I would like to have secondary (fallback) address for second internet link. If primary is down, cacti will try fallback.

I know - it means portforwards for each link with the same port. We have many such customers. When we monitored only few devices in lan, it is much less work than install dozens remote pollers.

Poller could notify when use fallback IP address via email like current up/down notification.

netniV commented 1 year ago

Whilst the idea of having a faillback address would be useful. If it is configured, it would double any timeout and retry amounts. There would also have to be design decisions over whether the fallback is tried straight away, or only after all timeout*retiies have been completed. Additionally, I would imagine some people would like a retry between the two addresses since it could fall back the other way whilst polling.