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

Run a workflow to check oneagent version

Nathanieltat
Visitor

Im wanting to run a workflow task to check oneagent updates and if they are upto date sends out an Successful email with the ones updated and if not up to date sends out a non successful email with the list of ones that are not up to date but cannot find a DQL query for oneagent versions. Is there a way to use SRG to do this? 

3 REPLIES 3

In DQL you can use the installerVersion field on the host entity to see what the OneAgent version is.

fetch dt.entity.host
| fieldsAdd installerVersion

I hope this helps. 

That works perfectly thank you, is there a way to check what the newest one agent version is and compare it to that list that generates if its up to date send out a successful email if its not up to date send out an unsuccessful email like the attached workflow

you can try to build a JS using clusterVersionClient.getVersion();
https://developer.dynatrace.com/develop/sdks/client-classic-environment-v1/#clusterversionclient

Featured Posts