Monitor NFV Infrastructures
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 6 commits behind spacehellas:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config
contrib
documentation
lib
.dockerignore
.editorconfig
.eslintrc.json
.gitignore
.travis.yml
CHANGELOG.md
Dockerfile
LICENSE.txt
README.md
app.js
docker-compose.yml
entrypoint.sh
package.json

README.md

T-NOVA VIM Monitoring Back-End

Build Status Dependency Status

The monitoring back-end of T-NOVA's Virtual Infrastructure Manager (VIM).

Primarily developed by SPACE Hellas and released under the GNU General Public License v3.0.

Quick Start

Step 1. Download collectd's types.db:

mkdir tnova_vim
cd tnova_vim
curl -LO https://github.com/collectd/collectd/raw/master/src/types.db

Step 2. Launch an InfluxDB container:

docker run -d --name tnova-monitoring-influxdb \
    --restart always \
    -p 8083:8083 -p 8086:8086 -p 25826:25826/udp \
    -v $PWD/influxdata:/var/lib/influxdb \
    -v $PWD/types.db:/usr/share/collectd/types.db \
    -e INFLUXDB_REPORTING_DISABLED=true \
    -e INFLUXDB_COLLECTD_ENABLED=true \
    -e INFLUXDB_COLLECTD_BIND_ADDRESS=":25826" \
    -e INFLUXDB_COLLECTD_DATABASE="statsdb" \
    -e INFLUXDB_COLLECTD_TYPESDB="/usr/share/collectd/types.db" \
    influxdb:alpine

Step 3. Launch the monitoring container:

docker run --name=tnova-vim-backend -d \
    --link tnova-monitoring-influxdb:influxdb \
    --publish 8080:3000 \
    tnova/vim-backend:latest

Running locally

Although it is recommended to run the back-end inside a Docker container as described here, it is possible to run it locally.

Requirements

  • Node.js v4.2 or higher (Tested version: 4.4.7)
  • npm
  • InfluxDB v0.9 or higher (Tested version: 0.12)

Running instructions

Before running the application, make sure that an InfluxDB service is available and that the default configuration file, config/default.json is properly modified.

git clone git@github.com:spacehellas/tnova-vim-backend.git # or clone your own fork
cd tnova-vim-backend
npm install
node app.js

More information