docker

It's possible to use a Docker container with InfluxDB and Grafana inside. It allows to have a dedicated InfluxDB database for each performance analysis by spinning a new instance.

  • Install Docker on Ubuntu:

    sudo apt-get install -y docker.io

  • Or install docker on redhat/fedora:

    sudo yum install docker
    sudo service docker start

  • Download InfluxDB + Grafana Container :

    sudo docker pull adejoux/docker-influxdb-grafana

  • Start the docker container :

    sudo docker run -d -p 3000:3000 -p 8083:8083 -p 8086:8086 --name="test" -t adejoux/docker-influxdb-grafana

  • Download nmon2influxdb :

    wget https://github.com/adejoux/nmon2influxdb/releases/download/v0.9.0/nmon2influxdb-linux-amd64.gz
    gunzip nmon2influxdb-linux-amd64.gz
    mv nmon2influxdb-linux-amd64.gz nmon2influxdb
    chmod u+x nmon2influxdb

Examples

Grafana will be available at url : http://[your vm ip]:3000

InfluxDB administration interface will be available at : http://[your vm ip]:8083

  • You can configure hostnames directly in the configuration file:

    influxdb_server="yourvm"
    influxdb_port="8086"
    grafana_URL="http://yourvm:3000"

  • Loading a nmon file:

    nmon2influxdb import server.nmon

  • Creating a dashboard:

    nmon2influxdb dashboard server.nmon

Sample nmon reports are available.