Professional Documents
Culture Documents
1. Install Grafana
yum install https://s3-us-west-2.amazonaws.com/grafana-releases/release/grafana-4.6.3-
1.x86_64.rpm
2. Install Influxdb
Configure InfluxDB
By default your config file will be at /etc/influxdb/influxdb.conf. However, you can create a
new config file to modify if desired.
Start InfluxDB
Show database
Before calling this done, let's confirm that both InfluxDB and Grafana are configured for
auto-start.
grafana-server.service enabled
influxd.service enabled
influxdb.service enabled
In order for Graphite to install and function, a set of packages must be installed on the server.
However, these packages are not available in the CentOS default yum repository. Vultr instances
come with the EPEL repository enabled by default, but if you're installing this elsewhere you
will need to install it via:
Next, we will need to modify storage schema file. The values in this file will instruct Carbon on
how long to store values.
[default]
pattern = .*
retentions = 12s:4h, 2m:3d, 5m:8d, 13m:32d, 1h:1y
Save the file and start Carbon using the following command:
Once you are done, run the database setup script using following command:
touch /var/lib/graphite-web/index
You can now access Graphite in your web browser by visiting your server’s IP address.
Link https://github.com/influxdata/telegraf
wget https://dl.influxdata.com/telegraf/nightlies/telegraf_nightly_i386.deb
dpkg -i telegraf_nightly_i386.deb
telegraf -sample-config > telegraf.conf
cd /etc/telegraf/
telegraf -config telegraf.conf
### OUTPUT
## Retention policy to write to. Empty string writes to the default rp.
retention_policy = ""
## Write consistency (clusters only), can be: "any", "one", "quorum", "all"
write_consistency = "any"
[[inputs.netstat]]
# no configuration
[[inputs.interrupts]]
# no configuration
[[inputs.linux_sysctl_fs]]
# no configuration