Cacti 1-minute collection

Source: Internet
Author: User
Tags rrd

1 minutes of acquisition accuracy, you need to do the following before the acquisition of data to begin drawing 4 things
1.     创建1分钟的RRA;2.     在Cacti Data Source 模板中修改“Step”和“Heartbeat”的值;3.     在系统 cron 中修改 poller 的轮询时间间隔;4.     在 Cacti 配置中修改 poller 的轮询时间间隔。

1, first create the required 1 minutes RRA:

This RRA definition can determine the maximum data retention period for our different precision, save time = Step Steps Rows. For example, the default cacti 5 minute accuracy of Daily (5 miniute Average) This RRA precision data storage time is: (5 1 )/60m = 50h≈2d, note:
? "Step" is the step time, which is defined in data Source, and CACTI is the step value (in seconds) defined in the data template as described in the second step below.
? "Steps" is the number of steps, which means the Steps value defined in RRA;
? Note: This save time is not a TimeSpan value, and TimeSpan refers to the length of the time period shown in the figure of the detailed few time periods that appear after we click on a graph.
Okay, let's start with our RRA. Modify and create method description.
To differentiate, let's change the name of the default 5-minute RRA (don't worry, the cacti is labeled with an ID), and if you want to keep the time period longer, change the Rows number to larger;
We then create a new 1-minute-precision RRAS, such as 1-minute accuracy in English and 5-minute accuracy in Chinese:

最终如下:

We create a 1-minute precision RRA, whose data is saved in the time period of the calculation table as follows:
Can be as on the road parameter
2. Modify the "stepping" and "heartbeat" parameters in the data template

Note: If you select multiple columns in the association, hold down the CTRL key
4) Click "Save" at the bottom of the page and notice that the "Heartbeat" of the label "2:traffic_out" is changed again.

3. Change the Poller polling interval in cron to 1 minutes
Vi/etc/crontab

4. Modify the polling interval of the poller in the cacti configuration

5. Rebuilding the Poller cache

6, delete the original. rrd file, wait 1 minutes after cacti rebuild.

Rm/home/wwwroot/defautl/cacti/rra/*.rrd

7. Restart the process

Then wait for the diagram to appear.

Cacti 1-minute collection

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.