Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-7068

SNMP4J logs going to output.log

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 14.0.0
    • Fix Version/s: 14.0.0
    • Component/s: Logging
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None

      Description

      Having run for only a few minutes, I'm already getting a ton of exceptions like this in output.log:

      java.io.IOException: No route to host
              at java.net.PlainDatagramSocketImpl.send(Native Method)
              at java.net.DatagramSocket.send(DatagramSocket.java:676)
              at org.snmp4j.transport.DefaultUdpTransportMapping.sendMessage(DefaultUdpTransportMapping.java:117)
              at org.snmp4j.transport.DefaultUdpTransportMapping.sendMessage(DefaultUdpTransportMapping.java:42)
              at org.snmp4j.MessageDispatcherImpl.sendMessage(MessageDispatcherImpl.java:202)
              at org.snmp4j.MessageDispatcherImpl.sendPdu(MessageDispatcherImpl.java:503)
              at org.snmp4j.Snmp.sendMessage(Snmp.java:1004)
              at org.snmp4j.Snmp.send(Snmp.java:898)
              at org.snmp4j.Snmp.send(Snmp.java:878)
              at org.snmp4j.Snmp.send(Snmp.java:843)
              at org.opennms.netmgt.snmp.snmp4j.Snmp4JStrategy.send(Snmp4JStrategy.java:262)
              at org.opennms.netmgt.snmp.snmp4j.Snmp4JStrategy.buildAndSendPdu(Snmp4JStrategy.java:234)
              at org.opennms.netmgt.snmp.snmp4j.Snmp4JStrategy.get(Snmp4JStrategy.java:192)
              at org.opennms.netmgt.snmp.snmp4j.Snmp4JStrategy.get(Snmp4JStrategy.java:173)
              at org.opennms.netmgt.snmp.SnmpUtils.get(SnmpUtils.java:82)
              at org.opennms.netmgt.provision.detector.snmp.SnmpDetector.getValue(SnmpDetector.java:173)
              at org.opennms.netmgt.provision.detector.snmp.SnmpDetector.isServiceDetected(SnmpDetector.java:114)
              at org.opennms.netmgt.provision.service.IpInterfaceScan$2.run(IpInterfaceScan.java:187)
              at org.opennms.core.tasks.SyncTask.run(SyncTask.java:93)
              at org.opennms.core.tasks.SyncTask$1.run(SyncTask.java:105)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
              at java.util.concurrent.FutureTask.run(FutureTask.java:262)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
              at java.util.concurrent.FutureTask.run(FutureTask.java:262)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
              at java.util.concurrent.FutureTask.run(FutureTask.java:262)
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
              at java.lang.Thread.run(Thread.java:745)

        Attachments

          Activity

            People

            • Assignee:
              ranger Benjamin Reed
              Reporter:
              ranger Benjamin Reed
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: