GithubHelp home page GithubHelp logo

ansible-role-shinken's Introduction

shinken

Build Status

Install shinken package.

Clean default package configuration, except daemons. All objects can be defined, using Shinken configuration structures.

No configuration checks are added with this role, it's the Shinken arbiter job

Requirements

This role requires Ansible 2.0 or higher, and platform requirements are listed in the metadata file.

Testing

This role contains two tests methods :

  • locally using Vagrant
  • automatically with Travis Not working due to paths used by Travis box :/

Testing dependencies

Running tests

Run playbook and test

  • if Vagrant box not running

    $ vagrant up

  • if Vagrant box running

    $ vagrant provision

How ...

Before using this role, you should read the the vars file used by tests file, and the default files to check all needed examples.

Configure daemons (.ini)

The shinken_daemon_defaults contains the base settings for all daemons, and they can be overloaded with specific daemon settings, with these vars :

  • shinken_brokerd
  • shinken_pollerd
  • shinken_reactionnerd
  • shinken_receiverd
  • shinken_schedulerd

Define objects

All objects are defined by a dictionnaries list, using shinken keys names. You can find examples in the vars file used by tests. Daemon definitions are in the default files.

Some exeptions, escalations and dependencies have escalation_name and dependency_name additional keys to manage their file name.

Install modules or packs

You can manage pack or module installation, from shinken.io or a git repository if you want. Variables are shinken_modules and shinken_packs.

shinken_packs:
  - name: 'linux-snmp'
    method: 'shinken_io'
  - name: 'pack-linux-ssh'
    method: 'custom_git'
    install:
      repo: 'https://github.com/Temelio/pack-linux-ssh.git'
      version: 'waiting_pr'

Role Variables

Default role variables

Too many, see the default files.

Specific ubuntu variables

shinken_system_dependencies:
  - nagios-plugins
  - python-pip
  - python-pycurl
  - python-setuptools

Dependencies

None

Example Playbook

- hosts: servers
  roles:
     - { role: achaussier.shinken }

License

MIT

Author Information

Alexandre Chaussier (for Temelio company)

ansible-role-shinken's People

Contributors

achaussier 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.