Opennms,新节点无法识别snmp

时间:2018-07-27 11:34:31

标签: opennms

升级到版本22.0.2后,新节点无法识别snmp。

output.log:

Exception in thread "DefaultUDPTransportMapping_0.0.0.0/0" java.lang.RuntimeException: java.net.SocketException: Socket closed
at org.snmp4j.transport.DefaultUdpTransportMapping$ListenThread.run(DefaultUdpTransportMapping.java:455)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.net.SocketException: Socket closed
at java.net.PlainDatagramSocketImpl.receive0(Native Method)
at java.net.AbstractPlainDatagramSocketImpl.receive(AbstractPlainDatagramSocketImpl.java:144)
at java.net.DatagramSocket.receive(DatagramSocket.java:812)
at org.snmp4j.transport.DefaultUdpTransportMapping$ListenThread.run(DefaultUdpTransportMapping.java:397)
... 1 more

这是我重新扫描节点时tcpdump的输出:

root@opennms:/etc/opennms# tcpdump -i any -nn port snmp
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on any, link-type LINUX_SLL (Linux cooked), capture size 262144 bytes
15:26:54.101042 IP 10.108.128.37.56197 > 10.108.128.31.161: C="public" GetBulk(92) N=6 M=1 .1.3.6.1.2.1.1.1 .1.3.6.1.2.1.1.2 .1.3.6.1.2.1.1.3 .1.3.6.1.2.1.1.4 .1.3.6.1.2.1.1.5 .1.3.6.1.2.1.1.6
15:26:54.101064 IP 10.108.128.37.56197 > 10.108.128.31.161: C="public" GetBulk(92) N=6 M=1 .1.3.6.1.2.1.1.1 .1.3.6.1.2.1.1.2 .1.3.6.1.2.1.1.3 .1.3.6.1.2.1.1.4 .1.3.6.1.2.1.1.5 .1.3.6.1.2.1.1.6
15:26:54.105236 IP 10.108.128.31.161 > 10.108.128.37.56197: C="public" GetResponse(254) .1.3.6.1.2.1.1.1.0="Linux server-0 4.9.0-6-amd64 #1 SMP Debian 4.9.88-1+deb9u1 (2018-05-07) x86_64" .1.3.6.1.2.1.1.2.0=.1.3.6.1.4.1.8072.3.2.10 .1.3.6.1.2.1.1.3.0=148528167 .1.3.6.1.2.1.1.4.0="Me <me@example.org>" .1.3.6.1.2.1.1.5.0="sever-0" .1.3.6.1.2.1.1.6.0="Sitting on the Dock of the Bay"
15:26:54.105236 IP 10.108.128.31.161 > 10.108.128.37.56197: C="public" GetResponse(254) .1.3.6.1.2.1.1.1.0="Linux server-0 4.9.0-6-amd64 #1 SMP Debian 4.9.88-1+deb9u1 (2018-05-07) x86_64" .1.3.6.1.2.1.1.2.0=.1.3.6.1.4.1.8072.3.2.10 .1.3.6.1.2.1.1.3.0=148528167 .1.3.6.1.2.1.1.4.0="Me <me@example.org>" .1.3.6.1.2.1.1.5.0="server-0" .1.3.6.1.2.1.1.6.0="Sitting on the Dock of the Bay"

0 个答案:

没有答案