cacti 出图但是显示nan解决方法
2010-04-21 22:21:59| 分类:
工作日志
| 标签:
|举报
|字号大中小 订阅
这几天在配置cacti时,有其中2台主机始终无法绘图,经过查找了一些资料,并且做更改,现在图已经出来了。
更改被监控机器的snmp.conf
更改如下:
#(1)
com2sec notConfigUser default public
####
# Second, map the security name into a group name:
# groupName securityModel securityName
#(2)
group notConfigGroup v1 notConfigUser
group notConfigGroup v2c notConfigUser
####
# Third, create a view for us to let the group have rights to:
# Make at least snmpwalk -v 1 localhost -c public system fast again.
# name incl/excl subtree mask(optional)
#(3)
view systemview included .1.3.6.1.2.1.1
view systemview included .1.3.6.1.2.1.25.1.1
把如上两行中其中一行改为
view all include .1 80
####
# Finally, grant the group read-only access to the systemview view.
# group context sec.model sec.level prefix read write notif
#(4)
access notConfigGroup "" any noauth exact systemview none none
把systemview改为all
问题出在 public community 被定义 notConfigGroup 这个群組,
而 access 定义notConifgGroup 被限制只能读取systemview 这个 view
而 systemview 被定义成只能看子树.1.3.6.1.2.1.1 and .1.3.6.1.2.1.25.1.1
所以会出現之前 貼出來的因為 MIB 樹被限制在 上面兩個範圍, 所以一下下就"走"完了
评论这张
转发至微博
转发至微博
评论