manala.sensu_go
#######################################################################################################
:exclamation: DEPRECATION :exclamation:
This repository and the associated role are no longer supported. Please use the Manala Ansible Collection.
For usage information, visit the collection repository.
#######################################################################################################
Ansible Role: Sensu Go [ 
:exclamation: Please report issues and submit Pull Requests in the main Ansible Role repository :exclamation:
This role is for setting up Sensu Go.
It's part of the Manala Ansible stack but can also be used on its own.
Requirements
This role is designed to work with the official sensu go packages, which you can find in the sensu go repository. Use the manala.apt role for proper package management.
manala_apt_preferences:
- sensu-go@sensu-go
Dependencies
None.
Installation
Ansible 2+
To install using the ansible galaxy command line:
ansible-galaxy install manala.sensu_go
To install using an ansible galaxy requirements file:
- src: manala.sensu_go
Role Handlers
Name | Type | Description |
---|---|---|
sensu go restart |
Service | Restarts all installed Sensu Go services |
Role Variables
Name | Default | Type | Description |
---|---|---|---|
manala_sensu_go_install_packages |
~ | Array | Packages required for installation |
manala_sensu_go_install_packages_default |
['sensu-go-backend', 'sensu-go-cli'] | Array | Default packages to install |
manala_sensu_go_backend |
false | Array | Additional package to install ('sensu-go-backend' if true) |
manala_sensu_go_backend_config_file |
/etc/sensu/backend.yml | String | Path to the backend configuration file |
manala_sensu_go_backend_config |
{} | Array | Configuration settings for the sensu backend |
manala_sensu_go_agent_config_file |
/etc/sensu/agent.yml | String | Path to the agent configuration file |
manala_sensu_go_agent_config |
{} | Array | Configuration settings for the sensu agent |
manala_sensu_go_services |
{} | Array | Start and enable Sensu services (sensu-backend, sensu-agent) |
Configuration example
Sensu Go backend
manala_sensu_go_backend: true
manala_sensu_go_backend_config:
- state-dir: /tmp
Sensu Go agent
manala_sensu_go_agent_config:
- backend-url: ['ws://127.0.0.1:8081']
- subscriptions: ['linux', 'mysql', 'foo']
Example playbook
- hosts: sensu
roles:
- { role: manala.sensu_go }
License
MIT
Author information
Manala (http://www.manala.io/)
Installa
ansible-galaxy install manala.sensu_go
Licenza
Unknown
Download
619
Proprietario
Manala is an open source project supported by the french web agency ELAO providing advanced ansible roles for website's infrastructures and far more.