Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-13267

How to solve this ERROR that occurred during SNMPv3 trap dispatching?

    XMLWordPrintableJSON

Details

    • Test
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.0.0
    • None
    • alerts
    • None
    • cenOS6.5

    Description

      When Ambari dispatched the SNMPv3 trap, error happened. In the logs, it shows :
      ERROR [alert-dispatch-14] SNMPDispatcher:126 - Error occurred during SNMP trap dispatching.
      java.lang.NullPointerException
      at org.snmp4j.security.AuthGeneric.passwordToKey(AuthGeneric.java:205)
      at org.snmp4j.security.SecurityProtocols.passwordToKey(SecurityProtocols.java:269)
      at org.snmp4j.security.USM.getUser(USM.java:261)
      at org.snmp4j.security.USM.generateResponseMessage(USM.java:355)
      at org.snmp4j.security.USM.generateRequestMessage(USM.java:215)
      at org.snmp4j.mp.MPv3.prepareOutgoingMessage(MPv3.java:767)
      at org.snmp4j.MessageDispatcherImpl.sendPdu(MessageDispatcherImpl.java:437)
      at org.snmp4j.Snmp.sendMessage(Snmp.java:1051)
      at org.snmp4j.Snmp.send(Snmp.java:875)
      at org.snmp4j.Snmp.send(Snmp.java:868)
      at org.snmp4j.Snmp.send(Snmp.java:833)
      at org.apache.ambari.server.notifications.dispatchers.SNMPDispatcher.sendTraps(SNMPDispatcher.java:203)
      at org.apache.ambari.server.notifications.dispatchers.SNMPDispatcher.dispatch(SNMPDispatcher.java:120)
      at org.apache.ambari.server.notifications.DispatchRunnable.run(DispatchRunnable.java:58)
      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)

      I don't know why it happens and how to solve the problem?

      Attachments

        Activity

          People

            Unassigned Unassigned
            danruoxiachu huang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: