On Tue, 2005-09-13 at 08:38 -0700, Tom Cumming wrote: > I am writing an agent using 5.2.1 and mib2c/mfd. If my agent > receives a GET request, but the column has not been implemented yet, I > return MFD_SKIP. If I use snmpget to kick off a GET request, the > *_interface.c code returns ASN_PRIV_RETRY and no error.
But if a given object doesn't exist at all, then the usual behaviour is for a MIB implementation module to return a 'noSuchObject' error (exception). If the object is implemented, but the requested row of the table does not, then the code should return 'noSuchInstance'. "Skipping" is usually reserved for holes in the table - where the specified row does exist, but the particular column requested does not. Note that Robert is the expert on the MfD mechanism, so he may wish to comment on how closely (or not!) this general description applies to that particular framework. Dave ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users