首页 > 其他 > 详细

cacti 被监控机器snmp 配置

时间:2017-01-07 14:10:58      阅读:253      评论:0      收藏:0      [点我收藏+]

被监控服务器 需要查看网卡流量, 磁盘空间等信息。修改如下。


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 被监控机器snmp 配置

原文:http://329994.blog.51cto.com/319994/1889954

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!