GithubHelp home page GithubHelp logo

epfl-dojo / monitoringrafana Goto Github PK

View Code? Open in Web Editor NEW
6.0 4.0 1.0 454 KB

A docker-compose example to monitor a local computer with Grafana, Prometheus and node-exporter.

Makefile 100.00%
docker docker-compose grafana prometheus node-exporter

monitoringrafana's Introduction

MonitorinGrafana

A docker compose example to monitor a local computer with Grafana, Prometheus, its alert manager and node-exporter.

Setup

Installation

make up

Grafana configuration

Data source

Open a browser and connect to http://localhost:3000

On the homepage, select configuration โ†’ Data Source

Add new data source

Choose Prometheus

On the configuration panel, set the access method to "Browser". Just keep the default url http://localhost:9090

Save and test.

Dashboard

Go to Dashboard โ†’ Manage

Click on Import

Type 1860https://grafana.com/grafana/dashboards/1860-node-exporter-full/ and Load

Select prometheus as the data source and Import.

So now, you have a fully working monitoring board. Enjoy !

Alert manager

Before anything, copy the alertmanager/config.sample.yml to alertmanager/config.yml and change the bot's token and the chat_id. The ./prometheus/rules/alert-all-the-time.yml file is configured to send an alert to this receiver (telegram).

Visit http://localhost:9093 to see the alert manager UI.

You can add some alerts to the ./prometheus/rules folder. See Samber's awesome-prometheus-alerts for some idea.

monitoringrafana's People

Contributors

loichu avatar multiscan avatar ponsfrilus avatar saphirevert avatar zuzu59 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

zuzu59

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.