# Question on best way to monitor AWX deployed in kubernetes

**URL:** <https://forum.ansible.com/t/question-on-best-way-to-monitor-awx-deployed-in-kubernetes/36578>\
**Category:** AWX Project\
**Tags:** kubernetes, awx\
**Created:** [April 29, 2022, 9:39pm UTC](https://forum.ansible.com/t/question-on-best-way-to-monitor-awx-deployed-in-kubernetes/36578 "2022-04-29T21:39:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rake](https://avatars.discourse-cdn.com/v4/letter/r/8e8cbc/32.png) [@rake](https://forum.ansible.com/u/rake)\
**Post date:** [April 29, 2022, 9:39pm UTC](https://forum.ansible.com/t/question-on-best-way-to-monitor-awx-deployed-in-kubernetes/36578/1 "2022-04-29T21:39:51Z")

</div>

Can some one give ideas around how we can monitor AWX deployed with awx-operator in  
kubernetes. Especially some thing like below scenario

→ Where AWX jobs just spin for ever like status shows as waiting or pending.  
 → Postgres database gets filled up.  
 → Execution environments fail to start with CPU’s/pod’s dont get spin up.

Thanks,  
Rakesh Boinapally

---

<div class="post-metadata">

**Author:** ![rake](https://avatars.discourse-cdn.com/v4/letter/r/8e8cbc/32.png) [@rake](https://forum.ansible.com/u/rake)\
**Post date:** [May 19, 2022, 6:10am UTC](https://forum.ansible.com/t/question-on-best-way-to-monitor-awx-deployed-in-kubernetes/36578/2 "2022-05-19T06:10:52Z")

</div>

Any Guidance or Help would be much appreciated

---

<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:** [June 8, 2022, 8:37pm UTC](https://forum.ansible.com/t/question-on-best-way-to-monitor-awx-deployed-in-kubernetes/36578/3 "2022-06-08T20:37:29Z")

</div>

Hi, were you able to find a good monitoring setup?

There are a few built-in ways to monitor AWX, using the api/v2/metrics endpoint [https://docs.ansible.com/automation-controller/4.2.0/html/administration/metrics.html](https://docs.ansible.com/automation-controller/4.2.0/html/administration/metrics.html)

You can point a prometheus instance to scrape that endpoint, and maybe use grafana to display it nicely.

However, it doesn’t monitor database usage / disk usage. Maybe some tool exists to monitor a k8s persistent volume

AWX Team

---

<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:** [June 8, 2022, 9:00pm UTC](https://forum.ansible.com/t/question-on-best-way-to-monitor-awx-deployed-in-kubernetes/36578/4 "2022-06-08T21:00:27Z")

</div>

Also, you may look at the job\_lifecycle logs (LOG\_AGGREGATOR\_LEVEL needs to be DEBUG to see these) which will show information about why a job is blocked/pending and why it is not entering running state
