Re: "No Such Instance"
"Dave Shield" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
On 27/02/07, Shuaib Siddiqui <[email protected]> wrote: > By printing the parameters (vp, name, length, exact, etc) passed to the > routine that handles the request for the scalar MIB objects, I found out > that some of them are incorrect Quite honestly, I doubt that. This particular API has been around for something over ten years, and is pretty stable by now. It's much more likely (IMO), that your code to define and register the MIB object structure is incorrect. > For example the value of vp->magic, > vp->type, vp->acl, etc. I think it would be interesting to know how these > variable handling routines are called Those parameters are taken straight from the 'struct varN' array that you define as part of registering the MIB objects. > because apparently the parameter that > are passed to it are incorrect. Then I suggest you look closely at this data structure in your code. Please note that it would be a *lot* easier to comment if you were prepared to share the code that you're using. Trying to guess what you might be doing wrong is almost impossible! Dave ------------------------------------------------------------------------- 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-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