Net-SNMP 5.2-patches branch created

2004-12-08 Thread Wes Hardaker
There is a new branch in the CVS tree: V5-2-patches To use this you can use the -r flag to checkout or export and specify this tag. Thus: cvs co -d net-snmp-5.2-patchs -r V5-2-patches Net-SNMP will check out that branch into the net-snmp-5.2-patchs directory. For those tracking CVS, that t

Re: 5.2 crash in win32

2004-12-08 Thread Alex Burger
Hi Phil. If you use the compiled snmptranslate from the Win32 binary available at SF, do you get the same crash? I'll add your patch to CVS anyways, but I'm just curious to know why you have the problem and I don't. :) Alex Gillis, Philip W (Philip) wrote: Hi Alex. I'm on Win2k Pro, 5.00.2195,

RE: Changing System Date

2004-12-08 Thread Jeff Johnson
Steffen, The latest 5.2 release has a fix to this problem whereby snmp uses ticks from "times()" instead of seconds from "time()" for snmpv3 timeliness on supported architectures. If you are using an older version of net-snmp, you may wish to upgrade, or at least consider using the new snmplib/snm

RE: windows exception on multiple varbind set

2004-12-08 Thread Gillis, Philip W (Philip)
Robert, Must be something special (ie, bad) I'm doing in my init function, because multiple varbinds works on the netSnmpIETFWGTable example. Let me dig some more. Thanks, Phil Gillis -Original Message- From: Gillis, Philip W (Philip) [mailto:[EMAIL PROTECTED] Sent: Wednesday, Decem

Changing System Date

2004-12-08 Thread Steffen Hartmann
Hi, I'm currently working on a project to make Net-SNMP 5.0.9 work on an Embedded Device using uClinux. It works fine so far, but I've got a big problem concerning changes of the system time. Our private MIB-Tree includes an OID "systemTime" which makes it possible to set the time of the embedded

Re: snmp_open(session)

2004-12-08 Thread Coders
On Wed, 8 Dec 2004 10:11:21 +0100 (MET) Sven wrote: SJ> Robert, tanks so far. But, after i checked it with the debugger, i think SJ> you are not absolutely correct. SJ> SJ> snmp_open() is sending a probe-PDU because its a snmpv3-session. You are right. I thought it waited until a PDU needed to

Changing System Date

2004-12-08 Thread Steffen Hartmann
Hi, I'm currently working on a project to make Net-SNMP 5.0.9 work on an Embedded Device using uClinux. It works fine so far, but I've got a big problem concerning changes of the system time. Our private MIB-Tree includes an OID "systemTime" which makes it possible to set the time of the embedded

Re: gather a lot info from agent

2004-12-08 Thread Coders
On Wed, 8 Dec 2004 17:46:10 +0800 celeste wrote: C> hi, i want to develop a new mib tree. C> use this mib tree, i can run some command and return a lot of info from C> agent. C> C> can the net-snmp do it? C> i mean i just wonder if we can gather a lot info from agent. Yes. It may not be the most

RE: windows exception on multiple varbind set

2004-12-08 Thread Gillis, Philip W (Philip)
Robert, Also occurs on a different table, using just 2 varbinds, type integer. Thanks, Phil Gillis -Original Message- From: Gillis, Philip W (Philip) [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 08, 2004 8:52 AM To: '[EMAIL PROTECTED]' Subject: RE: windows exception on multiple v

RE: windows exception on multiple varbind set

2004-12-08 Thread Gillis, Philip W (Philip)
Robert, I should be more precise about the oid's: SomeOid is a table with 3 columns, integer, octet string, integer. Index is 1, and row exists. This makes the exception happen: snmpset -v2c -c private udp:135.5.184.98:161 someOid.2.1 i 3 someOid.3.1 s 1152304 someOid.4.1 i 3 Thanks, Phi

RE: windows exception on multiple varbind set

2004-12-08 Thread Gillis, Philip W (Philip)
Hi Robert, Yes, I typo'ed 5.1.2 into 5.2.1. I installed 5.2, and table_dataset.c has the fix you describe here, but it still has the problem. This is on win2k pro, 5.00.2195, Service Pack 4, and VC++ 6.0. Below is a stack trace, which looks very similar to the one in 5.1.2. Here's how I can

gather a lot info from agent

2004-12-08 Thread celeste
hi, i want to develop a new mib tree. use this mib tree, i can run some command and return a lot of info from agent. can the net-snmp do it? i mean i just wonder if we can gather a lot info from agent. for example: i want to gather 2MB info. how can i do.

Re: snmp_open(session)

2004-12-08 Thread Sven Jonas
Robert, tanks so far. But, after i checked it with the debugger, i think you are not absolutely correct. snmp_open() is sending a probe-PDU because its a snmpv3-session. Or do i have to set this engineid before i call snmp_open()? Kind Regards, Sven > On Tue, 7 Dec 2004 15:21:04 +0100 (MET)