Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: None
-
Labels:
-
Story Points:3
-
Epic Link:
-
Sprint:TSSW Sprint - Oct 25 - Nov 08
-
Team:Telescope and Site
-
Urgent?:No
Description
Add a new Watcher alarm for MT Hexapod strut temperature.
Make it a generic over-temperature alarm that uses temperature data from the ESS telemetry topic. Details:
- Base the alarm on the most pessimistic reading.
- Make the name of the item being monitored configurable.
- Make the sensors to read configurable, with a configurable display name for each sensor (e.g. strut 1 for the hexapod).
- Include 3 thresholds: warning, serious, and critical. Typically only 2 of them will be used (by making the third impossible to reach or nan).
- Include one hysteresis.
I also made the following improvements:
In future work I hope to write a class to publish data for ESS alarm rule unit tests. Until then I'm only using multi-channel temperature topics because it's too much work to write a mix of those and humidity sensor temperatures (especially when picking a random value to be the pessimistic value).
Pull request: https://github.com/lsst-ts/ts_watcher/pull/42