Hello:
There is a server that I can make a call to using API that returns that status of that Applications agents.
The format of the call is:
<server>:8088/ae/api/v1/<client>/system/agents
I am then prompted for username and password.
The results are in JSON format
(The data in example was scrubbed except for the part in red I need to alert on.)
{
“data” : [ {
“active” : true,
“data1” : “value1”,
“data2” : “value2”,
“data3” : “value3”,
“data4” : value4,
“data5” : “value5”,
“data6” : “value6”,
“data7” : “value7”,
“data8” : value8,
“data9” : “value9”,
“data10” : value10,
“data11” : value11
} ],
“hasmore” : false
}
My question are as follows:
How do I set up something in Dynatrace to go out and do a query, parse the results, and the alert on some of the fields if I get a value other than true?
Is synthetic transaction able to do all of that (parse the results and trigger on certain values)?
Would it be easier to do in with Dynatrace and something such as PowerShell? Such as a PowerShell script incorporated with Dyantrace?
How is that done?
Please advise and thank you for your insight on this matter ![]()
Thanks,
-C