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.

Reply via email to