cacti有图无数据
如图,配置好了半天,客户端仍无数据;-nan就是不正常的了。http://s2.运维网.com/wyfs02/M00/7E/58/wKioL1b8_vjgQ47YAAF95b2zl_M102.jpg
下面就是解决办法:
在客户端操作:
vim /etc/snmp/snmpd.conf #更改如下
# sec.namesource community
com2sec notConfigUser192.168.20.168(cacti服务端的IP) public
# name incl/excl subtree mask(optional)
#view systemview included .1.3.6.1.2.1.1
view systemview included .1.3.6.1.2.1
view systemview included .1.3.6.1.2.1.25.1.1
view all include .1
# group context sec.model sec.level prefix read writenotif
accessnotConfigGroup "" any noauth exactall none none
效果如下图:
http://s3.运维网.com/wyfs02/M00/7E/5C/wKiom1b8_67hnsVXAAK5OQnU0bM403.jpg
重启客户端
service snmpd restart
再查看正常了:
http://s3.运维网.com/wyfs02/M01/7E/58/wKioL1b9AMvhoQNxAAG3ZWic4Ik230.jpg
页:
[1]