Code Monkey home page Code Monkey logo

ganglia-ibcounters's Introduction

ganglia-ibcounters

Ganglia metrics module that reads InfiniBand (mlx4/5) counters

Build

A CMake build system is included with the package. Several variables should be specified to enable CMake to find the Ganglia metrics build infrastructure, etc.

  • APR_ROOT_DIR: install prefix for apr-1 library
  • LIBCONFUSE_ROOT_DIR: install prefix for the Confuse configuration file library
  • GANGLIA_ROOT_DIR: install prefix for the Ganglia software
  • GANGLIA_BUILD_ROOT_DIR: path to the directory used to build Ganglia (for finding libmetrics infrastructure)

If GANGLIA_BUILD_ROOT_DIR is not provided it is inferred to be ${GANGLIA_ROOT_DIR}/src. So for a typical install we do in /opt/shared/ganglia/<version> with source in /opt/shared/ganglia/<version>/src and APR and Confuse present in the OS:

$ mkdir build
$ cd build
$ cmake -DGANGLIA_ROOT_DIR=/opt/shared/ganglia/3.7.2 ..
-- The C compiler identification is GNU 4.8.5
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Found APR: /usr/include/apr-1 (found version "1.4.8") 
-- Found libconfuse: /usr/include  
-- Found Ganglia: /opt/shared/ganglia/3.7.2/include  
-- Found GangliaMetric: /opt/shared/ganglia/3.7.2/src/libmetrics  
-- Configuring done
-- Generating done
-- Build files have been written to: /opt/shared/ganglia/add-ons/ganglia-ibcounters/build

The completed metrics module will be installed to the lib/ganglia or lib64/ganglia subdirectory of the GANGLIA_ROOT_DIR.

Configuration

An example module configuration file, ibcounters.conf, is included. We install it in /etc/ganglia/conf.d.

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.