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?"*

On Monday, 22 March 2021 at 05:14:19 UTC Ankit wrote:

> 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.
>
> On Mon, Mar 22, 2021, 1:14 AM Saravanan Ponnusamy <[email protected]> 
> wrote:
>
>> Hi Ankit,
>> Thanks for sharing the details. Do you have a sample Ansible playbook to 
>> connect to the Prometheus? 
>>
>> Regards
>> Saravanan 
>>
>>
>> On Mon, Mar 8, 2021 at 1:37 AM Ankit Vashistha <[email protected]> 
>> wrote:
>>
>>> Hello,
>>>
>>> Check this: 12. Metrics — Ansible Tower Administration Guide v3.8.1 
>>> <https://docs.ansible.com/ansible-tower/latest/html/administration/metrics.html>
>>>
>>> *Regards,* 
>>> *Ankit*
>>>
>>>
>>> On Thu, Mar 4, 2021 at 1:22 AM Saravanan Ponnusamy <[email protected]> 
>>> wrote:
>>>
>>>> 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 
>>>>
>>>> -- 
>>>> 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 [email protected].
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/ansible-project/CAMLxZaNmUHQ-%2B104uZ5Q9BoUZvghGq-YEm%2BoTt2%2Bz8LQZSkXNQ%40mail.gmail.com
>>>>  
>>>> <https://groups.google.com/d/msgid/ansible-project/CAMLxZaNmUHQ-%2B104uZ5Q9BoUZvghGq-YEm%2BoTt2%2Bz8LQZSkXNQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>> -- 
>>> 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 [email protected].
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/ansible-project/CACecUhudHMwimbD7eLccU5VyGL0ksgj2oLrfaYsLDRh6ZK%3DCDA%40mail.gmail.com
>>>  
>>> <https://groups.google.com/d/msgid/ansible-project/CACecUhudHMwimbD7eLccU5VyGL0ksgj2oLrfaYsLDRh6ZK%3DCDA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> -- 
>> 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 [email protected].
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/ansible-project/CAMLxZaOp-5UwsHLGEzLmgtuMU2r%3DQgm1xN6Tb-LTiVrvwjbaDQ%40mail.gmail.com
>>  
>> <https://groups.google.com/d/msgid/ansible-project/CAMLxZaOp-5UwsHLGEzLmgtuMU2r%3DQgm1xN6Tb-LTiVrvwjbaDQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/526d6c03-673e-4ddb-824f-76f8406c945bn%40googlegroups.com.

Reply via email to