Re: Sequence of invoking handler

This is a discussion on Re: Sequence of invoking handler within the SNMP Coders forums, part of the Networking and Network Related category; On Wed, 16 Mar 2005 09:46:02 +0100 Grasic wrote: GI> Beside that, I've written my own ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-28-2005
Robert Story
 
Posts: n/a
Default Re: Sequence of invoking handler

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/...et-snmp-coders
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:55 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0