I don't create these tokens myself. I only write "createUser"(with necessary parameters) in /var/ucd-snmp/snmptrapd.conf (for ucd-snmp-0.4.2.5). After this once I start and then stop my application, I see "createUser" replaced by three tokens: usmUser engineBoots oldEngineID And then after restarting my application it complains about the last two tokens. I have tried the same by preparing a new application program, using the code of snmpget/set, snmptrapd and using threads so that I can achieve the functionality of both in parallel. Everything works fine here. So now I am convinced that something is not in order in my previous application. Thats what I am curious to find out so that I don't make that mistake again.
Thanks for the help. Wes Hardaker wrote: > > >>>>> On Mon, 02 Aug 2004 14:26:22 +0200, Narinder Soni <[EMAIL PROTECTED]> said: > > Narinder> Ya, I am also trying to find out the same i.e. why my > Narinder> app. doesn't pick up these tokens automatically. May be - > Narinder> while mixing up the code of snmpget and snmptrapd I have > Narinder> eaten up something(I did this 2 years back) or I have called > Narinder> the initialization routines in different order or this is > Narinder> happening because of some of the Traditional API > Narinder> functions(which I also don't think so) which I have used > Narinder> instead of Single API (as mentioned in README.threads). > > The thing is you shouldn't have those tokens generally stored in a > management app in the first place, which is why it's confusing you're > seeing them at all in a management application. > > -- > Wes Hardaker > Sparta ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com _______________________________________________ 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