Skip to content

wtanaka/ansible-role-monit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status CircleCI

wtanaka.monit

Installs monit

Example Playbook

- hosts: servers
  roles:
     - role: wtanaka.monit
       # monitor every 30 sec
       monit_daemon: 30
       # lets you run monit commands from command line
       monit_enable_http: True
       monit_eventqueue_slots: 100
       monit_eventqueue_enable: True

Or you can include just the role, and configure it in host vars file:

PLAYBOOK
- hosts: servers
  roles:
     - wtanaka.monit

HOST_VARS file:

monit_daemon: 30

monit_include_dirs

A list of directories to include as include statements in monitrc

Example:

monit_include_dirs:
- /etc/monit.d

monit_should_shortcircuit

Default: True

When True, this role short-circuits itself if a "monit" is already in the path

License

GPLv2

Author Information

http://wtanaka.com/