On Wed, 16 Mar 2005 09:46:02 +0100 Grasic wrote:
GI> Beside that, I've written my own helper handler takes care for returning
GI> values, etc... When handling multiple requests from the same handler and in
GI> the same handler call, and one of the request is not valid, handler is
GI> called once again for vars, that WERE SUCCESFULLY handled in previous call
GI> (see trace log). Is this normal behaviour?

GI> EXAMPLE
GI> ================================
GI> Request for variables:
GI> .1.3.6.1.4.1.1448.2.10.1.1.1.1.7.2.101.1
GI> .1.3.6.1.4.1.1448.2.10.1.1.1.1.7.2.101.21 (index of this one is intentially
GI> pushed out of limits)
GI> 
GI> TRACE
GI> ================================
GI> trace: receive(): snmpd.c, 1171:
GI> trace: row_idx_helper_itr_can_next(): itr_helpers.c, 1556:
GI> Requested OID: .1.3.6.1.4.1.1448.2.10.1.1.1.1.7.2.101.1
GI> returned object size: 4, exit code: 0
GI> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
GI> trace: row_idx_helper_itr_can_next(): itr_helpers.c, 1556:
GI> Requested OID: .1.3.6.1.4.1.1448.2.10.1.1.1.1.7.2.101.21
GI> returned object size: 4, exit code: 2
GI> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

GI> trace: receive(): snmpd.c, 1171:
GI> trace: row_idx_helper_itr_can_next(): itr_helpers.c, 1556:
GI> Requested OID: .1.3.6.1.4.1.1448.2.10.1.1.1.1.7.2.101.1
GI> returned object size: 4, exit code: 0
GI> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
GI> trace: netsnmp_udp_send(): snmpUDPDomain.c, 167:
GI> 
GI> ...end of trace log.
GI> --------------------------------------------------------
GI> 
GI> Anybody can help?

Note that it is actually a second request, not additional processing of the
initial request. See the description of the -Cf flag in the snmpget man page.

-- 
Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to