# rb2db
Write CPU and Memory info to InfluxDB with Ruby

## Install
    $ gem install rb2db
    
## Config

### InfluxDB Server
ENV['INFLUX_HOST']

### Local Hostname
ENV['INFLUX_DB']

# rb2db
Write CPU and Memory info to InfluxDB with Ruby

## Prerequisites
  Influx DB
  https://docs.influxdata.com/influxdb/

  Grafana (Optional)
  https://grafana.com/


## Install
    $ gem install rb2db
    
## Quick Start
    $ INFLUX_HOST='ip_or_hostname_here' rb2db
    
--------------


# Result
![screen shot](https://cloud.githubusercontent.com/assets/382216/26003093/5e005b16-36f7-11e7-8079-686d4a4807d4.png)

Update Readme and add example Grafana output
Update Readme and add example Grafana output