Cacti monitor traffic in megabytes

Source: Internet
Author: User

Cacti self-brought traffic monitoring threshold template for "interface–traffic", can only monitor bytes, after adding thresholds, alarm traffic information in bytes units, viewing is unfriendly, you can convert Btyes to MB units by the following methods.

1, add the Traffic conversion template, open the Control Panel management function, find cdefs:

2, click Add in the top right corner of the page, the following page appears:

This function is named as: Turn Bytes to Mbits, after saving, we create a template, and then add functionality to the template.

3, click Add, in the drop-down box of the section, respectively, add the following order:

Special data source----Current Graph Item Data Source---Click Create

Custom String----8 (manually populated by yourself)----Click Create

Operator----* (i.e. function multiplied)----Click Create

Custom String----1024 (manually populated by yourself)----Click Create

Operator----/(i.e. function divided)----Click Create

Custom String----1024 (manually populated by yourself)----Click Create

Operator----/(i.e. function divided)----Click Create

The final result of adding a template to this place is:

cdef=current_data_source,8,*,1024,/,1024,/

4. Apply this template

Enter the threshold Templates in the Control Panel and add the interface–traffic threshold, as set in the figure.

High/low Warning Setting does not set any value indicates that warn value is not monitored

High/low Setting The high threshold setting value is 20, indicating that the outgoing traffic is higher than the threshold of 20M alarm, because the traffic unit is selected at the Cdef of MB

Cacti monitor traffic in megabytes

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.