icinga2/lib/livestatus
Alexander A. Klimov fc70825cb2 Zone#GetEndpoints(): return endpoints in the specified order, not randomly
ApiListener#RelayMessageOne() relays every given message to the first connected endpoint Zone#GetEndpoints() returns. Randomness in combination with bad luck can direct more traffic (from a particular network segment) to one master than the admin wants.

This change lets the Zone#endpoints order prefer one endpoint over the other.
2025-04-07 11:55:20 +02:00
..
2021-02-03 09:54:57 +01:00