I'm afraid i got a new problem. I can insert any string on my MIB with basic snmpset on my linux OS.
I use the NetMgrVb dll to work with windows, so far no problem until now. After some test, it appear that I can't add a string superior to 8 char on m MIB, dunno why. When I debug log message, I found that problem appear : [NetMgrVB.Mod.SnmpAgentRequest][WAPI]=5 On http://msdn.microsoft.com/en-us/library/windows/desktop/aa378241(v=vs.85).aspx, I guess it's the : SNMPAPI_ENTITY_INVALID One or both of the entity parameters is invalid. SNMPAPI_CONTEXT_INVALID The context parameter is invalid. I dunno how to get it work then, can you help me out with that ? --------------------------------------------------------------------------- -----Message d'origine----- De : Dave Shield [mailto:[email protected]] Envoyé : jeudi 2 août 2012 16:05 À : Jérôme BELLEGARDE Cc : [email protected] Objet : Re: Problème String into OID On 2 August 2012 14:44, Jérôme BELLEGARDE <[email protected]> wrote: > My question is now, how can I store a string into an OID Please see the code in 'agent/mibgroup/examples/watched.c' which does exactly this. Dave ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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
