Telegraf+influxdb+grafana Open Source Monitoring architecture

Source: Internet
Author: User
Tags grafana influxdb

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.