[GH-ISSUE #1791] new variables categories for reporting/cross scripting #1116

Open
opened 2026-03-02 02:21:16 +03:00 by kerem · 0 comments
Owner

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

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
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#1116
No description provided.