RE: How to generate v3 traps?

2006-04-28 Thread Yong Chen (yongche)
Thanks Wes. I'll let you know the result. It will be sometime to move to newer version. Thanks, Yong Chen > -Original Message- > From: Wes Hardaker [mailto:[EMAIL PROTECTED] > Sent: Friday, April 28, 2006 6:49 AM > To: Yong Chen (yongche) > Cc: net-snmp-users@lists.sourceforge.net > Su

Table reading examples implemented in C/C++

2006-04-28 Thread Michael Siegel
Does anyone have any example applications that utilize GET_NEXT or GET_BULK and populate C/C++ datastructures?   I’m a bit confused as to the process of setting up varbinds and iterating through a table, I’m a SNMP n00b.   Thanks,   Mike Siegel Caritas Christi Network Engineering &

Re: Errors Messages after issuing SIGHUP

2006-04-28 Thread John Hardin
[EMAIL PROTECTED] wrote: Hi, I am using Net-SNMP 5.3.0.1 I have compiled it with disman event mib and host mib support and applied the following official patches. 1473289 5.3.0.1 SIGHUP breaks daemons 1429059 5.3.0.1: DISMAN monitoring crash 1421725 5.3.0.x: OID lookups

Re: not able to run this on win-XP

2006-04-28 Thread Alex Burger
smruti ranjan samantara wrote: I am using net-snmp 5.3.0. I have MS Visual Studio 6.0, Microsoft Platform SDK for Windows Server 2003 SP1, Also I have istalled ActivePerl 5.8.8 Build 817 on my system but While configuring in windows XP as specified in net-snmp’s Readme Win32 , Microsoft Visual

Security certification for Net-Snmp

2006-04-28 Thread Tripathi Anoop-A18046
Hi       i intend to use Net-Snmp for realizing snmp v3 agent, and i need to understand if the Net-Snmp code has been certified to be Secure by some security organization       in particular i'm interested in the security certification from CERT.     thanks and regards anoop.

Re: Getting index of table

2006-04-28 Thread Wes Hardaker
> On Wed, 26 Apr 2006 17:02:39 -0300, "Wesley Naves de Faria" <[EMAIL > PROTECTED]> said: Wesley> But in the xxTable_handler i can get any values in the table Wesley> with the function Wesley> netsnmp_extract_table_data_set_column(request,COLUMN_TEST) but Wesley> i can't get the value of

Re: How to generate v3 traps?

2006-04-28 Thread Wes Hardaker
> On Wed, 26 Apr 2006 11:49:48 -0700, "Yong Chen (yongche)" <[EMAIL > PROTECTED]> said: Yong> I'm using net-snmp 5.1, recently I see it crashes (stack trace attached, Yong> it's on linux). I did some debug but no result. Is it a known issue? net-snmp 5.1 is quite old. Can you try one of

Re: J.AgentX problem

2006-04-28 Thread Wes Hardaker
> On Wed, 26 Apr 2006 16:03:38 -0700 (PDT), Denny Lee <[EMAIL PROTECTED]> > said: Denny> NET-SNMP-AGENT-MIB::nsModuleName."public".9.1.3.6.1.4.1.1331.11.1.127 Denny> = STRING: AgentX subagent 7, session 0x800b1ec0, Denny> subsession 0x80101d90 Denny> So I think I am actually seeing the S

Re: TRAPS + get requests

2006-04-28 Thread Wes Hardaker
> On Fri, 28 Apr 2006 16:41:16 +0530, "Nikanth K" <[EMAIL PROTECTED]> said: Nikanth> If I use multi-threading(pthreads) to do this,i.e., one Nikanth> thread monitors and sends traps and the other handles Nikanth> get-requests - the subagent crashes at some point of time. I Nikanth> heard multi

Errors Messages after issuing SIGHUP

2006-04-28 Thread sailaja.banda
Title: Message Hi, I am using Net-SNMP 5.3.0.1 I have compiled it with disman event mib and host mib support and applied the following official patches.  1473289  5.3.0.1 SIGHUP breaks daemons     1429059  5.3.0.1: DISMAN monitoring crash  1421725  5.3.0.x: OID lookups fail     14

TRAPS + get requests

2006-04-28 Thread Nikanth K
Hi I am developing an agentx subagent on SUSE. The problem is, I want to handle GET requests as well as TRAPS to be sent by the same subagent. But to handle get requests we need to loop on    while(1)     {     agent_check_and_process(1); /* 0 == don't block */     } And I w