[SNMP4J] Setting Agent managed object values
Eugene R. Snider
gene at cvtt.net
Sat Oct 20 23:04:21 CEST 2007
In the TestAgent and ifMIB example code how does the Agent update the
values of a managed object? For example if I use the static creation
example to create rows for the ethernet devices how do I update inOctets
or outOctets from the agent side? For the MOScalar class there is a well
defined setValue function but I can't find an equivalent function for
cells in a row. I thought I might need to maintain a copy of the row
locally but I can't find an update function. Would I need to remove and
re-add the row whenever a value in one column changed?
Or is there some way to provide a callback function that the agent will
invoke to manage the object?
Thanks,
Gene
More information about the SNMP4J
mailing list