On Wed, 9 Mar 2005 13:54:16 -0600 Mike wrote: MK> Here's the situation. I have a subagent running to handle a private MK> MIB that I wrote.
What release are you using? What type of handler are you using? Did you use mib2c to generate the code? MK> If I try to run snmpset on more than one variable MK> at once, the agent spits out an error message saying that an assertion MK> failed in netsnmp_check_requests_status(). Are all the objects in the same handler, or different ones? MK> I'm wondering if I'm missing something in the subagent code to handle MK> snmpsets with multiple variables. Probably not. It indicates an unexpected condition in the agent, and is there so we can try and figure out how this condition happens. MK> >From the mailing list archives, it seems that this error message won't MK> hurt anything, but I'd like to avoid it if possible. Apart from MK> dumping stderr logging to /dev/null, is there any way I can fix or MK> otherwise suppress this message? There are two options, and both require rebuilding the agent. One option is to delete the netsnmp_assert in that particular file. That will handle that one case. The other is to change line 36 of include/net-snmp/library/snmp_assert.h from # ifndef SNMP_NO_DEBUGGING to # if 0 -- Robert Story; NET-SNMP Junkie Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp> Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders> You are lost in a twisty maze of little standards, all different. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
