Coder Social home page Coder Social logo

deploy_collectd's Introduction

mist.io monitoring playbooks

This repo contains all the ansible playbooks and scripts used by mist.io to enable server monitoring.

Currently supported distros are recent versions of:

  • Debian based distros: Tested with debian and ubuntu
  • RedHat based distros: Tested with Fedora, RHEL, CentOS, Amazon
  • Suse based distros: Tested with Suse, openSuse
  • FreeBSD

ansible/enable.yml

Installs collectd on the target machines for mist.io monitoring.

Params:

  • uuid: machine unique identifier assigned by mist.io. Required.
  • password: machine password to encrypt collectd traffic, assigned by mist.io. Required.
  • monitor: monitor server host/ip where collectd will send data to. Optional, defaults to monitor1.mist.io.
  • hosts: Run the playbook on machines found in the inventory file, matching hosts. Optional, defaults to all.

ansible/disable.yml

Disables mist.io monitoring on tharget machines by stopping collectd and removing any relevant cronjobs.

Params:

  • hosts: Run the playbook on machines found in the inventory file, matching hosts. Optional, defaults to all.

local_run.py

Enables mist.io monitoring on localhost. It will create a temporary directory and set up a virtualenv with all required dependencies in order to enable monitoring.

usage: local_run.py [-h] [-m MONITOR_SERVER] [--no-check-certificate]
                    uuid password

Deploy mist.io CollectD on localhost.

positional arguments:
  uuid                  Machine uuid assigned by mist.io.
  password              Machine password assigned by mist.io, used to
                        sign/encrypt CollectD data.

optional arguments:
  -h, --help            show this help message and exit
  -m MONITOR_SERVER, --monitor-server MONITOR_SERVER
                        Remote CollectD server to send data to.
                        (default: monitor1.mist.io)
  --no-check-certificate
                        Don't verify SSL certificates when fetching
                        dependencies from HTTPS. (default: False)

deploy_collectd's People

Contributors

dimrozakis avatar d-mo avatar dastergon avatar commixon avatar

Watchers

James Cloos 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.