Hi,
is there a bug with snmp tables and JMX for arrays?
I added the mib spec for Java7 and I always get "no entries" when calling
$ snmptable myip -v 2c -c public -m +JVM-MANAGEMENT-MIB -Os -Cw 70 -Ci
1.3.6.1.4.1.42.2.145.3.163.1.1.4.20
although I know that the table must have some entries.
Thanks
On 2/20/2013 11:15 PM, Frank Fock wrote:
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
[email protected]
http://lists.agentpp.org/mailman/listinfo/snmp4j
_______________________________________________
SNMP4J mailing list
[email protected]
http://lists.agentpp.org/mailman/listinfo/snmp4j