Is there any way to have the agent to capture the command output on a Linux host? For example, I have a custom measure which could be run every minute and output to a log file. Now I would like Dynatrace to help ship the measured output to the central server, and add as a measure so that it could be plotted on a dashboard.
Can this be achieved?
Answer by Wolfgang G. ·
Is the output generated by an application instrumented with an agent? If yes, then you wouldn't need to capture the output and parse that, but could get the result directly from within the application
If not, the Generic Execution Plugin allows you to run a command on a host and send the processed output back to the Dynatrace server