请问关于CACTI工具的有关问题

WBOY
Release: 2016-06-13 11:42:55
Original
1008 people have browsed it

请教关于CACTI工具的问题
最近,在用JAVA利用SNMP协议编写一个统计网络设备流量的程序,发现SNMP协议中,设备端口流量的数值是累积的流量值,需要通过差值除以时间差,才能得到端口每秒的流量。可是对应端口流量的数据类型是无符号32位的,对于千兆级以上的端口,几十秒的时间,这个值就会达到最大,然后就会归零并重新开始累积。
我知道CACTI也是用SNMP协议采集数据的,默认是5分钟统计一次。对于流量很大的端口,5分钟内,流量数据会发生很多次归零的情况。那CACTI是怎么处理这种情况的呢?我没学过PHP,所以无法研究它的源码,难道CACTI是时时刻刻都在采集数据吗?不知道有没有研究过CACTI工具的前辈,指点我一下。谢谢了!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!