piwi3910.ansible_role_monit

[Build Status]

piwi3910.monit

Installs monit

Example Playbook

- hosts: servers
  roles:
     - role: piwi3910.monit
       # check every 30 seconds
       monit_daemon: 30
       # allows you to run monit commands from the command line
       monit_enable_http: True
       monit_eventqueue_slots: 100
       monit_eventqueue_enable: True

Alternatively, you can just use the role and set it up in the host variables file:

PLAYBOOK
- hosts: servers
  roles:
     - piwi3910.monit

In the HOST_VARS file:

monit_daemon: 30

monit_include_dirs

A list of directories to add as include statements in monitrc

Example:

monit_include_dirs:
- /etc/monit.d

monit_should_shortcircuit

Default: True

When set to True, this role will skip execution if "monit" is already installed in the path.

License

GPLv2

Informazioni sul progetto

Install monit

Installa
ansible-galaxy install piwi3910.ansible_role_monit
Licenza
Unknown
Download
315
Proprietario