Ansible role which installs monit monitoring and management tool (and attaches it to ssh, cron, ntpd).
- Tested on Ansible 1.4 or higher.
monit_notify_email: "me@localhost"
monit_logfile: "syslog facility log_daemon"
monit_poll_period: 60
monit_poll_start_delay: 120
monit_eventqueue_directory: "/var/lib/monit/events"
monit_eventque_slots: 100
monit_mailformat_from: "monit@{{inventory_hostname}}"
monit_mailformat_subject: "$SERVICE $EVENT"
monit_mailformat_message: "Monit $ACTION $SERVICE at $DATE on $HOST: $DESCRIPTION."
monit_mailserver_host: "localhost"
# monit_mailserver_port:
# monit_mailserver_username:
# monit_mailserver_password:
# monit_mailserver_encryption:
monit_mailserver_timeout: 60
monit_port: 3737
monit_address: "localhost"
monit_allow: ["localhost"]
# monit_username:
# monit_password:
monit_ssl: no
monit_cert: "/etc/monit/monit.pem"
Licensed under the MIT License. See the LICENSE file for details.
Are welcome!