nagios: new space for nagios monitors
This commit adds a new directory for nagios monitoring scripts, with two monitors
-
dqsegdb-nagios-latency
: a python script to attempt to query a server for the latest segment for a given flag, and will report if the latency is within given limits -
dqsegdb-nagios-ping
: a bash script to ping a server using the dqsegdb client toolligolw_segment_query_dqsegdb
Both monitors default to standard nagios plugin output, with an exicode [0-3] and a line of text, however, both tools accept a '--json' argument to write instead a json packet (to stdout) that can be scraped by the https://dashboard.ligo.org https-json scraper