Grafana+influxdb+telegraf Monitoring

Source: Internet
Author: User
Tags grafana influxdb

I've never been in touch with these three things before, so let's start with a basic understanding.
Grafana is an open source metric analysis and visualization suite. This is the most commonly used visualization of time series data infrastructure and application analysis, simply said in the Web front page, only need to Apache or nginx, not even PHP.

Influxdb is a time series database, each data you insert is automatically appended with two fields, a time, a serial number (used as the primary key)
It has three main features:
Temporal series: Flexible use of time-dependent functions (such as maximum, minimum, sum, etc.);
Measurement (Metrics): Calculation of real-time large amounts of data;
Event: Supports arbitrary event data, in other words, any event data we can do.
Telegraf is a data logger, influxdb inside of a plug-in.

http://grafana.org/
http://influxdb.com/

Installation of Telegraf:
sudo grafana-cli plugins list-remote |grep-i "Influxdb" #查找插件
sudo grafana-cli plugins install Grafana-influxdb-08-datasource #安装插件
sudo vim/etc/telegraf/telegraf.conf
URLs = ["http://127.0.0.1:8086"]
Username =
Password =
These two lines of comment are removed and then set yourself.
sudo systemctl restart Influxdb.service
sudo systemctl restart Grafana-server.service
sudo systemctl restart Telegraf.service
[Email protected]:~# Netstat-antpul |grep Tel
TCP 0 0 192.168.1.8:34958 192.168.1.8:8086 established 25477/telegraf
[Email protected]:~# netstat-antpul |grep Grafana
TCP6 0 0::: 3000::: LISTEN 25547/grafana-serve
[Email protected]:~# netstat-antpul |grep influx
TCP 0 0 127.0.0.1:8088 0.0.0.0:
LISTEN 25449/influxd
TCP6 0 0::: 8086:::* LISTEN 25449/influxd
TCP6 0 0 192.168.1.8:8086 192.168.1.8:34958 established 25449/influxd
port 8083:管理页面端口,访问localhost:8083可以进入你本机的influxdb管理页面;port 8086:http连接influxdb client端口,一般使用该端口往本机的influxdb读写数据;    port 3000:管理页面端口,访问localhost:8083可以进入你本机的grafana管理页面。

After this configuration is finished, you can use it and leave it up to you to review it later.

Grafana+influxdb+telegraf Monitoring

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.