Monitoring Ceph clusters with Telegraf+influxdb+grafana

Source: Internet
Author: User
Tags grafana influxdb

Telegraf is a collection of monitoring agents, there are support to collect a variety of data plug-ins such as Ceph,apache,docker,haproxy,system, but also support a variety of output plug-ins such as Influxdb,graphite and so on.

Influxdb is a time series database and is used for monitoring scenarios

Grafana is a great drawing tool.

The combination of the three has three main processes:

& Nbsp;               1. The Telegraf installed on all nodes of the Ceph cluster (including the Mon and OSD nodes) collects Ceph cluster information through the Ceph_input plug-in, where two pits are stamped, and the Ceph_input plugin reports two errors, one error reading from Socket '/var/run/ceph/ceph-mon.control-1.asok ': Error running Ceph dump:exit status 22, and the other is error in input [Inputs.ceph]: Error executing command:error running ceph status:exit status 1. After the elimination of the first error is Telegraf bug, need to add the sock file W permissions to the Ceph process, the first error is because the user who executes the TELEGRAF process does not have ceph_client_admin read access to the keyring file. To solve these two problems, the Telegraf ceph_input plugin will work properly.

2.telegraf through the Ceph_input plug-in collection of ceph information through the Influxdb_ouput data written to the INFLUXDB,INFLUXDB database through the 8086 port to receive data, as if the UDP protocol is also supported.

3.grafana get data drawing from Influxdb.

Take a picture.

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M01/8A/E3/wKioL1g-mc3Rs0CNAAFFzg3QCz0844.png-wh_500x0-wm_3 -wmp_4-s_2114955627.png "title=" C.png "alt=" Wkiol1g-mc3rs0cnaaffzg3qcz0844.png-wh_50 "/>


Time to write a detailed point.


This article from "Tanyuhua" blog, reproduced please contact the author!

Monitoring Ceph clusters with Telegraf+influxdb+grafana

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.