Giter VIP home page Giter VIP logo

ansible-role-sensu_go's Introduction

#######################################################################################################

❗ DEPRECATION ❗

This repository and the role associated are deprecated in favor of the Manala Ansible Collection

You will find informations on its usage on the collection repository

#######################################################################################################

Ansible Role: Sensu Go [ Build Status

Report issues and send Pull Requests in the main Ansible Role repository

This role will deal with the setup of Sensu Go.

It's part of the Manala Ansible stack but can be used as a stand alone component.

Requirements

This role is made to work with the sensu go official packages, available on the sensu go repository. Please use the manala.apt role to handle it properly.

manala_apt_preferences:
  - sensu-go@sensu-go

Dependencies

None.

Installation

Ansible 2+

Using ansible galaxy cli:

ansible-galaxy install manala.sensu_go

Using ansible galaxy requirements file:

- src: manala.sensu_go

Role Handlers

Name Type Description
sensu go restart Service Restart all installed sensu go services

Role Variables

Name Default Type Description
manala_sensu_go_install_packages ~ Array Dependency packages to install
manala_sensu_go_install_packages_default ['sensu-go-backend', sensu-go-cli'] Array Default dependency packages to install
manala_sensu_go_backend false Array Additional package to install ('sensu-go-backend' if set to true)
manala_sensu_go_backend_config_file /etc/sensu/backend.yml String Path to backend config file
manala_sensu_go_backend_config {} Array Configuration directives for sensu-backend
manala_sensu_go_agent_config_file /etc/sensu/agent.yml String Path to agent config file
manala_sensu_go_agent_config {} Array Configuration directives for sensu-agent
manala_sensu_go_services {} Array Enable and start 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 }

Licence

MIT

Author information

Manala (http://www.manala.io/)

ansible-role-sensu_go's People

Contributors

greedybro avatar nervo avatar

Watchers

 avatar Guewen Faivre avatar Yves Heitz avatar Maxime COLIN avatar James Cloos avatar Robin Chalas avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.