[SNMP4J] problem w/ Counter64?
Frank Fock
fock at agentpp.com
Tue Jun 24 23:31:12 CEST 2008
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.
>
>
--
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com
More information about the SNMP4J
mailing list