Use graphite to render the collected data into pictures

Source: Internet
Author: User
Tags snmp

Here I first explain the difference between him and cacti Nagios ~ and why we use him ~

Cacti is used for data capture via SNMP, and, of course, can be used by SNMP for exec-fetch data in scripts

Nagios is used to monitor the various state of the server, of course, through PnP can also achieve drawing

But why should I use graphite, in fact, he has a function, the data received to show on the page ~

On this one function, I feel enough.

Demand:

Efficiency of the execution of scripts

The value of an analysis of a log in a system

Online number

To the quality of each network node, latency

The company's developers want to see how many times the API is invoked

The number of calls to a program

Time statistics for each process delay

These can be very good drawing, than their own use of RRDtool drawing more convenient ~

Http://graphite.readthedocs.org/en/latest/index.html

Introduction of Graphite Project

Graphite is an enterprise-class monitoring tool that can be run on inexpensive machine hardware.

Second, graphite function

Graphite is a drawing tool that shows the data graphically. It mainly does two things:

Storing time series data

Graphics to render data as needed

Graphite does not collect data, some tools know how to send data to graphite. It takes a little bit of code, but it's very simple.

Three, simple structure

The graphite consists of three software components:

Carbon-a twisted daemon that listens for time series data

Whisper-A simple database library used to store time series data, similar in design to RRD

Graphite Webapp-django WebApp, using Cairo to render graphics on demand

The architecture diagram is as follows:

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.