Cacti / cacti

Cacti ™
http://www.cacti.net
GNU General Public License v2.0
1.63k stars 405 forks source link

Using Cacti to monitor switch port traffic, inaccurate port traffic #5620

Closed WangDaMiaoAAA closed 9 months ago

WangDaMiaoAAA commented 9 months ago

Using Cacti to monitor the 10G port traffic of the switch, it was found that the peak speed exceeded 10G,Cacti version1.2.25

feead010fd32f3b7c418a111fe9667c
WangDaMiaoAAA commented 9 months ago

I feel that the delay in obtaining data from SNMP caused the traffic data from the previous minute to be overlaid with the traffic data from the next minute

b327b601bd5ae5e473a71ee6a5b3b90
TheWitness commented 9 months ago

This is less about Cacti and more about your switch/router. For the interface in question, what is the ifHighSpeed? Cacti set's the max value in the RRDfile based upon the response here. If the interface is something like a VLAN or aggregate interface that does not provide an accurate ifHighSpeed, Cacti has a default value. If there are going to be multiple Defaults, you will have to tune the RRDfiles directly using the rrdtool tune filename -a traffic_in:blah -a traffic_out:blah command.