subagent and EndOfSubtree event
Sergey Matveychuk <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi! What is a correct way to say we're reached End Of Subtree by subagent for GETNEXT request? Most natural way I see - to return error. But it does not look good by snmpwalk: NET-SNMP-MIB::netSnmp.2.1.2.0.5.98 = INTEGER: 0 NET-SNMP-MIB::netSnmp.2.1.2.0.5.99 = INTEGER: 0 NET-SNMP-MIB::netSnmp.2.1.2.0.5.99 = No Such Instance currently exists at this OID OK. I opened snmpwalk sources and made a hack - decremented BaseOID length (with snmp_set_var_objid()). snmpwalk looks good with it: NET-SNMP-MIB::netSnmp.2.1.2.0.5.98 = INTEGER: 0 NET-SNMP-MIB::netSnmp.2.1.2.0.5.99 = INTEGER: 0 But php-snmp's snmprealwalk() drives crazy - loops forever. What is a correct way to say we're out of band? ------------------------------------------------------------------------------ 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