标签:cacti 服务器监控
被监控服务器 需要查看网卡流量, 磁盘空间等信息。修改如下。
vi /etc/snmp/snmpd.conf
1、找到com2sec notConfigUser default public
改为:com2sec notConfigUser 192.168.1.1(改成监控服务器的ip) public
2、找到access notConfigGroup "" any noauth exact systemview none none
改 为:access notConfigGroup "" any noauth exact all none none
3、找到#view all included .1 80
将前面的 # 注释 去掉。
#以下为访问项目,如果想监控磁盘空间,load等需把注释去掉
#编译安装默认已去掉,自带安装的需手动把注释去掉
# Make sure mountd is running
proc mountd #去掉前面的"#"
# Make sure there are no more than 4 ntalkds running, but 0 is oktoo.
proc ntalkd 4
# Make sure at least one sendmail, but less than or equal to 10 arerunning.
proc sendmail 10 1
# Check the / partition and make sure it contains at least 10 megs.
disk / 10000
# Check for loads:
load 12 14 14
标签:cacti 服务器监控
原文地址:http://329994.blog.51cto.com/319994/1889954