Yup, that was the problem.
Thanks!
Frank Fock wrote:
Hi Jeff,
Counter64 is not support with SNMPv1. Try to
issue a SNMPv2c or v3 request.
Best regards,
Frank
Jeff Ramin wrote:
Hi folks.
I'm writing agent software, using the snmp4j-agent library. I'm wrapping
a Counter64 in a VariantVariable, which represents the current system
time in milliseconds (a long value).
When the OID is requested, I'm calling setValue(long value). The reply
from the DefaultMOServer is that the OID is "not available for
retrieval".
I don't see any stack traces.
If I use an Integer32 (and setValue(int value)) instead of the Counter64,
everything works fine.
Any guesses as to what the problem is? Thanks.
--
Jeffrey Ramin
Berbee
[EMAIL PROTECTED]
608.298.1024
_______________________________________________
SNMP4J mailing list
[email protected]
http://lists.agentpp.org/mailman/listinfo/snmp4j