# Sending job failure notifications to Grafana dashboard

**URL:** <https://forum.ansible.com/t/sending-job-failure-notifications-to-grafana-dashboard/1793>\
**Category:** Get Help\
**Tags:** awx\
**Created:** [October 19, 2023, 6:23am UTC](https://forum.ansible.com/t/sending-job-failure-notifications-to-grafana-dashboard/1793 "2023-10-19T06:23:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![amvj](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/amvj/32/383_2.png) [@amvj](https://forum.ansible.com/u/amvj)\
**Post date:** [October 19, 2023, 6:23am UTC](https://forum.ansible.com/t/sending-job-failure-notifications-to-grafana-dashboard/1793/1 "2023-10-19T06:23:59Z")

</div>

Hi,

I would like to send job failure notifications from AWX to Grafana dashboard (Grafana version 8.4). In the Grafana side, should I need to configure datasource (Postgres) or just creating a dashboard is enough ?

On the AWX side, I will provide Grafana URL, API key.

Since this is kind of a push mechanism (AWX to Grafana), I don’t see the point of creating datasource in Grafana. Please help me to clarify this. Are there any KB articles for the same ?

There is one article on this subject in Ansible site but does not have full information.  
[https://docs.ansible.com/ansible-tower/latest/html/userguide/notifications.html#grafana](https://docs.ansible.com/ansible-tower/latest/html/userguide/notifications.html#grafana)

---

<div class="post-metadata">

**Author:** ![TheRealHaoLiu](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/therealhaoliu/32/100_2.png) [@TheRealHaoLiu](https://forum.ansible.com/u/TheRealHaoLiu)\
**Post date:** [December 6, 2023, 8:00pm UTC](https://forum.ansible.com/t/sending-job-failure-notifications-to-grafana-dashboard/1793/2 "2023-12-06T20:00:42Z")

</div>

Hi @amvj the doc you link is for tower 3.8 which is… ancient

[https://ansible.readthedocs.io/projects/awx/en/latest/userguide/notifications.html#grafana](https://ansible.readthedocs.io/projects/awx/en/latest/userguide/notifications.html#grafana)

here’s the latest doc on the topic.

---

<div class="post-metadata">

**Author:** ![wheeljack](https://avatars.discourse-cdn.com/v4/letter/w/838e76/32.png) [@wheeljack](https://forum.ansible.com/u/wheeljack)\
**Post date:** [December 21, 2023, 9:32pm UTC](https://forum.ansible.com/t/sending-job-failure-notifications-to-grafana-dashboard/1793/3 "2023-12-21T21:32:36Z")

</div>

@TheRealHaoLiu  
@amvj  
While that doc does show the few steps to set up a grafana notification in AWX - I believe the original question was more to do with how does grafana accept the incoming data from AWX?

There is no such data source plugin in grafana to add ansible

---

<div class="post-metadata">

**Author:** ![johan](https://avatars.discourse-cdn.com/v4/letter/j/dec6dc/32.png) [@johan](https://forum.ansible.com/u/johan)\
**Post date:** [November 13, 2024, 3:55pm UTC](https://forum.ansible.com/t/sending-job-failure-notifications-to-grafana-dashboard/1793/4 "2024-11-13T15:55:27Z")

</div>

Hello,  
I played a bit, and managed to retrieve the notifications sent from AAP/AWX after setting up a grafana-testdata-datasource; then you can explore in Scenario =\> Grafana API, Endpoint =\> Annotations to retrieve the messages. Not sure however this is a reliable way to exploit all these messages, I fell the messages should be sent to a third party source, and then queried by Grafana.
