易构空间欢迎您

cacti监控流量1000M不准确的问题

cacti监控网络边界流量的问题,当流量超过100M时不准确,网上查了很多资料都说是不支持64位采集或者net-snmp版本过低的问题,但经过测试我的情况不属于上述两者。

       后发现cacti 的官方论坛里有这样的回复:

the problem is that a 32 bit snmp counter overflows between the 5 min polling intevals that is used by default. 

you have two options: 
* use 64 bit snmp counters if your device supports it (probably needs snmp v2 or above) 
* use shorter polling interval, for example 1 minute, but note that you need to change more than just the polling interval (graph, rra and so on) 

i'm using 1min polling intervals for 32bit counters on 1 gbit interfaces and a different graph+datasource setup, and this works fine. 
it also gives better precition for the last couple of ours (1min intervals instead of 5min). 

check the forums, there should be some info about this.

原来,把cacit的poller时间改成1分钟,可以解决这个问题,于是:

1.将cacti的poller设置中Poller Interval和Cron Interval两项改为Every Minute

2.安装spine,并将cacti的poller类型修改为spine(原来为cmd.php)

3.修改/etc/cron.d/cacti 计划任务文件:*/1 * * * *     cacti   php /var/www/cacti/poller.php &>/dev/null(原来为5分钟)

重新添加设备,监控流量正常。如果原来已经有设备和图形,则须将cacti/rra目录下的rrd文件删除让系统重新生成文件。

收藏此页】【 】【打印】【关闭窗口】  
 服务器租用 戴尔PowerEdge R720
 
价格 14000元
CPU 志强 2.2G*2 16核
内存 32G ECC效验
硬盘 STA 1TB *3/64M
带宽 5M独享
 服务器租用 戴尔PowerEdge R720
 
价格42000元
CPU 志强16核 * 2.6G
内存 128G ECC效验
硬盘 SSd 240G,4T*4
带宽 20M独享多线BGP

服务器租用

服务器租用
易构网络服务器租用,提供全新服务器,多款平台,提供全程网络,系统服务,提供2M,双线BGP独享网络资源,优惠促销中

服务器托管

服务器托管
易构网络服务器托管,电信,联通等,多线双线BGP线路资源,并赠送价值3000元的技术支持服务,免费安全设置,调试 。

云服务器

带宽独享
易构网络提供多网络资源云服务器平台,多级存储及安防策略,硬盘SSD 及SAS 高I/O并发,并提供物理机到云平台的迁移。