mirror of
https://github.com/amidaware/tacticalrmm.git
synced 2026-04-26 23:15:57 +03:00
[GH-ISSUE #1791] new variables categories for reporting/cross scripting #1116
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#1116
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 @P6g9YHK6 on GitHub (Mar 9, 2024).
Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/1791
Is your feature request related to a problem? Please describe.
Currently calling outputs from check/tasks output is not an easy endavor for reporting and cross scripting
And adding custom variable for everything is not a solution and can get out of hand quickly if scaled up
Describe the solution you'd like
The following variables be made available for reporting and scripting:
Agent.task.TASKNAME.stdout give the last standard output of that particular task
Agent.task.TASKNAME.stderr give the last standard error of that particular task
Agent.task.TASKNAME.exitcode give the last exit code of that task
Agent.check.CHECKNAME.stdout Give the last standard output of a check
Agent.check.CHECKNAME.stderr Give the last standard error of a check
Agent.check.CHECKNAME.exitcode give the last exit code of that check.
Describe alternatives you've considered
A butload of manual work and with custom variable stringed together