0 Replies Latest reply on Mar 10, 2009 12:35 PM by First Last

    Variable of type 'short' not handled by SNMP manager

    First Last Newbie


      I am currently configuring the Jboss server (jboss-4.0.5.GA) to be able to map MBeans to SNMP variables. It seems to work with Long and String variables but not for 'short' ones.
      I use GetIf to browse SNMP variables. I successfully get the first 2 variables. The 1st one is an Integer and the 2nd one is a String. But, for the 3rd variable, I can read in Jboss logs:
      2009-03-10 17:17:59,383 INFO [SnmpPortal--1] [org.jboss.jmx.adaptor.snmp.agent.SnmpAgentService] Unknown type for [oid=., mbean=xxxxxxxxxxxxxx:name=Adminxxxxxx,type=counter, attr=xxxxxx, rw=true] which is a declared as a Short in the MBean descriptor.
      to validate my assumption, I have changed the type of that 3rd variable and then, I get it with GetIf.

      My request is kindly similar to this one one: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=98862&start=-10&postdays=postDays&postorder=postOrder&highlight=highlight

      How is it possible to map variables that have other type than Integer or String? Of course, it is impossible for me to really change the MBean descriptor :(

      Thanks for your answers.