On 08/08/07, Need Help <[EMAIL PROTECTED]> wrote:
> In our implementation, the "ocStbHostSoftwareVersion" data is not being
> supported right now so there will be no way to obtain thsi data.   What is
> the best way to handle a SNMP request from the real world asking for this
> data?
>
> I was thinking about simply returning SNMP_NOSUCHINSTANCE

If you are not supporting this object at all, then querying any instance of it
should return the 'noSuchObject' exception.

Returning 'noSuchInstance' implies that there might be some index value
where you *would* return a valid value.   It's generally regarded as poor
form to lie to your users in that way.

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to