mirror of
https://github.com/amidaware/tacticalrmm.git
synced 2026-04-26 15:05:57 +03:00
[GH-ISSUE #1852] Agent history shows the name of the alert action script instead of the alert resolved script #3102
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#3102
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 @sebvonhelsinki on GitHub (Apr 22, 2024).
Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/1852
Originally assigned to: @wh1te909 on GitHub.
Server Info (please complete the following information):
Installation Method:
--insecureflag at installAgent Info (please complete the following information):
Describe the bug
I created two scripts: "Failure_Action_CreateTicket" and "Resolve_Action_CloseTicket". As the name implies, these are used in an alerting template to create or close tickets in our issue tracking system. However, the history shows the name of the "Failure_Action_CreateTicket" as the executed script no matter if an alert was triggered or resolved.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The history should show that the script "Resolve_Action_CloseTicket" has been run.
Screenshots

Screenshot of the Alert template:
Screenshot of the client history:

Additional context
My understanding is that this is only a display error in the History section of the agents. The scripts I wrote and the alert template work as intended and tickets are created and closed as expected, so I can confirm that the alert template actually runs the second script as it should. The "output" column in the History section also returns the output I expect form the second script.
@wh1te909 commented on GitHub (Apr 22, 2024):
thanks, fix will be in next release (for new entries only, can't fix what's already in db)
@sebvonhelsinki commented on GitHub (Apr 23, 2024):
Great, thanks for the quick fix!