The source project of this merge request has been removed.
Add Nagios output from daily-lasso
This merge request adds optional Nagios JSON output from daily-lasso
, similar to the other daily automated tools:
- Add a
--disable-nagios
flag, which defaults toFalse
- Except all
CalledProcessErrors
, raising aUserWarning
whenever a call togwdetchar-lasso-correlation
fails, and collect the return code from Lasso for each lock segment - Unless
--disable-nagios
is passed, write a summary JSON file that Nagios will interpret to set red and green lights on https://monitor.ligo.org (requires a separate pull request in ligo-smashing) - Run Lasso with a half-hour timeout, that is, kill any individual Lasso process that takes longer than half an hour
- Automatically set
output_dir
andsummary_dir
from a commonbasedir
, since local HTML paths are automatically set
This also reduces the timeout length of daily-hveto.sh
.
Edited by Alexander Urban