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

Implement ipc_blocked_hostgroups #119

Closed jacobbaungard closed 3 years ago

jacobbaungard commented 3 years ago

With this commit a new merlin option, ipc_blocked_hostgroups, is introduced. This setting expects a comma seperated list of hostgroups. Any host or service checks defined in this list will be blocked from execution on the local node.

No re-assignment of the check is done - meaning the check is only done if merlin would otherwise schedule the check on another node. This likely will lead to a significant amount of expired checks, similar to what would happen if a poller with takeover=no is down.

The setting is intended as a safety-net if for some reason your (slim) pollers are de-registered, and that masters are not supposed/able to execute checks for specific hostgroups.

This fixes: MON-12802

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