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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.3.0.GA_CP10
    • 4.3.0.GA_CP09
    • SNMP
    • JBoss Enterprise Application Platform 4.3.0_CP09

    • Release Notes
    • 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
    • ASSIGNED

      Snmp Adapter returning Gauge32 instead of Counter64

              jaredmorgs_jira Jared Morgan (Inactive)
              rhn-support-mus Mustafa Musaji
              Jared Morgan Jared Morgan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: