# Dynatrace Synthetic monitor of AWX job

**URL:** <https://forum.ansible.com/t/dynatrace-synthetic-monitor-of-awx-job/38193>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [July 5, 2023, 9:01pm UTC](https://forum.ansible.com/t/dynatrace-synthetic-monitor-of-awx-job/38193 "2023-07-05T21:01:43Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kevin\_Knox](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/kevin_knox/32/3926_2.png) [@Kevin\_Knox](https://forum.ansible.com/u/Kevin_Knox)\
**Post date:** [July 5, 2023, 9:01pm UTC](https://forum.ansible.com/t/dynatrace-synthetic-monitor-of-awx-job/38193/1 "2023-07-05T21:01:43Z")

</div>

It’s a beautiful thing to have Dynatrace calling the REST API of AWX to make things happen, but Dynatrace does not do asynchronous calls. It cannot delay anything, so the /launch call returns from AWX in millis and gets marked a success in Dynatrace without regard to whether the job succeeded or not.

I can make Dynatrace parse the job number from the /launch and call back to get the status of the job, but 30ms later, the job is always running (or pending or something). I cannot make Dynatrace wait the necessary 4+ seconds for a result. We’ve built wait loops in OpenShift and Powershell for this, but I cannot build a wait loop into Dynatrace since it’s all JavaScript (without the Promise/await options).

I see no way to do this, except to build an external service that proxies the launch of the AWX job and blocks until finished. Am I missing something? It sure seems like a service option more than one person would value. I know I don’t relish maintaining a second web site to call AWX, but I know my customers would LOVE not having to do the whole parse and wait loop.

---

<div class="post-metadata">

**Author:** ![Walter\_Rowe](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/walter_rowe/32/4506_2.png) [@Walter\_Rowe](https://forum.ansible.com/u/Walter_Rowe)\
**Post date:** [July 6, 2023, 11:18am UTC](https://forum.ansible.com/t/dynatrace-synthetic-monitor-of-awx-job/38193/2 "2023-07-06T11:18:11Z")

</div>

Isn’t this really a Dynatrace issue? Should you open a case with Dynatrace and ask for the feature you need it to have?

Walter

---

<div class="post-metadata">

**Author:** ![Kevin\_Knox](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/kevin_knox/32/3926_2.png) [@Kevin\_Knox](https://forum.ansible.com/u/Kevin_Knox)\
**Post date:** [July 6, 2023, 11:28am UTC](https://forum.ansible.com/t/dynatrace-synthetic-monitor-of-awx-job/38193/3 "2023-07-06T11:28:44Z")

</div>

This information is output from the Dynatrace issue I opened. Having a synchronous way of launching a job would be an AWX feature. We’ve built the loop and wait functions and they work, but they’re unpleasant. This feature would be loved.

Kevin

---

<div class="post-metadata">

**Author:** ![AWX\_Project](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@AWX\_Project](https://forum.ansible.com/u/AWX_Project)\
**Post date:** [July 7, 2023, 5:11pm UTC](https://forum.ansible.com/t/dynatrace-synthetic-monitor-of-awx-job/38193/4 "2023-07-07T17:11:46Z")

</div>

Hello,  
You may want to look into eda-server, which you can view here: [https://github.com/ansible/eda-server](https://github.com/ansible/eda-server) This may be helpful. Please let us know if it does help!

- AWX Team

---

<div class="post-metadata">

**Author:** ![Kevin\_Knox](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/kevin_knox/32/3926_2.png) [@Kevin\_Knox](https://forum.ansible.com/u/Kevin_Knox)\
**Post date:** [July 7, 2023, 8:40pm UTC](https://forum.ansible.com/t/dynatrace-synthetic-monitor-of-awx-job/38193/5 "2023-07-07T20:40:02Z")

</div>

Thank you. This is exactly what I was hoping to hear existed. I sure wish I had the skills to be sure I could run with it. It’s Docker-only and I’m stuck with Openshift-only. A skilled admin might be able to recompile everything, but I’m not that guy. :-/

Kevin

---

<div class="post-metadata">

**Author:** ![AWX\_Project](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@AWX\_Project](https://forum.ansible.com/u/AWX_Project)\
**Post date:** [July 7, 2023, 9:15pm UTC](https://forum.ansible.com/t/dynatrace-synthetic-monitor-of-awx-job/38193/6 "2023-07-07T21:15:54Z")

</div>

o/ Kevin,

If you are looking to install eda-server on Openshift, there is an operator for doing so. If you are an AAP customer, you can use the built-in EDA operator; if not, there is an upstream here:

- [https://github.com/ansible/eda-server-operator](https://github.com/ansible/eda-server-operator)

There are docs in the top level README.md for installing the operator on your cluster and deploying EDA.

Thanks,  
AWX Team
