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

Execute a script

ssamraj
Helper

Hi Team,

 

Is it possible to invoke a script located on the host at periodic intervals using DT oneagent? Preferably on AIX and Linux OS.

 

Thanks in advance.

2 REPLIES 2

andre_vdveen
DynaMight Champion
DynaMight Champion

Hi, no you cannot invoke a script using the OneAgent directly. But if you have a 3rd-party tool that can invoke a script, you can use the Dynatrace APIs to trigger an event to that tool to invoke a script, as an example.

skrystosik
DynaMight Guru
DynaMight Guru

You can do some tasks on machine itself using OneAgent python plugin. As long you can access something from python code you should be able to do that. As a result you have to send back to server some metric. This is not the way it should be done but it is possible. 

 

Regards, Sebastian

Featured Posts