Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2118406
  • 博文数量: 227
  • 博客积分: 10521
  • 博客等级: 上将
  • 技术积分: 3452
  • 用 户 组: 普通用户
  • 注册时间: 2006-10-20 14:59
个人简介

低调做人,高调做事!

文章分类

全部博文(227)

文章存档

2013年(4)

2012年(8)

2011年(16)

2010年(24)

2009年(92)

2008年(83)

分类: LINUX

2008-03-13 23:49:36

一般这种问题出现在操作系统版本不一致,或者不同种类的操作系统,在做snmp服务监控时,大家尽量选取相同的snmp服务版本!!!

The net-snmp in Red Hat Enterprise Linux 4.5 generates the following messages. This causes flooding of /var/log/messages.

Dec 2 14:05:08 host34 snmpd[14612]: Connection from - 127.0.0.1 Dec 2 14:05:08 host34 snmpd[14612]: transport socket = 12 Dec 2 14:05:08 host34 snmpd[14612]: Connection from - 127.0.0.1 Dec 2 14:05:08 host34 snmpd[14612]: transport socket = 12 

To solve this issue, add the following options to the file /etc/sysconfig/snmpd.options:

OPTIONS="-LS 5 d -Lf /dev/null -p /var/run/snmpd.pid -a" 

Restart snmpd service. Test with an snmp query, For example, the following will test this:

snmpwalk -v 1 -c public localhost 

There should not be excessive logging of snmpd in /var/log/messages from this command.

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