[SNMP4J] own agent with own mib
Frank Fock
fock at agentpp.com
Wed Dec 5 00:09:38 CET 2007
Hi Martin,
Have you checked
(a) that xyzMib.registerMOs(server,null); gets actually called
(b) that the OID of the scalar is in the MIB view of the user
(community) you are using to access the agent?
Best regards,
Frank
Martin Fischer wrote:
> 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
> _______________________________________________
> SNMP4J mailing list
> SNMP4J at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/snmp4j
--
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com
More information about the SNMP4J
mailing list