Cacti custom scripts and graphic templates

Source: Internet
Author: User


The templates provided by cacti are often unable to meet our monitoring needs. At this time, we are required to customize monitoring to meet our actual monitoring needs. The following is a simple case, you can simply learn the process.


    1. Write a script to monitor the number of client connections of the Wireless AP.

      Place the script in <path_cacti>/scripts/collect_ap1600_clients.sh

      Note: The output format of the script is clients: XXXX.


    2. Add Data Input Method

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/4D/4A/wKioL1RPB3qRShUCAAPXUfhbuXo701.jpg "Title =" 11.jpg" alt = "wkiol1rpb3qrshucaapxufhbuxo701.jpg"/>


3. Add a Data Template

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/4D/4A/wKioL1RPCBOTX1iYAAXtq8WtgQE957.jpg "Title =" 22.jpg" alt = "wkiol1rpcbotx1iyaaxtq8wtgqe957.jpg"/>

4. Add a graphic Template

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/4D/4A/wKioL1RPCMnR81i5AAWYPMd70cQ204.jpg "Title =" 33.jpg" alt = "wkiol1rpcmnr81i5aawypm70cq204.jpg"/>


5. Add the data source to the host


6. Add a graphic template to the host


7. Display Results

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/4D/4A/wKiom1RPCl2QqOaMAAVwM_m5Fe8046.jpg "Title =" 44.jpg" alt = "wkiom1rpcl2qqoamaavwm_m5fe8046.jpg"/>

This article is from the "beat boys" blog. For more information, contact the author!

Cacti custom scripts and graphic templates

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.