Implement severity in JupiterPerpsAlarm #4
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Then an alarm is triggered, and PushOver notification is enabled, then severity is always critical now.
In the configuration file for JupiterPerpsAlarm we can set the severity, but it is never actually used.
We used be able to use these 3 levels (instead of just '2'):
(THIS IS CHANGED - SEE COMMENTS)
CRITICAL (as now - very loud and require acknowledgement/resend (this is a feature of PushOver, not in out code) - this is the current behaiviour)IMPORTANT (as now - but WITHOUT resend and ackowledment (this is a parameter to the rest call to PushOver)
INFO (just a normal popup)
ChatGPT and I have agreed to the following severity levels: