4 Replies Latest reply on Oct 9, 2006 6:33 AM by pilhuhn

    SNMP support

    ssundell

      Hello,

      I'm developing an application using JBoss, and one of the requirements for this application is SNMP monitoring support.

      The JBoss SNMP adaptor supports reading properties using SNMP etc as well as sending SNMP traps. However, I'd like to know a bit more about the support.

      Specifically, is there support for sending SNMPv2 traps, and if there is, how are they configured?

      Thanks,
      Sami Sundell

        • 1. Re: SNMP support
          dimitris

          There is a version tag in managers.xml and snmp-adaptor/META-INF/jboss-service.xml to choose between v1 and v2.

          • 2. Re: SNMP support
            ssundell

            Yeah, I noticed it, but by default it results in broken SNMPv2 notifications: you'd need to create a new mapping as well as a JMX notification that would set at least the SNMPv2 notification type and sysUptime into the SNMPv2 message.

            It also seems that the time-stamp is entered as milliseconds, shouldn't it be in 1/100 seconds?

            I made some changes to the SNMP adaptor code to support the translation procedure described in RFC3584 to translate the SNMPv1 parameters into SNMPv2 traps. I can submit that code if it's of any use.

            • 3. Re: SNMP support
              dimitris

              Sure, that's the whole point of opensource!

              • 4. Re: SNMP support
                pilhuhn

                Yes of course, submit it please at jira.jboss.com