[GH-ISSUE #1291] Alert Template -> Alert Action for Warning and Error #2743

Open
opened 2026-03-14 05:20:12 +03:00 by kerem · 0 comments
Owner

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

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
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tacticalrmm#2743
No description provided.