Re: Register_int handler

"Nikos Balkanas" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <001101c96cfd$2b119cb0$02b2a8c0@tardis>
Thanx for the reponse.

This is a multithreaded agent. What happens if 2 or more simultaneous calls 
try to set the same variable? How can I tell apart the different states of 
the same set request? Is there a unique ID or something?

I presume returning 0 means success, anything else failure.

As far as the rest of your comments, I appreciate your input and apologize 
for my behaviour. However, I am complaining because I would like to see 
developers frequenting the group and picking up some of the load. There are 
broken tutorials and outdated examples & documentation. I have unanswered 
questions 2 weeks old, (broken mib2c, netsnmp 5.1.1 coding) which by now are 
irrelevant, since I was forced to move on  to alternative options.
I appreciate the voluntary contribution of the involved people. However, an 
open source project, not maintained, just gives bad name to the whole 
movement. As long as it exists, people are expecting us to provide them with 
solutions based on it. If it comes to no support from the more experienced 
users to newcomers, the basis of open source, maybe it would be better for 
everyone involved just to pull the plug on it.

Of course I am not referring to you, since you are the only one helping out 
and have done a remarkable job closing up issues since you returned.

BR,
Nikos
----- Original Message ----- 
From: "Wes Hardaker" <[email protected]>
To: "Nikos Balkanas" <[email protected]>
Cc: <[email protected]>
Sent: Friday, January 02, 2009 5:16 PM
Subject: Re: Register_int handler


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