Skip to content

Instantly share code, notes, and snippets.

@xemoe
Created August 3, 2015 15:07
Show Gist options
  • Save xemoe/9626392b3eb8ee1484d7 to your computer and use it in GitHub Desktop.
Save xemoe/9626392b3eb8ee1484d7 to your computer and use it in GitHub Desktop.
Metric setup

For Ubuntu 14.04

Download dpkg file

wget https://s3.amazonaws.com/influxdb/influxdb_0.9.2_amd64.deb 
sudo dpkg -i influxdb_0.9.2_amd64.deb

Generate influxdb configuration

/opt/influxdb/influxd config > /opt/influxdb/influxdb.conf

Start influxdb

/opt/influxdb/influxd -config=/opt/influxdb/influxdb.conf

Create database from console

/opt/influxdb/influx -execute 'create database collectd'

Show available database

/opt/influxdb/influx -execute 'show databases'

Show series from console

use collectd
show series
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment