If you are looking to learn, one of the first things I learned to do, was I
wrote a playbook, that would set up everything I needed when I would load
an OS on one of my Raspberry Pi devices.

--John

On Mon, Jul 18, 2022 at 4:24 PM Amit Das <[email protected]> wrote:

> Thank you for your suggestion. We already have Dynatrace at work.
> For my learning purposes, I wanted to write a playbook.
>
> Kind regards,
> Amit
>
> On Mon, 18 Jul 2022 at 22:01, Dick Visser <[email protected]> wrote:
>
>> On Mon, 18 Jul 2022 at 20:18, Amit Das <[email protected]> wrote:
>> >
>> > Dear All,
>> >
>> > I am relatively new to Ansible. Could someone please guide me on
>> writing a playbook which runs hourly to monitor the disk space and
>> generates an email alert if the threshold is breached?
>>
>> Ansible is a configuration management tool. You should not waste
>> effort trying to shoehorn ansible into some home grown service
>> monitoring tool.
>> Instead, use a dedicated service monitoring tool for that job.
>> Picking the right one is outside the scope of this list, but there is
>> plenty of information out there, take a look at zabbix, nagios, etc.
>>
>> --
>> 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/CAF8BbLa1PDhep9dOqhjK7GdnV8y%3DzGOYRM26e7LsuQhqCxkf8A%40mail.gmail.com
>> .
>>
> --
> 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/CALEnQg-MVLZLm--YeEiRZkPje9nG8SpirogNYooxKxJ0abN6iw%40mail.gmail.com
> <https://groups.google.com/d/msgid/ansible-project/CALEnQg-MVLZLm--YeEiRZkPje9nG8SpirogNYooxKxJ0abN6iw%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/CAPAjob_MyYYFwgQGy04DkuU-mGcue%2BauJZsvy0DP4yq_4ccNKA%40mail.gmail.com.

Reply via email to