Git Product home page Git Product logo

stouts.graphite-beacon's Introduction

Stouts.graphite-beacon

Build Status Galaxy

Ansible role which manage Graphite-beacon

  • Install and configure Graphite-beacon

Variables

Here is the list of all variables and their default values:

graphite_beacon_enabled: yes                    # The role is enabled

# Setup options
graphite_beacon_graphite_url: "http://localhost"
graphite_beacon_auth_username:
graphite_beacon_auth_password:
graphite_beacon_pidfile:  "/opt/graphite/beacon/beacon.pid"
graphite_beacon_interval: 10minute
graphite_beacon_logging: info
graphite_beacon_method: average
graphite_beacon_prefix: "[BEACON]"
graphite_beacon_handlers: [log, smtp]
graphite_beacon_critical_handlers: "{{graphite_beacon_handlers}}"
graphite_beacon_warning_handlers: "{{graphite_beacon_handlers}}"
graphite_beacon_normal_handlers: "{{graphite_beacon_handlers}}"
graphite_beacon_repeat: 2hour
graphite_beacon_format: short
graphite_beacon_send_initial: no

# SMTP Options
graphite_beacon_smtp_from: "beacon@{{inventory_hostname}}"
graphite_beacon_smtp_to: []
graphite_beacon_smtp_host: "localhost"
graphite_beacon_smtp_port: 25
graphite_beacon_smtp_username:
graphite_beacon_smtp_password:
graphite_beacon_smtp_use_tls: no
graphite_beacon_smtp_graphite_url: "{{graphite_beacon_graphite_url}}"

# HipChat options
graphite_beacon_hipchat_room:
graphite_beacon_hipchat_key:

# Slack options
graphite_beacon_slack_woobhook:
graphite_beacon_slack_channel:
graphite_beacon_slack_username: graphite-beacon

# Place your alerts
graphite_beacon_alerts: []

Usage

Add Stouts.graphite-beacon to your roles and setup the variables in your playbook file. Example:

- hosts: all

  roles:
    - Stouts.graphite-beacon

  vars:
    graphite_beacon_graphite_url:  http://127.0.0.1:8080
    graphite_beacon_logging: debug
    graphite_beacon_smtp_from: beacon@graphite
    graphite_beacon_smtp_to: [[email protected]]
    graphite_beacon_alerts:
    - name: Memory
      query: aliasByNode(*.memory.memory-free, 0)
      interval: 5minute
      rules:
      - critical: < 100MB
      - warning: < 200MB

License

Licensed under the MIT License. See the LICENSE file for details.

Feedback, bug-reports, requests, ...

Are welcome!

stouts.graphite-beacon's People

Contributors

klen avatar

Watchers

 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.