ansible-monit
monit - a small Open Source utility for managing and monitoring Unix systems. Monit conducts automatic maintenance and repair and can execute meaningful causal actions in error situations.
Important
This playbook is no longer maintained. Recommended alternatives:
- [PM2] for
node.js
applications (eye is a good fit here too, butPM2
has some nice extras for node) - eye for anything else.
Tunables
monit_user
(string) - User to run monit asmonit_poll_rate
(integer) - How often to check processes being monitored?monit_log_root
(string) - Directory for logsmonit_log_path
(string) - Path for log file
Dependencies
Example Playbook
- hosts: servers
roles:
- role: colstrom.monit
monit_user: root
monit_poll_rate: 15
License
Contributors
- Chris Olstrom | e-mail | Twitter
- Aaron Pederson