[snmp] bulk request

Ferry Huberts ferry at hupie.com
Thu Apr 10 14:42:14 BST 2008


Hi!

I'm trying to send out a PDU for a bulk request. When there are less entries in the table I'm
trying to retrieve than the MaxRepetitions it doesn't work and I get


uk.co.westhawk.snmp.stack.DecodingException: Incorrect packet. No of bytes received less than
packet length.
	at uk.co.westhawk.snmp.stack.Pdu.fillin(Pdu.java:914)
	at uk.co.westhawk.snmp.stack.SnmpContextv2c.processIncomingResponse(SnmpContextv2c.java:150) at
uk.co.westhawk.snmp.stack.AbstractSnmpContext.run(AbstractSnmpContext.java:532) at
java.lang.Thread.run(Thread.java:619)

I would have thought that this would work, that it would just return the number of entries in the
table. Am I misunderstanding functionality or is it a bug?

I'm using v6.0
--
Ferry Huberts










More information about the snmp mailing list