GithubHelp home page GithubHelp logo

h0we / ansible-monitoring Goto Github PK

View Code? Open in Web Editor NEW

This project forked from imrein/ansible-monitoring

0.0 0.0 0.0 66 KB

Role to setup monitoring tools (grafana, prometheus, node_exporter, loki & promtail).

License: MIT License

ansible-monitoring's Introduction

Monitoring ansible setup

Role to setup a new monitoring server. This stack is modular and comes with:

  • Grafana
  • Prometheus
  • Node_exporter
  • Loki
  • Promtail

This has been tested on:

  • RHEL based distros
  • Debian
  • Ubuntu

Requirements

A machine with an SSH connection.

Role Variables

The variables are defined in defaults/main.yml. These should be configured as needed:

Variable Default Info
hostname grafana-server Hostname of the system
download_location /tmp Download location
packages [] General packages that should be installed
---
prometheus_install true Should prometheus be installed?
prometheus_user prometheus User for prometheus installation
---
exporter_install true Should node_exporter be installed?
exporter_user node_exporter User for node_exporter installation
---
loki_install true Should loki be installed?
loki_user loki User for loki installation
---
promtail_install true Should promtail be installed?
promtail_user promtail User for promtail installation

Warnings

The ports can also be changed for more security (might be a future variable).

Example playbook

---
- name: test playbook
  hosts: general

  roles:
  - role: ansible-monitoring

ansible-monitoring's People

Contributors

imrein avatar renovate[bot] 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.