1 / 7

Introduction to Cacti

Introduction to Cacti. Hsu Chun-Hung Network Benchmarking Lab chhsu@nbl.org.tw. History. MRTG It will monitor SNMP network device and draw pretty pictures showing how much traffic has passed through each interface RRDTool

jun
Télécharger la présentation

Introduction to Cacti

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Introduction to Cacti Hsu Chun-Hung Network Benchmarking Lab chhsu@nbl.org.tw

  2. History • MRTG • It will monitor SNMP network device and draw pretty pictures showing how much traffic has passed through each interface • RRDTool • RRDtool is the opensource industry standard, high performance data logging and graphing system for time series data. • Cacti • Complete fronted to RRDtool, manage data source, graphs and gather data.

  3. Cacti • Manage data source • Data could be CPU, Memory, Disk and Traffic etc… • Collect data by RRDtool • Administrative by MySQL • Graphing • Colored • Self-defined UI • Distributed Permission • Plugins

  4. Round Robin Database • Keep data detail for short term, aggregate data for longer term Recent data stored once every 5 minutes for the past 2 hours Old data averaged to one entry perday for the last 365 days (288:365) RRD File RRA 1:24 RRA 288:365 RRA 6:10 Medium length data averaged to one entry per half hour for the last 5 hours (6:10)‏ --step 300 (5 minute input step size) Reference: http://www.afnog.org/afnog2010/tutorial/netmgmt/presos/cacti.ppt

  5. How Cacti Works? • Group of PHP scripts connected to a MySQL database • poller.php script runs every 5 minutes (or more often) and collects data • Uses RRDtool to store data and build graphs • Use the web interface to select which data to pull and which graphs to generate (make trees of graphs) • Data which devices are monitored in which RRD files, which graphs are selected is stored via MySQL • Mostly used to measure traffic/errors/packets/CPU • Populate database using scripts to scale Reference: http://www.afnog.org/afnog2010/tutorial/netmgmt/presos/cacti.ppt

  6. Comparison

  7. Demo

More Related