RE: not-accessible objects

"Mike Ayers" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <83E753BE7B6A324ABB336245BAF1DAAC098B46AA@mailserver.metatv-ds.metatv.com>
> From: Arazo Camprecios, Marc [mailto:[email protected]] 
> Sent: Thursday, October 16, 2008 12:34 AM

> I've have implemented a MIB in which I have some objects 
> that, at the moment, I don't want them to be accessible but 
> maybe, in the future, they will. I have already implemented 
> the code for the GET and the SET requests. How can I make the 
> agent to return "an error" like "objects no-accessible" 
> without having to rewrite my code? What happens if I declare 
> them as not-accessible?

	Just comment them out with a note that they may be implemented later.  It is pointless to have an agent implement nonexistent objects.


	HTH,

Mike

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.