Ansible Sensu
An Ansible role that deploys a full Sensu stack, a modern, open source monitoring framework.
Features
- Deploy a full Sensu stack, including RabbitMQ, redis, and the Uchiwa dashboard
- Tight integration with the Ansible inventory - deployment of monitoring checks based on inventory grouping
- Fine grained control over dynamic client configurations
- Remote plugin deployment
- Automatic generation and dynamic deployment of self-signed SSL certs for secure communication between your clients and servers
- Highly configurable
Batteries included, but not imposed
Along with deploying the Sensu Server, API and clients, this role can deploy a full stack: RabbitMQ, redis, and the Uchiwa dashboard. However, if you want to rely on other roles/management methods to deploy/manage these services, it's nice and easy to integrate this role.
Requirements
This role requires Ansible 2.5
Supported Platforms
Automatically tested via TravisCI
- CentOS - 6
- CentOS - 7
- Debian - 8 (Jessie)
- Debian - 9 (Stretch)
- Ubuntu - 14.04 (Trusty Tahr)
- Ubuntu - 16.04 (Xenial Xerus)
- Ubuntu - 18.04 (Xenial Xerus)
- Fedora - 26
- Fedora - 27
- Fedora - 28
- Amazon Linux
- Amazon Linux 2
- OracleLinux - 7
Supported manually (compatibility not always guaranteed)
Role Variables
All variables have sensible defaults, which can be found in defaults/main.yml
.
Head over to the role variables page to review them
Install (Ansible Galaxy)
To install this role from Ansible Galaxy, simpy run:
ansible-galaxy install sensu.sensu
Example Playbook
- hosts: all
roles:
- role: sensu.sensu
Or, passing parameter values:
- hosts: sensu_masters
roles:
- role: sensu.sensu
sensu_master: true
sensu_include_dashboard: true
License
Author Information
Originally created by Calum MacRae Supported by the Sensu Community Ansible Maintainers
Contributors
See the projects Contributors page
Feel free to: