Telegraf+influxdb+grafana Open Source Monitoring architecture:
Telegraf monitoring items are full, no need to install additional plugins, very powerful
Telegraf:
wget https://dl.influxdata.com/telegraf/releases/telegraf-1.5.1-1.x86_64.rpmrpm-i telegraf-1.5.1-1.x86_64. Rpmservice Telegraf Restart
The default will point to 127.0.0.1 's influxdb 8086 port (/etc/telegraf/telegraf.conf file, the default database name is Telegraf, and no database user name password is required)
The software is also installed on the monitored side, changing the INFLUXDB server to a monitoring server
In addition, the monitoring items in the client control, inputs section, the default has been opened monitoring CPU, disk, Diskio, mem, System, swap, etc., monitoring is very full
INFLUXDB Installation steps:
Rpm-i influxdb-1.3.6.x86_64.rpm (Port 8086)
Configuration file path:/etc/influxdb/influxdb.conf
Data storage path:/var/lib/influxdb/data
Log path:/var/log/influxdb/
Service influxdb startchkconfig influxdb--level Oninflux
Create Database Telegraf;
Create user Telegraf with password ' xxxx ';
Grant all on Telegraf to Telegraf;
Quit
Influxdb default retention data is 168 hours (that is, 7 days), adjusted to 1-year command:
Show retention policies on TELEGRAF; (View retention policies)
Alter retention policy "Autogen" On "Telegraf" duration 365d default; (Modify an existing policy)
Granfana Installation steps:
Rpm-i grafana-4.5.2-1.x86_64.rpm (port) service Grafana-server startchkconfig grafana-server--level
Access http://ip:3000 Default user name, password is admin
Data Sources:Name:telegraf (can be changed) type:influxdb url:http://ip:8086 access:proxy Database:telegraf User:telegraf Password : xxxxx
Telegraf+influxdb+grafana Open Source Monitoring architecture