HP ProLiant DL360 G7使用Net-SNMP5.3.2.2-14运行CentOS6 5.7 .
我在一个远程站点中有7台这样的服务器,所有这些服务器都在运行CentOS 5.7和RHEL5.7的混合,并从RPM安装了相同的Net。在一台服务器上,我的NMS不断报告它无法连接到SNMP服务。我忽略了它,因为它通常在15分钟内放晴,但今天它已经发生了2-3次每小时从早上开始。
我已经将snmpd启动脚本修改为将日志记录为文件(默认值为/dev/null)。启动时日志文件中没有错误:
could not open /proc/net/if_inet6
cannot open /proc/net/snmp6 ...
cmaX: listening for subagents on port 25375
cmaX: sent ColdStarts on ports 25376 to 25393
cmaX: subMIB 1 handler has disconnected
NET-SNMP version 5.3.2.2
cmaX: subMIB 2 handler has disconnected
Connection from UDP: [127.0.0.1]:50654
cmaX: subMIB 3 handler has disconnected
Received SNMP packet(s) from UDP: [127.0.0.1]:50654
cmaX: subMIB 5 handler has disconnected我认为if_inet6是用于我们不使用的IPv6的。snmpd.conf如下所示:
# Following entries were added by HP Insight Management Agents at
# Tue May 15 10:58:17 CLT 2012
dlmod cmaX /usr/lib64/libcmaX64.so
rwcommunity public 127.0.0.1
rocommunity public 127.0.0.1
rwcommunity 3adRabRu 172.16.37.37
rocommunity 3adRabRu 172.16.37.37
trapcommunity traps
trapsink 172.16.37.37 traps
syscontact Lukasz
syslocation Santiago, Chile
# ---------------------- END --------------------
com2sec rwlocal default public
com2sec rolocal default public
com2sec subnet default 3adRabRu
group rwv2c v2c rwlocal
group rov2c v2c rolocal
group rov2c v2c subnet
view all included .1
access rwv2c "" any noauth exact all all none
access rov2c "" any noauth exact all none none有什么建议吗?IP表正在关闭。
发布于 2012-05-26 23:40:37
agentaddress [<transport-specifier>:]<transport-address>[,...]
defines a list of listening addresses, on which to receive incoming
SNMP requests. See the section LISTENING ADDRESSES in the
snmpd(8) manual page for more information about the format of listening address因此,尝试在snmpd.conf顶部添加这样的内容:
# Listen for connections on all interfaces (both IPv4 *and* IPv6)
agentAddress udp:161,udp6:[::1]:161https://serverfault.com/questions/393002
复制相似问题