默认为 public, 版本支持v1与v2c, 只读权限
# sec.name source community com2sec notConfigUser default public # groupName securityModel securityName group notConfigGroup v1 notConfigUser group notConfigGroup v2c notConfigUser # group context sec.model sec.level prefix read write notif access notConfigGroup "" any noauth exact systemview none none
现在我们新增一个 community
下面我们定义一个最大可操作范围用于Cacti监控
#access notConfigGroup "" any noauth exact systemview none none access notConfigGroup "" any noauth exact all none none # name incl/excl subtree mask(optional) view all included .1 80
A variable list
默认是 systemview 这里使用all
是包含于排除
视图中涉及的MIB子树
掩码