RE: IPv6 on Linux

2005-02-17 Thread Srini Kode
Now I compiled with v6 option and ran the following command from a linux box. I get following error. bash-2.05a$ ./snmpget -v 2c -c public -D ALL udp6:[fe80::205:30ff:fe00:2309/64]:161 sysDescr.0 ... .. .. trace: snmp_call_callbacks(): callback.c, 218: callback: calling a callback fo

RE: after short oid it is not possible to make call with longer o id

2005-02-17 Thread Bruce Shaw
That's odd. Can you post some example code? >question is related to net-snmp 5.2.1 on SunOS host 5.9 Generic_117171-17 sun4u sparc SUNW,Ultra-5_10 >i use snmp-api example available on website - just to snmpget some data from cisco. >make 3 calls (one by one) in one programm for different oids.

after short oid it is not possible to make call with longer oid

2005-02-17 Thread German Gumenyuk
dear All, question is related to net-snmp 5.2.1 on SunOS host 5.9 Generic_117171-17 sun4u sparc SUNW,Ultra-5_10 i use snmp-api example available on website - just to snmpget some data from cisco. make 3 calls (one by one) in one programm for different oids. "call" is done in the function that

Re: versionRestartAgent only restarts once

2005-02-17 Thread Dana Burns
Robert Story wrote: >I missed the beginning of this thread. What platform is it not working on? > That was the beginning of the thread. This is on RedHat Enterprise WS r3. >I ran your program (with the minor change of /tmp/sig -> echo testing), with >the following (expected) results: > Thanks f

RE: snmpd stops responding after ~ 1000 snmpwalks

2005-02-17 Thread Alex Koifman
There is more: (gdb) list 985 receive(); 986 #include "mib_module_shutdown.h" 987 DEBUGMSGTL(("snmpd/main", "sending shutdown trap\n")); 988 SnmpTrapNodeDown(); 989 DEBUGMSGTL(("snmpd/main", "Bye...\n")); 990 snmp_shutdown("snmpd"); 991 #ifdef SH

RE: snmpd stops responding after ~ 1000 snmpwalks

2005-02-17 Thread Alex Koifman
Hi, I ran my script in the debug mode. This is the stack. Any suggestion would be greatly appreciated. THANKS!!! Program received signal SIGINT, Interrupt. [Switching to Thread 16384 (LWP 16285)] 0x402a4658 in sigsuspend () from /lib/libc.so.6 (gdb) bt #0 0x402a4658 in sigsuspend () from /lib

Re: Net-SNMP and NetBSD

2005-02-17 Thread Robert Story
On Tue, 15 Feb 2005 19:28:59 +0100 Network wrote: NOCFL> It's possible to run net-snmp-5.2.1 with NetBSD 1.6 or 2.0 ? Yes. As always, however, functionality varies by platform... NOCFL> I've this error messages with 'make' : NOCFL> NOCFL> cc -I../../include -I. -I../../agent -I../../agent/mibgro

Re: versionRestartAgent only restarts once

2005-02-17 Thread Robert Story
On Wed, 16 Feb 2005 17:37:58 -0500 Dana wrote: DB> Another problem: my kernel doesn't seem to be delivering the SIGALRM the DB> second time around. DB> Works like a champ on Solaris though. I don't know if it has anything to DB> do with the execv or not. I missed the beginning of this thread. What

Re: How to provide delay between duplicate traps?

2005-02-17 Thread Robert Story
On Thu, 17 Feb 2005 08:57:40 +0530 [EMAIL PROTECTED] wrote: ASC> I am new to SNMP and am still trying to understand the net-snmp code. ASC> Could you please help me with information on which files I need to study ASC> and make changes. Thanks ! It depends on how you want to change it. If you want

Re: snmp and borland c++ builder

2005-02-17 Thread Robert Story
On Thu, 17 Feb 2005 10:53:01 + philippe wrote: PG> I want to use net-snmp in a application wrote with borland c++ builder (6). PG> Can you tell me if it's possible ? The library is meant to be portable, so it should be possible. You might want to look at the msvc++ project files, to see what

Re: array-user, tables etc

2005-02-17 Thread Robert Story
On Wed, 16 Feb 2005 19:14:48 -0800 Riju wrote: RK> With array-user, is it required that the number of rows are defined at RK> initialization time? That's the way it works out of the box, but with a little extra work you can probably get it to do what you want. RK> Can I use array-user to access

snmp and borland c++ builder

2005-02-17 Thread philippe g
Hello I want to use net-snmp in a application wrote with borland c++ builder (6). I can't make the lib, many errors. Can you tell me if it's possible ? And how Thanks. --- SF email is sponsored by - The IT Product Guide Read honest & candid revie