[SNMP4J] SNMP & JMX - Arrays

Frank Fock fock at agentpp.com
Wed Feb 20 23:15:08 CET 2013


Hi David,

The SEQUENCE type is a SNMP table with a single column which can
be also the index at the same time (alterantively an unsigned integer can
be used as index too).
SNMP4J-JMX provides a mapping exactly for that. An example is the
jvmMemManagerName SMI object which is mapped to the
java.management.MemoryManagerMXBean.

Thus, the answer is:
1. Yes, it is supported by SNMP4J-AgentJMX.
2. Yes, a SNMP MIB can specify a valid construct to map a SEQUENCE MBean.

Best regards,
Frank

Am 20.02.2013 15:03, schrieb david pocivalnik:
> Hi,
>
> I was looking for a way to get an attribute that is of the type String[]
> when I realized that snmp4j is missing a representation for the type
> SEQUENCE. I'm just curious b/c I couldn't find anything why this is not
> implemented, or either if it was dropped from the spec.
>
> But as I saw in your example MibInst in snmp4j-agent-jmx you also
> "ignored" the attribute *MemoryManagerNames* in
> java.lang:type=MemoryPool;name=* which would be of type String[]
>
> thus my question, is this not supported yet by snmp4j, or is there no
> support in snmp at all?
>
> Thanks and BR
> David
> _______________________________________________
> SNMP4J mailing list
> SNMP4J at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/snmp4j

-- 
---
AGENT++
Maximilian-Kolbe-Str. 10
73257 Koengen, Germany
https://agentpp.com
Phone: +49 7024 8688230
Fax:   +49 7024 8688231




More information about the SNMP4J mailing list