Giter Site home page Giter Site logo

monitor-infrastructure's Introduction

Monitoring Infrastructure

© Atos Spain S.A. 2016

License: GPL v3

The Monitoring Infrastructure is a component of the European Project TANGO (http://tango-project.eu ).


LICENSE

Description

Component architecture

Installation Guide

Usage Guide

Relation to other TANGO components


Description

The responsibility of this component is twofold. On one side it must provide running applications with metrics of the status of different devices, such as CPU, GPUs, FPGAs, etc. This information should be both energy consumption and performance status. On the other side it should also provide historical statistics for device metrics for latter analysis of upper components of the TANGO architecture.

TANGO architecture

This component relies on Collectd, which will be used together with some custom plugins done specifically for TANGO, in order to get and store energy consumption and performance values from the applications running in the different environments.

Available collection of probes to measure energy in heterogeneous hardware for the TANGO project:

  1. NVIDIA collectd plugin

    • power
    • temperature
    • memory used
    • usage
    • processes running
  2. Xeon Phi collectd plugin

    • power
    • temperature
    • memory used
    • usage
  3. IPMI plugin from collectd

    • power

Component architecture

Components

The monitoring Infrastructure is composed by the following components:

Collectd & plugins

Collectd is a daemon which collects system and application performance metrics periodically and provides mechanisms to store the values in a variety of ways. The TANGO Collectd plugins provide metrics from specific devices like the NVIDIA GPUs and the XEON PHI processors. The metrics gathered from this component are stored in the InfluxDB instance.

InfluxDB

InfluxDB is used as a data store for the metrics gathered from Collectd. The REST API and the Graphana applications connect to this tool in order to present the processed information.

Graphana

Graphana is a data visualization and monitoring tool with support for Graphite, InfluxDB and many more databases. This component is used as the GUI of the monitoring component.

The main purpose of the REST API application is to offer to other TANGO components the information they need from the metrics gathered from Collectd.

View REST API specification to see the available methods.

Architecture

Component architecture


Installation Guide (ubuntu, 64-bit systems)

1. Requirements
  • ubuntu 64-bit system
  • Java 8
  • Leiningen 2.0.0 or above installed.
2. Install Collectd
sudo apt-get update
sudo apt-get install collectd collectd-utils
2.1. Install plugins

View Collectd - Readme file to see how to compile and install the plugins.

3. Install InfluxDB
wget https://dl.influxdata.com/influxdb/releases/influxdb_0.13.0_amd64.deb
sudo dpkg -i influxdb_0.13.0_amd64.deb
sudo service influxdb start
sudo service influxdb statu
4. Install Grafana
wget https://grafanarel.s3.amazonaws.com/builds/grafana_3.0.4-1464167696_amd64.deb
sudo apt-get install -y adduser libfontconfig
sudo dpkg -i grafana_3.0.4-1464167696_amd64.deb
5. Collectd & InfluxDB & Grafana setup

See Monitoring with Collectd, InfluxDB & Grafana for more information about how to setup the three components.

6. Install and configure the REST API component

View rest-api - Readme file to see how to install and configure the REST API component.


Usage Guide


Relation to other TANGO components

The other TANGO components connect to the monitoring Infrastructure through the REST API application:

  • Programming model

  • heterogeneous parallel device clusters

  • Energy modeller

  • Self-Adaptation Manager


LICENSE

The Monitoring Infrastructure project is licensed under a GNU General Public License, version 3.

The rest-api component depends on a set of libraries and plugins licensed under the Eclipse Public License v1 and the Eclipse Public License v2. These libraries are used and imported through leiningen or maven, and they don't belong to the distribution of this project. This means that the original source code of these libraries was not modified. These libraries are the following:

Library Version Project URL
ring-cors/ring-cors 0.1.10 https://github.com/r0man/ring-cors
compojure 1.5.1 https://github.com/weavejester/compojure
org.clojure/tools.logging 0.3.1 https://github.com/clojure/tools.logging
org.clojure/data.json 0.2.6 https://github.com/clojure/data.json
lein-ring 0.12.0 https://github.com/weavejester/lein-ring
lein-uberwar 0.2.0 https://github.com/luminus-framework/lein-uberwar

monitor-infrastructure's People

Contributors

rsucasas avatar rsucasas-atos avatar

Stargazers

 avatar  avatar  avatar

Watchers

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