想让cacti能监控服务器,需要对net-snmp做如下配置:
/etc/snmp/snmpd.con
com2sec notConfigUser default public => com2sec notConfigUser 监控ip public
access notConfigGroup "" any noauth exact systemview none none =>access notConfigGroup "" any noauth exact all none none
#view all include .1 80 => view all include .1 80
如果要加入对磁盘的监控,可加入配置;
disk / #对/目录进行监控
阅读(713) | 评论(0) | 转发(0) |