Cacti configuration and installation plug-in implementation method

Source: Internet
Author: User

The development of the software Cacti configuration is based on making RRDTool users more convenient to use the software, in addition to basic Snmp traffic and system information monitoring, cacti can also plug-in Scripts and add Templates to make a variety of monitoring charts.

Cacti configuration is complete to install the thold and monitor plug-ins
The monitor plug-in provides simpler and more intuitive device status diagrams;
The thold plug-in provides device exception warnings.
Cdcacti/plugins
# Wgetwgethttp: // docs.cacti.net/_media/plugin:settings-latest.tgz
# Tarzxvfsetting. tgz
# Wgethttp: // developer.cactiusers.org/downloads/plugins/thold-0.4.1.tar.gz
#Tarzxvfthold-0.4.1.tar.gz
# Wgetwgethttp: // developer.cactiusers.org/downloads/plugins/monitor-0.8.2.tar.gz
#Tarzxvfmonitor.tar.gz

Cacti configuration completes Database Import
Mysqlcacti # viinclude/global. php
Add the following content after $ plugins = array ();
$ Plugins [] = 'thold ';
$ Plugins [] = 'settings ';
$ Plugins [] = monitor;

Cacti plug-in used after Configuration
Use the monitor plug-in
Refresh the web management interface of the cacti system. Two more tabs are displayed: thold and monitor ).
1> open "Console-> Settings-> Misc" to adjust the configurations of Monitor. For example, you can select ShowIconLegend to display the legend on the monitoring page;
You can select the Tiles type for "View" to display the device status table.
2> when adding a new device to cacti, check "MonitorHost. You can use "Management-> Devices" to modify the added Devices.
3> click the "monitor" tab link at the top of the Web page to view the status charts of each device/host.
 


Use the thold plug-in after Cacti configuration is complete
1> open "Console-> Settings-> Mail/DNS", and you can adjust configurations such as "SMTPOptions" and "DNSOptions" to ensure that the alert email can be sent.
2> open "Console-> Settings-> Alerting/Thold" to adjust the configuration of Thold. For example, in "DeadHostNotificationsEmail", you can enter the email address to which the warning message is sent when the device is sent. If you select "Sendalertsastext", you can set to send only emails in text format.
3> open "Templates-> ThresholdTemplates" to add and retrieve the template to be associated with the alert system. For example, you can add an association with the "Interface-Traffic" template, select "traffic_in ",
For the "traffic_out" data item, set the warning threshold value "HighThreshold", for example, 200000000 bits/s). You can add the association with the "Unix-DiskSpace" template .......
4> open "Create-> NewGraphs", select the device that requires an alert, and click "Auto-createthresholds" in the upper-right corner to Create an alert project.
5> open "Management-> Thresholds" to manage created alert projects.
 


Snmp-common port traffic analysis
For ports of common network devices, MIB is defined as Interface groups, which mainly manage the following information:
IfIndex port Index Number
Description of ifDescr Port
IfType port type
Maximum number of bytes of ifMtu transmission package
IfSpeed Port Speed
IfPhysAddress physical address
IfOperStatus operation status
IfLastChange last status update time
* IfInOctets input bytes
* IfInUcastPkts: Number of input non-broadcast packets
* IfInNUcastPkts: Number of input broadcast packets
* IfInDiscards: Number of dropped input packets
* IfInErrors number of input packet errors
* IfInUnknownProtos: number of unknown protocol packets entered
* IfOutOctets output bytes
* IfOutUcastPkts: Number of output non-broadcast packets
* IfOutNUcastPkts output broadcast packets
* Number of discarded ifOutDiscards output packets
* IfOutErrors output packet error count
IfOutQLen output team lead
* Indicates the network traffic.

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.