Skip to content

Idq monitor updates

Patrick Godwin requested to merge idq_monitor_updates into master

This merge request serves to update idq-monitor to use the new aggregator classes provided by datamon. It also updates the dashboard config file to use the new schema datamon expects.

This currently aggregates and stores timeseries into a hierarchical directory structure with hdf5 files. The other aggregator class datamon currently implements is through influxDB, a proper timeseries database. I haven't added the option here for the time being since we'd need to pass in options from the .ini file and that would probably involve another section ([monitor] maybe?).

Anyways, I've tested this and it works well. We don't get any strange stability issues as with the sqlite backend that was previously implemented. Furthermore, this allows us to query historical data rather than just current snapshots. Deployment is fairly easy on LHO/LLO and it amounts to running the command:

datamon serve -e -c /path/to/config -o /path/to/public_html

The -e option is for a workaround on LHO/LLO since only files with a .cgi extension can be executed on cgi-bin. You only need to do this the first time you want to set up the dashboard, or if any changes from datamon change any static files (.css or .js). Any changes to the configuration file or rebuilds of datamon with new code will be automatically picked up by the script.

Merge request reports