cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Can a 'generic execution plugin' execute a shell script that returns multiple rows?

Fred_M_Shimaya
Newcomer

I am very new to plugin development. I have a shell script that returns values for multiple rows. Can the 'generic execution plugin' handle multiple rows of values?

3 REPLIES 3

Julius_Loman
Leader

I'm not quite sure what do you mean by "generic execution plugin". There is no such functionality in Dynatrace (maybe in Appmon).
In Dynatrace you can build Oneagent plugins using python. You can execute shell script from the plugin python code, parse those values and return them as appropriate metrics. But there is no such plugin out-of-box. You will need to write yours.

Fred_M_Shimaya
Newcomer

I guess it's in Appmon. I thought it was available in Dynatrace (Managed): https://github.com/Dynatrace/Dynatrace-Generic-Execution-Plugin

Julius_Loman
Leader

Uhm, you are correct, this is for Dynatrace (not Appmon). I wasn't aware this exists. However, it seems this plugin sends the metrics to the Host entity. This is (at least it was) not enabled by default for tenants. So it depends on the Feature Flag value for you tenant whether you see the metrics or not.