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

New node setting "accept_runcmd" #139

Closed erikdsjostrom closed 2 years ago

erikdsjostrom commented 2 years ago

With this commit we introduce a new node setting called accept_runcmd. This setting must be enabled on the nodes from which we want to accept runcmds, in addition to having encryption enabled. This enables us to set up encrypted nodes without per default also accepting runcmds from those nodes. This commit also introduces safety checks in order to make sure we're not accepting or sending runcmds from pollers.

Fixes: MON-13148 Signed-off-by: Erik Sjöström esjostrom@itrsgroup.com

jacobbaungard commented 2 years ago

Also can you update the changelog (under the unreleased heading) as well as including the options in https://github.com/ITRS-Group/monitor-merlin/blob/master/docs/merlin.conf.sample

erikdsjostrom commented 2 years ago

Also can you update the changelog (under the unreleased heading) as well as including the options in https://github.com/ITRS-Group/monitor-merlin/blob/master/docs/merlin.conf.sample

Done.

erikdsjostrom commented 2 years ago

Nice, squashed the commits and cherry-picked the commit to maintenance here #140