-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #239 from lsst-ts/tickets/DM-47086
tickets/DM-47086: Add option to disable watcher alarms in `set_summary_state` scripts when sending a component to Offline.
- Loading branch information
Showing
3 changed files
with
137 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
Add option to mute watcher alarms when setting CSCs to OFFLINE | ||
|
||
Added `mute_alarms` and `mute_duration` parameters to the `set_summary_state` script | ||
configuration. | ||
`mute_alarms` defaults to `False` | ||
`mute_duration` defaults to `30 mins` | ||
|
||
E.g. | ||
data: | ||
- | ||
- MTMount | ||
- Offline | ||
mute_alarms: true | ||
|
||
or | ||
|
||
data: | ||
- | ||
- MTMount | ||
- Offline | ||
mute_alarms: true | ||
mute_duration: 60.0 | ||
|
||
When `mute_alarms` is enabled and a component is transitioned to OFFLINE, related watcher | ||
alarms are temporarily muted for the specified duration, defaulting to 30 minutes. | ||
|
||
Muting is applied only to components transitioning to OFFLINE state. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters