您的位置:首页 > 运维架构

cacti 被监控机器snmp 配置

2017-01-07 11:46 375 查看
被监控服务器 需要查看网卡流量, 磁盘空间等信息。修改如下。

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