[SNMP4J] own agent with own mib

Martin Fischer fischerm at it.uts.edu.au
Wed Dec 5 00:01:28 CET 2007


Hi,
we want to implement our own SNMP agent with our own mib. So we took the
AgenPro tool and created a mib class from our mib file. The testagent
registers the mib with
xyzMib.registerMOs(server,null);
I think this is working fine to that point. How can we actually change
the data of the scalars?
E.g. we have a MOScalar called serverIP. How can we set or change this
IP address?
We created a method setServerIp that just does
serverIp.setValue(ipAddress);

But when we check the OID of the serverIP with a MIB browser, we just
get the message "No such object"
Is there something else we have to do?

Cheers
Martin



More information about the SNMP4J mailing list