amidaware / tacticalrmm

A remote monitoring & management tool, built with Django, Vue and Go.
https://docs.tacticalrmm.com
Other
2.92k stars 422 forks source link

new variables categories for reporting/cross scripting #1791

Open P6g9YHK6 opened 3 months ago

P6g9YHK6 commented 3 months ago

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