Hello,
I've compiled the new module I'll be using in the agent. It generated both files. The thing is, apparently you have to modify some of the code. Doesn't the mib2c generates it all?
There are some places that say:
snmp_set_var_typed_value(requests->requestvb, ASN_OCTET_STR,
(u_char *) /* XXX: a pointer to the scalar's data */,
/* XXX: the length of the data in bytes */);
where I suppose you have to fill in the XXX. What do you have to do in order to complete this?
Also in another place I have to fill in the part of the switch (it's a read-write object) and you have to fill in the case MODE_SET_RESERVE1, case MODE_SET_FREE and much more. What do you have to place in here? is there a document that says what to do?
Can mib2c generate the full code? one you don't have to modify?
Lastly, I would like to know if for snmpv3, the snmp message travels encripted? How do you set up an enviroment to work with snmpv3? When using snmpv3 you execute the commands with -v 3 and the message comes back encripted?
Thanks a lot.
_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus
------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Net-snmp-users mailing list [EMAIL PROTECTED] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users