Giter Club home page Giter Club logo

prometheus-install's Introduction

Prometheus Installation Script for Ubuntu 16.04 and 18.04 LTS

Important: This is a work in progress.

Even more important: If you actually plan to use this do not forget to edit configuration files to your needs (service files, YAML configuration files, etc.). Configuration files provided here are just generic files.

More about it here: gist.

This script downloads the files in the current directory. You could change this.

To Do

  • Rewrite scripts so one could start it with sudo ./full_installation instead of doing sudo before script
  • Write uninstallation scripts (both full uninstall and uninstallation of individual components)
  • Add optional installation for mysqld_exporter and postgresql_exporter

Any suggestions and contributions are welcome.

If you're new

I have written few Prometheus instructions that you may or may not find useful:

If you find any mistake, or suggestion for enhancement that would be great.

How to Use This?

Whether you are using this to install individual components or the full app, it is best to start scripts from the cloned repository. If you copy scripts anywhere else, the behaviour of the scripts is not guaranteed. Note that these scripts will add Prometheus and other utilities to systemd as services, and enable the by default.

Full Installation

Full installation will install the following:

  • Prometheus
  • Alertmanager
  • Node Exporter
  • Blackbox Exporter
  • Grafana

Scripts have many sudos, so before you start the full installation, do:

sudo pwd

just to make sure, sudo in scripts won't interrupt you. After that you can run script as:

./full_installation.sh

Or run script as a root user.

Installation of Individual Components

Same rules apply as for the full installation before you try to execute other scripts:

sudo pwd

just to make sure, sudo in scripts won't interrupt you. And to install individual components, use:

  • Prometheus: ./prometheus.sh
  • Alertmanager: ./alertmanager.sh
  • Node Exporter: ./node.sh
  • Blackbox Exporter: ./blackbox.sh
  • Grafana: ./grafana.sh

prometheus-install's People

Watchers

 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.