nagios监控traffic提示:Maybe 32 bit c...because ... negative value here.

Q:nagios监控流量时候有的同一条命令有的主机可以正常显示有的主机却检测不到流量数据提示:

ERVICE ALERT: 192.168.0.202;traffic;UNKNOWN;SOFT;1;Maybe 32 bit counter overflow, because we got a negative value here.

SERVICE ALERT: 192.168.0.202;;traffic;UNKNOWN;SOFT;3;Unknown - Read or Write File /var/tmp/check_traffic_192.168.0.202;_11.hist_dat_root__32 Error with user uid=517(nagios) gid=517(nagios) groups=517(nagios)

A:删除/var/tmp下对应测试生成的/var/tmp/check_traffic_${Host}_${Interface}.hist_dat文件,可以直接全部清空该目录,等下次网卡流量检查后会对应每台主机重新生成一次

你可能感兴趣的:(nagios,traffic)