mirror of
https://github.com/amidaware/tacticalrmm.git
synced 2026-04-26 15:05:57 +03:00
[GH-ISSUE #1936] Duplicate Hostname in Email subject and body in Check/Task Failed messages #1207
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#1207
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 @nescafe2002 on GitHub (Jul 26, 2024).
Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/1936
Server Info (please complete the following information):
Installation Method:
Agent Info (please complete the following information):
Describe the bug
Email subject and body contain hostname twice:
Client, Site, Hostname - Hostname - [Policy Name ] - [Check Name] Failed (- [More info])
Additional context
Note that the hostname is included in the (failed) templates and the
__str__methods.For Checks:
github.com/amidaware/tacticalrmm@c8d72ddd3b/api/tacticalrmm/checks/models.py (L531)github.com/amidaware/tacticalrmm@c8d72ddd3b/api/tacticalrmm/checks/models.py (L158)For Tasks:
github.com/amidaware/tacticalrmm@c8d72ddd3b/api/tacticalrmm/autotasks/models.py (L525)github.com/amidaware/tacticalrmm@c8d72ddd3b/api/tacticalrmm/autotasks/models.py (L541)github.com/amidaware/tacticalrmm@c8d72ddd3b/api/tacticalrmm/autotasks/models.py (L497)Possible solutions:
__str__functions and add hostname tosend_resolved_emailfunctionsgithub.com/amidaware/tacticalrmm@6b9d775cb9andgithub.com/amidaware/tacticalrmm@4cae9cd90dAlso, note that the subject (Client, Site) is not included in the body of the Check resolved message:
github.com/amidaware/tacticalrmm@c8d72ddd3b/api/tacticalrmm/checks/models.py (L656)@SpookOz commented on GitHub (Jan 18, 2026):
Hi team, I might be mistaken, but since this was implemented, it seems like the hostname no longer appears in the subject in the "Resolved" emails...
@SpookOz commented on GitHub (Jan 19, 2026):
Note, this has been addressed in https://github.com/amidaware/tacticalrmm/pull/2388