mirror of
https://github.com/amidaware/tacticalrmm.git
synced 2026-04-26 15:05:57 +03:00
[GH-ISSUE #1291] Alert Template -> Alert Action for Warning and Error #2743
Labels
No labels
In Process
bug
bug
dev-triage
documentation
duplicate
enhancement
fixed
good first issue
help wanted
integration
invalid
pull-request
question
requires agent update
security
ui tweak
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tacticalrmm#2743
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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?
Originally created by @lumi-fiona on GitHub (Sep 21, 2022).
Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/1291
Is your feature request related to a problem? Please describe.
Alerts Manager -> My Template -> Alerts Action
When adding a script for "Failure Action", it will run the script upon getting Warnings and Errors.
However, when getting a warning first (i.e. disk space is 10%) which turns into an error (i.e. disk space is now 5%), it won't re-run the script.
In my case, I have a script that send me telegram notifications with the error message.
Currently it only sends warning messages due to this limitation.
When the error or warning is resolved, it will also run the "Resolved Action", which again sends Resolved Messages for every Warning.
Describe the solution you'd like
current options:
"Failure Action" - runs on either error or warning, but wont re-run if it has been triggered by a warning
"Resolved Action" - runs on either error or warning
my solution:
"Failure Action on Warning" - runs only when getting a warning
"Resolved Action on Warning" - runs only when a warning has been resolved
"Failure Action on Error" - runs only when getting an error, doesn't matter it if used to be a warning or an "OK" status
"Resolved Action on Error" - runs only when an error has been resolved
Describe alternatives you've considered
re-running "Failure on Action" when it switches from a warning to an error
Additional context
This would make it easy to make your own monitoring with any message application or send e-mails on warning to groupA and e-mails on errors to groupB