Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-6504

SNMP: Fix Long return types for 64 bit equivalent in SNMP

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • EAP_EWP 5.1.2 ER1
    • EAP_EWP 5.1.0
    • SNMP
    • Hide
      When a Long value was passed in to the SNMP Adapter, there was no option to convert this to a <literal>Counter64</literal> type but only as <literal>Gauge32</literal>. This caused the return value to be of the incorrect type 32bit and not 64bit. The JVM argument <parameter>-Djboss.snmp.use64bit</parameter> is now available. It can be used to specify that 64bit data types should be returned by the SNMP adapter. Usage <parameter>-Djboss.snmp.use64bit=true</parameter>. The default value is <literal>false</literal>. When set, all Long types are returned as 64bit values. For backward compatibility the default value is <literal>false</literal> so existing setups will not change when a later version of the code is used.
      Show
      When a Long value was passed in to the SNMP Adapter, there was no option to convert this to a <literal>Counter64</literal> type but only as <literal>Gauge32</literal>. This caused the return value to be of the incorrect type 32bit and not 64bit. The JVM argument <parameter>-Djboss.snmp.use64bit</parameter> is now available. It can be used to specify that 64bit data types should be returned by the SNMP adapter. Usage <parameter>-Djboss.snmp.use64bit=true</parameter>. The default value is <literal>false</literal>. When set, all Long types are returned as 64bit values. For backward compatibility the default value is <literal>false</literal> so existing setups will not change when a later version of the code is used.
    • Documented as Resolved Issue
    • NEW

    Description

      Snmp Adapter returning Gauge32 instead of Counter64

      Attachments

        Issue Links

          Activity

            People

              rhn-support-mus Mustafa Musaji
              rhn-support-mus Mustafa Musaji
              Russell Dickenson Russell Dickenson (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: