Re: Register_int handler

Wes Hardaker <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Sparta
Message-ID <[email protected]>
>>>>> On Thu, 1 Jan 2009 23:30:12 +0200, "Nikos Balkanas" <[email protected]> said:

NB> Hi,
NB> During development of my own handlers, after putting a trace on the
NB> handler I notice that it is called 4 times during an snmpset
NB> operation. 2 with the old value and 2 with the new value. This apart
NB> from dangerous, seems a waste of resources to do a simple set. What
NB> instance does each call respresent? Can I avoid it? Am I doing
NB> something wrong?

See the flow diagram and description of SET processing here:

http://net-snmp.sourceforge.net/wiki/index.php/TUT:Writing_a_MIB_Module#Set_Processing

Please don't post your not a bunch of times within 24 hours and complain
that no one is answering.  It only annoys people that volunteer their
time to help answer questions without being paid for it.
-- 
Wes Hardaker
Sparta, Inc.

------------------------------------------------------------------------------
_______________________________________________
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.