Rate limiting Authentication failure trap

2010-06-19 Thread surya prakash
Hi Net-snmp coders, Is there way to rate limit "Autentication failure trap" generated by SNMP Agent. Regards, Surya. -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ON

Re: Socket leak in snmpd process when trapsink is configured

2010-06-03 Thread surya prakash
Hi net-snmp-coders, It will be greatly helpful if we have some suggestions on the below problem and the solution proposed. Regards, Prakash.V --- On Fri, 5/21/10, surya prakash wrote: > From: surya prakash > Subject: Socket leak in snmpd process when trapsink is configured > To:

Socket leak in snmpd process when trapsink is configured

2010-05-21 Thread surya prakash
Hi, We are using net-snmp version 5.4.2.1. We do see socket leakage in net-snmp when we add trap receiver to snmpd.conf file and sending a SIGHUP signal to snmpd process to update configurations. Continual update of snmpd.conf file followed by SIGHUP signal quickly makes the file descriptor co

Re: Agentx receiving multiple SNMP requrest though few were sent

2010-04-28 Thread surya prakash
te: > From: Dave Shield > Subject: Re: Agentx receiving multiple SNMP requrest though few were sent > To: "surya prakash" > Cc: "net-snmp-coders" > Date: Friday, April 23, 2010, 9:22 PM > On 19 April 2010 12:59, surya prakash > > wrote: > > If I

Agentx receiving multiple SNMP request though few were sent

2010-04-21 Thread surya prakash
Hi All, I am using NET-SNMP version 5.4.2.1. I implemented a new MIB which was then registered using the API netsnmp_create_handler_registration(..) to AgentX. Written a simple shell script which in turn calls the set of SNMP queries periodically (say 50 queries in every 10 seconds) in a loop.

Agentx receiving multiple SNMP requrest though few were sent

2010-04-19 Thread surya prakash
Hi All, I am using NET-SNMP version 5.4.2.1. I implemented a new MIB which was then registered using the API netsnmp_create_handler_registration(..) to AgentX. Writen a simple shell script which in turn calls the set of snmp queries periodically(say 50 queries in every 10 secs) in a loop. Pack

snmplog_handler makes the system in Wait state (race condition)

2010-02-28 Thread surya prakash
Hi All, We are running a multithreaded linux application (NMS). There were 48 threads running which parallely sends the SNMP request and processes the same. In one of the thread, there were a write to stderror from SNMP - lwp# 47 / thread# 47 fea46d38 writ

Getting OID type Value from Trap

2009-11-10 Thread surya prakash
Hi, One can read the trap varbinds from standard input to get the OID and value of the varbinds. (snmptrapd.conf file configured with processing file to read the std input) Is there way to get varbind type from standard input so that we can rebuild the trap and can send northbound. #./snmptr

SNMP trap forwarding

2009-05-25 Thread surya prakash
Hi, Using the directive option "forward OID Address" in snmptrapd.conf file, the traps can be forwarded to other machine and using "traphandle" directive, the traps can be processed by an executable. Is there any way to use both processing and forwarding. Yes we can process the tra

sysDescr HEX

2005-07-14 Thread Surya Prakash
Hi, I have noticed that a walk on system-mib results in HEX string and some times it results in a Normal Octet sring as expected for sysDescr. This is with some customization of 'getting the data' part using Net-snmp-5.2.1. Why would that be? This is not a problem with SNMP Manager tool as Ethere

Re: Bridge MIB / MIB2c

2005-06-22 Thread Surya Prakash
Well, I went back and 1. Configured Net-SNMP with perl modules. 2. Built it for local host i.e. Redhat Linux and installed in to a temp directory while perl stuff is still installed under /usr/lib 3. I set the MIBDIRS and other paths like SNMPCONF, SNMPSHARE, though I think this shouldn't matter.

Re: Bridge MIB / MIB2c

2005-06-22 Thread Surya Prakash
Well, I went back and 1. Configured Net-SNMP with perl modules. 2. Built it for local host i.e. Redhat Linux and installed in to a temp directory while perl stuff is still installed under /usr/lib 3. I set the MIBDIRS and other paths like SNMPCONF, SNMPSHARE, though I think this shouldn't matter.

Re: Bridge MIB / MIB2c

2005-06-22 Thread Surya Prakash
Well, I went back and 1. Configured Net-SNMP with perl modules. 2. Built it for local host i.e. Redhat Linux and installed in to a temp directory while perl stuff is still installed under /usr/lib 3. I set the MIBDIRS and other paths like SNMPCONF, SNMPSHARE, though I think this shouldn't matter.

Bridge MIB / MIB2c

2005-06-16 Thread Surya Prakash
Hi, I am trying to generate the code for BRIDGE-MIB using mib2c. when I try mib2c -c mib2c...table.conf BRIDGE-MIB.txt it gives me the following error. ERROR: You don"t have the SNMP perl module installed. Please obtain this by getting the latest source release of the

Re: ifXtable implementation

2005-06-15 Thread Surya Prakash
What kind of problems? Could you please elaborate or point to? I could receive messages and send traps from the new thread. I don't share data in my code. Probably the send_easy_traps or other Trap APIs might share data. I haven't looked in detail yet as I didn't notice any 'major' problems. I cal

BRIDGE-MIB:RFC1493...

2005-06-14 Thread Surya Prakash
I couldn't find the code for BRIDGE-MIB implementation. Do I have to generate it using mib2c? -thanks SP __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ---

Re: ifXtable implementation

2005-06-14 Thread Surya Prakash
I fork a thread from snmpd.c and in that thread I listen on a message queue and thus generate traps..Sound OK?? --- Robert Story <[EMAIL PROTECTED]> wrote: > On Tue, 14 Jun 2005 12:42:31 -0700 (PDT) Surya > wrote: > SP> Thanks. If I have an external event sent to SNMP > SP> through the pipe or th

Re: ifXtable implementation

2005-06-14 Thread Surya Prakash
/traceroute/traceRouteCtlTable.h:472:21: udp_var.h: No such f ile or directory agent/mibgroup/disman/traceroute/traceRouteCtlTable.h:490:18: gnuc.h: --- Robert Story <[EMAIL PROTECTED]> wrote: > On Tue, 14 Jun 2005 10:01:22 +0100 Dave wrote: > DS> On Tue, 2005-06-14 at 04:28, Surya Prakas

ifXtable implementation

2005-06-13 Thread Surya Prakash
Could some one please tell me if there is an old implementation of ifXtable stuff like ifHighSpeed, ifCounterDiscontinuityTime, ifLinkUpDownTrapEnable? I mean an implementation like that in interfaces.c under MIB-II. I found a newer handler based implementation under if-mib/ifXTable directory? Al

Re: current state of ifTable implementation..i.e. under mibII and if-mib and Other questions...

2005-06-02 Thread Surya Prakash
> On Wed, 1 Jun 2005 18:45:23 -0700 (PDT) Surya wrote: > SP> What's the active code for ifTable? > SP> > SP> I see that > SP> 1. There are 2 files. interfaces.c, ifTable.c in > SP> mibgroup/mibII directory. > SP> 2. Also, under mibgroup/if-mib, there is code in > SP> directories data_access, ifTa

current state of ifTable implementation..i.e. under mibII and if-mib and Other questions...

2005-06-01 Thread Surya Prakash
Hi, What's the active code for ifTable? I see that 1. There are 2 files. interfaces.c, ifTable.c in mibgroup/mibII directory. 2. Also, under mibgroup/if-mib, there is code in directories data_access, ifTable. Which is active and which is preferred? I kind of understand the code in interfaces.c