Re: Net-SNMP blocking for SET requests

2010-03-27 Thread madanagopal
Hi, > On Wed, 24 Mar 2010 14:02:52 +0530 (IST) madanagopal wrote: > M>I came to know of a problem in Net-SNMP where if there is a SET request > M> outstanding in the agent, it will not process any other request (even > M> though the new request is a GET request for a d

Net-SNMP blocking for SET requests

2010-03-24 Thread madanagopal
Hi, I came to know of a problem in Net-SNMP where if there is a SET request outstanding in the agent, it will not process any other request (even though the new request is a GET request for a different OID). Is the problem correct? Is the problem still there? When is it likely to be solved?

Re: Regarding SET requests

2005-10-25 Thread madanagopal
hai, > > madanagopal> If a SET request is pending in the agent, what other > madanagopal> requests will be put on hold until that SET request is > madanagopal> processed? Is it that requests for oids handled by > madanagopal> handlers different from the on

Regarding SET requests

2005-10-25 Thread madanagopal
hai, If a SET request is pending in the agent, what other requests will be put on hold until that SET request is processed? Is it that requests for oids handled by handlers different from the one for that SET request will also put on hold? What about requests for other contexts? We are com

Re: how to send context name in a v3 trap

2005-08-18 Thread madanagopal
On Sat, 11 Dec 2004, Wes Hardaker wrote: > >>>>> On Tue, 16 Nov 2004 18:37:56 +0530 (IST), madanagopal <[EMAIL > >>>>> PROTECTED]> said: > > If it is the case, can i do the following steps to send a v3 trap with > different contexts: > > 1

Re: how to return no such instance for delegated requests

2005-03-02 Thread madanagopal
hai, > M> Currently we support GET and GETNEXT only. Anyway to support GET-BULK > M> using the table handler what should we do? Should we add bulk-to-next > M> handler? > > Yep. In fact, it's probably already being done for you. > Does this mean that in our handler is it enough to have a case

Re: how to return no such instance for delegated requests

2005-02-25 Thread madanagopal
hai, M> I know that i will get queries for only certain columns which will be > M> always walks. > > No, you don't know that. You may know that *your* management application will > only send walks for columns, but you have no idea what some other user who has > access to your agent will do. Thu

Re: how to return no such instance for delegated requests

2005-02-24 Thread madanagopal
hai, > M> > M> If [the response] has not come, i set "SNMP_ERR_NOSUCHNAME" to > M> > M> requests->status and unmark the request as delegated. But i get > another > M> > M> > M> > M> request for the next registered mib tree. > M> > M> [...] > M> > M> when i don't delegate the request but still s

Re: how to return no such instance for delegated requests

2005-02-23 Thread madanagopal
hai, > M> If [the response] has not come, i set "SNMP_ERR_NOSUCHNAME" to > M> requests->status and unmark the request as delegated. But i get another > M> request for the next registered mib tree. > M> [...] > M> when i don't delegate the request but still set "SNMP_ERR_NOSUCHNAME", the > M> ag

how to return no such instance for delegated requests

2005-02-23 Thread madanagopal
hai, I have extended the agent to support my own oids of a MIB. Since the source for these data is external, i mark these requests as delegated and communicate these requests to another process through sockets. Now when the responses come from that process, i am unmarking the request as dele

Re: how to send context name in a v3 trap

2004-11-16 Thread madanagopal
> >>>>> On Tue, 9 Nov 2004 14:22:34 +0530 (IST), madanagopal <[EMAIL > >>>>> PROTECTED]> said: > > madanagopal> I want to send a v3 trap from agent. So i am using > madanagopal> send_v2trap(). I have defined v3 parameters using >

how to send context name in a v3 trap

2004-11-09 Thread madanagopal
hai, I want to send a v3 trap from agent. So i am using send_v2trap(). I have defined v3 parameters using trapsess line in snmpd.conf. But i want to send different context name for different traps. How to set the context name for each trap from agent? --

Re: how to send a v3 trap from agent

2004-10-27 Thread madanagopal
hai, I tried to find out the way but was not able to do so. Any help would be greatly appreciated. Sorry for resending. bye. On Wed, 20 Oct 2004, madanagopal wrote: > hai, >I want to send a v3 trap using snmptrap utility and from agent. > I added the following line in /var

how to send a v3 trap from agent

2004-10-20 Thread madanagopal
hai, I want to send a v3 trap using snmptrap utility and from agent. I added the following line in /var/net-snmp/snmptrapd.conf: createUser -e 0x1234567890 testuser MD5 testpasswd and started snmptrapd and issued the following command: snmptrap -e 0x1234567890 -v3 -u testuser -a MD5 -l authNo

Re: AW: how to send a v3 trap

2004-07-09 Thread madanagopal
> > I didn't add the createUser line. If i add it is now working only for > > informs(snmpinform or snmptrap -Ci). But it is not working for traps(using > > snmptrap command without -Ci). Why is it so? But i am able to send v2 > > traps. > > Have you read the SNMPv3 trap/inform tutorial page? >

Re: AW: how to send a v3 trap

2004-07-06 Thread madanagopal
> I was fighting with this myself, > did you add a createUser line to the snmptrapd.conf file in /var/net-snmp? > > This will send a coldstart-inform to snmptrapd on localhost with an uptime of 42 > timeticks: > snmpinform -v 3 -u testuser -a MD5 -A password -x DES -X ppassword -l authPriv > loca

how to send a v3 trap

2004-07-04 Thread madanagopal
hai, I want to send a SNMP v3 trap(which i suppose is same as a v2 trap along with v3 specific parameters) using snmptrap utility and receive it using snmptrapd. I am able to send v2 traps and receive them. But i am not able to send and receive v3 traps. I tried different combinations like g

sending objects with traps

2004-06-11 Thread madanagopal
hai, I am having a trap defined as follows in my MIB: myTrap NOTIFICATION-TYPE OBJECTS { objectA, objectB, objectC, objectD } STATUS current DESCRIPTION