How to send ansible tower metrics to prometheus

298 views
Skip to first unread message

Saravanan Ponnusamy

unread,
Mar 3, 2021, 2:52:50 PM3/3/21
to ansible...@googlegroups.com
Hi Ansible experts,
We are trying to push Ansible metrics to Prometheus and create a Grafana dashboard.
Can you please provide a sample playbook/ note to hook up Ansible metrics to Prometheus?

Regards
Saravanan

Dick Visser

unread,
Mar 3, 2021, 3:31:59 PM3/3/21
to ansible...@googlegroups.com
This list is for support on ansible. You might try the dedicated awx
list instead.
Or even better, for Tower contact Redhat support.
> --
> You received this message because you are subscribed to the Google Groups "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAMLxZaNmUHQ-%2B104uZ5Q9BoUZvghGq-YEm%2BoTt2%2Bz8LQZSkXNQ%40mail.gmail.com.



--
Dick Visser
Trust & Identity Service Operations Manager
GÉANT

Ankit Vashistha

unread,
Mar 8, 2021, 1:37:53 AM3/8/21
to Ansible Project

--

Saravanan Ponnusamy

unread,
Mar 21, 2021, 3:44:54 PM3/21/21
to ansible...@googlegroups.com
Hi Ankit,
Thanks for sharing the details. Do you have a sample Ansible playbook to connect to the Prometheus? 

Regards
Saravanan


Ankit Vashistha

unread,
Mar 22, 2021, 1:14:19 AM3/22/21
to Ansible Project
Hello,

I don't have a playook however, if you want to collect and send the metrics from tower/awx, you might have to write a script for that. Please also see if the external logging is helpful.

phil.gr...@gmail.com

unread,
Mar 22, 2021, 2:07:38 PM3/22/21
to Ansible Project
You don't need a script this can all be done with Ansible - you should be able to replay the session I recorded for https://events.redhat.com/profile/form/index.cfm?PKformID=0x183978abcd
"Hello Ansible Tower! - How's Your Health?"

Ankit Vashistha

unread,
Apr 18, 2021, 3:44:41 AM4/18/21
to Ansible Project
Hi Phil,

I am not able to access the video. Is there any other way to access the content?

I can only see the agenda but can't access any videos in it.

Regs
Ankit

Phil Griffiths

unread,
Apr 19, 2021, 6:01:07 AM4/19/21
to ansible...@googlegroups.com
Hi Ankit

There should be a register option as well? If you use that you get access to the full back catalogue of recordings as well as mine.

Regards
Phil.

You received this message because you are subscribed to a topic in the Google Groups "Ansible Project" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ansible-project/VBOdbWcei_Q/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/526d6c03-673e-4ddb-824f-76f8406c945bn%40googlegroups.com.

Ankit

unread,
Apr 19, 2021, 10:02:52 AM4/19/21
to Ansible Project
Thanks Phil, i will check it.
Reply all
Reply to author
Forward
0 new messages