Narayana Smaranas, Thanks for your response.
If that be the case, is the way the SET operation works changed from UCD-SNMP to NET-SNMP implementations ? In UCD-SNMP, the same subagent code was returning a "Commit failed" error. But no errors are returned in Net-snmp. Narayana Smaranas, Venkatesha. --- Wes Hardaker <[EMAIL PROTECTED]> wrote: > >>>>> "KRV" == K R Venkateshan <K> writes: > > KRV> But on a Net-SNMP system (5.1.4), the same > sub-agent > KRV> code, even though is returning a > KRV> "SNMP_ERR-COMMITFAILED" or any other SNMP > error, still > KRV> the client does not receive any error as part > of the > KRV> SNMP response. > > KRV> But when I move the commit phase code to the > action > KRV> phase within the sub-agent, I get the exact > error code > KRV> as provided by the subagent. > > The commit phase shouldn't be allowed to have errors > (and if it does, > it's too late to revert the change). > > See: > http://www.net-snmp.org/wiki/index.php/TUT:Writing_a_MIB_Module > > on the bottom of that page is the diagram for how > the flow works. > Errors should be checked for during the action > phase. > > > -- > Wes Hardaker > Sparta, Inc. > __________________________________________________________ Yahoo! India Answers: Share what you know. Learn something new http://in.answers.yahoo.com/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
