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.
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.
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