Giter Club home page Giter Club logo

ansible-datadog-haproxy-role's Introduction

An Ansible role to setup and configure the HAProxy integration for the Datadog Agent

The Datadog.datadog role maintained by Datadog is great, but it does not attempt to configure monitored services for monitoring, and in order to have it configure multiple integrations, you would either have to duplicate your configs a lot, or do tricky things with Ansible variables which you shouldn't be doing and aren't worth your time.

This role provides an alternate way to setup a target machine and its Datadog agent to monitor HAProxy.

Installation

It is strongly recommended that the Datadog.datadog role is used to install the agent.

This integration requires HAProxy be configured to expose a stats endpoint over http. The datadog integration's configuration provided in the role's defaults will work with a block such as

listen stats # Define a listen section called "stats"
    bind :9000 # Listen on localhost:9000
    mode http
    stats enable  # Enable stats page
    stats hide-version  # Hide HAProxy version
    stats realm Haproxy\ Statistics  # Title text for popup window
    stats uri /haproxy_stats  # Stats URI
    stats auth datadog:changeme  # Authentication credentials

although the password should very much be changed.

Consult this role's defaults for variables names.

ansible-datadog-haproxy-role's People

Contributors

schlueter avatar

Watchers

 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.