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

Scheduler on OneAgent monitored Host

RamkumarTIH
Participant

Hi,

We have requirement to schedule/run custom scripts on OneAgent monitored hosts.

We dont want to use the OS native schedulers like Task scheduler/cron. Is there a way to schedule/run the scripts via OneAgent on the host (Windows server) like building custom extensions,  etc?

 

1 REPLY 1

Julius_Loman
DynaMight Legend
DynaMight Legend

The only method to execute anything from OneAgent is a OneAgent extension. With the Python code extensions, it's certainly possible to have any command executed automatically. You need to develop your extension (Extension SDK for Python has build in scheduler too). Writing it from scratch might require some learning curve and effort. If you are new to Python extension development, I recommend this video before jumping into it - docs are here - for the reference.

 There is no other way of executing any command from OneAgent than your own Python extension.

Dynatrace Ambassador | Alanata a.s., Slovakia, Dynatrace Master Partner
The #Dynatrace Extensions SDK for Python is a new Python library and toolbox for building Python extensions for Extensions Framework 2.0. It provides a ready-to-use template and a set of tools to build, test, package, and ship your extension. Watch this hands-on tutorial where David Lopes ...

Featured Posts