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

mon.py: correctly handle boolean return values #31

Closed jacobbaungard closed 5 years ago

jacobbaungard commented 5 years ago

Earlier boolean output of "mon" command was not recognised in mon.py.in file. so it was returning exit code .

Added code to check the boolean output of "mon" command.

This fixes issue MON-11302

Co-Authored-By: Jacob Hansen jhansen@op5.com Signed-off-by: devesh thakur dthakur@op5.com