Re: set request received more than once.

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 24 February 2010 11:32, Tanisha Kashyap <[email protected]> wrote:
> There is only var in my MIB on which I can do a set.

What about other MIBs?


> The code under RESERVE1 and RESERVE2 is just validating the data
> received in the request for correct datatype and range.
> The code under ACTION is the main code which is invoking a function.
>
> So I believe that all the cases are executed again for the SET request.

What debug output do you have in your module code?
What does this display when it processes such a repeated SET request?

Try running the agent using
    snmpd -d -f -Le
            (plus any other options you normally use)
and then issue the SET request.
This will show whether the agent is receiving a single request packet,
or multiple ones.

Dave

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
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.