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.
Step 1. Launch an InfluxDB container:
docker run --name tnova-monitoring-influxdb -d \
-e ADMIN_USER="root" -e INFLUXDB_INIT_PWD="root" \
-e PRE_CREATE_DB="statsdb" -e COLLECTD_DB="statsdb" \
-e COLLECTD_BINDING=':25826' -e COLLECTD_RETENTION_POLICY="statspolicy" \
--publish 8083:8083 --publish 8086:8086 --publish 25826:25826/udp \
--volume=/var/influxdb:/data \
tutum/influxdb:0.12
Step 2. Launch the monitoring container:
docker run --name=tnova-vim-backend -d \
--link tnova-monitoring-influxdb:influxdb \
--publish 8080:3000 \
tnova/vim-backend:latest
Although it is recommended to run the back-end inside a Docker container as described here, it is possible to run it locally.
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 [email protected]:spacehellas/tnova-vim-backend.git # or clone your own fork
cd tnova-vim-backend
npm install
node app.js