Giter VIP home page Giter VIP logo

ansible-role-stackdriver's Introduction

Role Name

This Ansible role installs Google Stackdriver monitoring agent.

Install this directory in your role path under the name stackdriver:

git clone https://github.com/apham0001/ansible-role-stackdriver

Requirements

The Google Cloud monitoring API must be enabled.

Role Variables

By default, no plugins are enabled, in which case the agent will only monitor certain system resources. Each plugin is enabled with stackdriver_plugins Only supported plugins are availables in directory templates

vars:
  stackdriver_plugins:
    - apache

Apache

default host local-stackdriver-agent.stackdriver.com default port 80

To change default values use stackdriver_apache_host and stackdriver_apache_port

Memcached

default host localhost default port 11211

To change default values use stackdriver_memcached_host and stackdriver_memcached_port

Mysql

default host localhost default port 3306 default user stats

define mysql password with stackdriver_mysql_password To change others values use stackdriver_mysql_host and stackdriver_mysql_port and stackdriver_mysql_user

Nginx

default host local-stackdriver-agent.stackdriver.com default port 80

To change default values use stackdriver_nginx_host and stackdriver_nginx_port

Redis

default host localhost default port 6379

To change default values use stackdriver_redis_host and stackdriver_redis_port

If you have a password you can define password with stackdriver_redis_password

Example Playbook

vars:
  stackdriver_apache_host: "other_host"
  stackdriver_apache_port: "82"

roles:
  - apham0001.stackdriver

License

BSD / MIT

ansible-role-stackdriver's People

Watchers

James Cloos avatar Anthony PHAM 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.