Re: subagent and EndOfSubtree event

Sergey Matveychuk <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Dave Shield wrote:
> 2009/5/20 Sergey Matveychuk <[email protected]>:
>> What is a correct way to say we're reached End Of Subtree by subagent
>> for GETNEXT request?
> 
> Return the 'endOfMibView' exception - see RFC 2741, section 7.3.2.2.
> 
> This should be handled automatically by the subagent framework.
> All your MIB module handler typically needs to do is return without
> setting a value.

I've tried it, but snmpwalk got a timeout:

NET-SNMP-MIB::netSnmp.2.1.2.0.5.98 = INTEGER: 0
NET-SNMP-MIB::netSnmp.2.1.2.0.5.99 = INTEGER: 0
Timeout: No Response from localhost

Waiting is even worse than immediately returns with an error.

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
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.