Chinaunix首页 | 论坛 | 博客
  • 博客访问: 78144
  • 博文数量: 19
  • 博客积分: 1415
  • 博客等级: 上尉
  • 技术积分: 202
  • 用 户 组: 普通用户
  • 注册时间: 2009-04-24 17:26
个人简介

Linux、Python爱好者,推广者。

文章分类

全部博文(19)

文章存档

2015年(1)

2011年(1)

2010年(2)

2009年(15)

我的朋友

分类: LINUX

2009-04-25 17:24:14

SNMP服务器端配置文件修改如下/etc/snmp/snmpd.conf
41 #com2sec notConfigUser  default       public

42 com2sec notConfigUser  127.0.0.1       public本机

43 com2sec notConfigUser  192.168.80.2      public本机

44 com2sec notConfigUser  192.168.2.2      public(要监控的客户端,如果有多个写多行即可)

 

65 #access  notConfigGroup ""    any    noauth    exact  systemview  none    none

66 access  notConfigGroup ""     any   noauth    exact    all         none    none

 #view all    included  .1                               80

90 view all    included  .1                               80

 

SNMP客户端端配置文件修改如下/etc/snmp/snmpd.conf
41 #com2sec notConfigUser  default       public

42 com2sec notConfigUser  192.168.2.1      public(指明服务器的ip地址为192.168.2.1

64 #access  notConfigGroup ""    any    noauth    exact  systemview  none    none

65 access  notConfigGroup ""     any   noauth    exact    all         none    none

88 #view all    included  .1                               80

89 view all    included  .1                               80

启动服务端和客户端:service snmpd restart

阅读(1458) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~