ITRS-Group / monitor-merlin

Module for Effortless Redundancy and Loadbalancing In Naemon
https://itrs-group.github.io/monitor-merlin/
GNU General Public License v2.0
22 stars 14 forks source link

Cluster-update: rate-limit update interval #93

Closed jacobbaungard closed 3 years ago

jacobbaungard commented 3 years ago

In case cluster-update script cannot fix a problem, the script will be continuously called, and restart the node.

With this commit we rate-limit the cluster-update (on a node basis, depending on who sends the CTRL_INVALID_CLUSTER to every 30 seconds).

This is similar to how it is done for oconf operations.

Signed-off-by: Jacob Hansen jhansen@op5.com

jacobbaungard commented 3 years ago

Abandoned until we do: MON-12501