Git Product home page Git Product logo

ansible-instrumentald's Introduction

InstrumentalD role for Ansible

GitHub workflow status Ansible quality score Ansible role Maintenance Release License

Install and configure InstrumentalD on RHEL/CentOS-based and Ubuntu systems

Buy me a coffee

Quick start

Installation

ansible-galaxy install ayltai.instrumentald

Usage

---
- hosts: all
  roles:
    - ayltai.instrumentald
  vars:
    instrumental_api_key: replace_me

Variables

Name Default Description
instrumental_api_key replace_me Your Instrumental account API key.
instrumentald_docker_sockets [] The socket address of the Docker instances to be monitored.
instrumentald_memcached_urls [] The URL of the Memcached instances to be monitored.
instrumentald_mongodb_urls [] The URL of the MongoDB instances to be monitored.
instrumentald_mysql_urls [] The URL of the MySQL instances to be monitored.
instrumentald_nginx_urls [] The URL of the Nginx instances to be monitored.
instrumentald_postgresql_urls [] The URL of the PostgreSQL instances to be monitored.
instrumentald_redis_urls [] The URL of the Redis instances to be monitored.
instrumentald_package_name instrumentald_1.1.1_linux-x86_64 The package name of InstrumentalD to be installed.

Development

This project uses Docker to create an unified environment for development.

Install Docker

Download and install Docker from here.

Build Docker image

docker build --tag instrumentald:latest .

Run Docker container

docker run \
--privileged \
-v $(pwd):/ansible-instrumentald \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /sys/fs/cgroup:/sys/fs/cgroup:ro \
-it --rm \
instrumentald:latest

Now you have a shell running on a system with all the necessary tools installed.

Install dependencies

In the Docker container, run:

pip3 install -r requirements.txt

Unit testing

In the Docker container, run:

molecule test

License

MIT

References

ansible-instrumentald's People

Contributors

ayltai avatar

Watchers

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