Re: Fw: interesting win patch

2005-04-05 Thread Andy Smith
Alex Burger wrote: Andy Smith wrote: Alex Burger wrote: Hi Andy. Andy Smith wrote: Alex Burger wrote: I think it's time to add an MSVC define so we can easily tell the difference between cygwin, mingw and MSVC as all three define WIN32. I would be more inclined to do something like a WIN32_SDK. F

Re: Compiling with MinGW & Cygwin

2005-04-05 Thread Andy Smith
Alex Burger wrote: Hi Andy. When compiling main under MinGW, it stops with: table_dataset.c: In function `netsnmp_config_parse_table_set': table_dataset.c:832: called object is not a function make[2]: *** [table_dataset.lo] Error 1 make[2]: Leaving directory `/work/agent/helpers' I have a workaroun

Re: Fw: interesting win patch

2005-04-05 Thread Alex Burger
Andy Smith wrote: Alex Burger wrote: Hi Andy. Andy Smith wrote: Alex Burger wrote: I think it's time to add an MSVC define so we can easily tell the difference between cygwin, mingw and MSVC as all three define WIN32. I would be more inclined to do something like a WIN32_SDK. For the most part MS

Compiling with MinGW & Cygwin

2005-04-05 Thread Alex Burger
Hi Andy. When compiling main under MinGW, it stops with: table_dataset.c: In function `netsnmp_config_parse_table_set': table_dataset.c:832: called object is not a function make[2]: *** [table_dataset.lo] Error 1 make[2]: Leaving directory `/work/agent/helpers' I was able to work around it by modif

Re: Fw: interesting win patch

2005-04-05 Thread Andy Smith
I am moving this discussion to the coders list as requested. Alex Burger wrote: Hi Andy. Andy Smith wrote: Alex Burger wrote: I think it's time to add an MSVC define so we can easily tell the difference between cygwin, mingw and MSVC as all three define WIN32. I would be more inclined to do somet

IPv6 works for IPv4?

2005-04-05 Thread Fong Tsui
It used to work when I launch snmpd on udp6:161 and query data for IPv4 on Redhat 9.0. After I upgrade my OS to Enterprise Linux OS, I can't query IPv4 anymore if snmpd is on udp6:161. Tcp still works fine. Does anybody know how to solve this problem? I guess, this probably is OS issue. But hope

Re: table iterator with sorted tables

2005-04-05 Thread Wes Hardaker
> On Tue, 15 Feb 2005 20:45:41 -0500, Robert Story <[EMAIL PROTECTED]> said: Robert> On Thu, 3 Feb 2005 10:01:54 -0800 Mike wrote: MT> If table interator helper is used to access sorted tables, a small MT> change in netsnmp_table_iterator_helper_handler() can greatly improve MT> performance.

Re: SNMPERR_BAD_NAME

2005-04-05 Thread Wes Hardaker
> On Fri, 11 Mar 2005 10:58:13 -0500, "Haizhu Liu" <[EMAIL PROTECTED]> said: Haizhu> int rc = snmp_add_var(pdu, myoid, sizeof(myoid)/sizeof(oid), type, Haizhu> action_str.data()); snmp_add_var expects a string as the lang argument, not an integer. thus, passing "2" would have worked when 2 wo

RE: IPv6 testing

2005-04-05 Thread Srini Kode
I tested from our management application without giving udp6 and port number and it works fine. So, the requirement of giving udp6 is of "snmpget" and not the agents. - Srini > -Original Message- > From: Wes Hardaker [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 05, 2005 10:54 AM >

Re: error in packet : inconsistentName

2005-04-05 Thread Wes Hardaker
> On 24 Mar 2005 15:48:34 +0530, Krishna Mohan <[EMAIL PROTECTED]> said: Krishna> $snmpget -v 2c -c public 172.16.15.34 .1.3.6.1.4.1.1.1.1.2.0 Krishna> Error in packet Krishna> Reason: inconsistentName (That object can not currently be created) Krishna> Failed object: ROCSYS-MIB::rocVar1.0 Th

Re: Minimizing NetSNMP Footprint

2005-04-05 Thread Wes Hardaker
> On Tue, 22 Mar 2005 15:23:35 -0400, "bryce" <[EMAIL PROTECTED]> said: bryce> I'm getting ready to install SNMP in a small embedded bryce> platform. Net-SNMP immediately came to mind as a port since bryce> I've used it and liked it in the past. At this point, using bryce> SNMPv1 will suffice

Re: IPv6 testing

2005-04-05 Thread Wes Hardaker
> On Fri, 25 Mar 2005 11:00:13 -0800, "Srini Kode" <[EMAIL PROTECTED]> said: Srini> snmpget -v 2c -D All -c public udp6:[fe80::205:30ff:fe00:2309]161 sysDescr.0 Srini> This means the network management application must give udp6 and the port Srini> number number 161 also when they query. Is

Re: in case you are interested... [was: HOST-RESOURCES-MIB and the hrSWInstalledID object]

2005-04-05 Thread Wes Hardaker
> On Wed, 30 Mar 2005 00:27:18 +0200, "Alexander W. Janssen" <[EMAIL > PROTECTED]> said: Alexander> yes, i am currently working on a Debian-implementation of Alexander> HOST-RESOURCES-MIB::hrSWInstalled. Excellent!! -- Wes Hardaker Sparta

Re: Fwd: Re: Problem running snmpget

2005-04-05 Thread Wes Hardaker
> On Thu, 31 Mar 2005 10:29:37 -0800 (PST), Shobana Sampath <[EMAIL > PROTECTED]> said: Shobana> But I still get the timeout problem when I do a snmpget. This is certainly because the agent doesn't have configuration to let that command go through. Shobana> 1. I started the Net-SNMP Age

Re: mib2c: notifications being shown as scalars

2005-04-05 Thread Wes Hardaker
> On Thu, 31 Mar 2005 14:16:43 -0800 (PST), "Srinivas Athuluru (ATG)" > <[EMAIL PROTECTED]> said: Srinivas> snmpwalk is actually listing attributes which are Srinivas> notifications. Srinivas> mib2c has a "foreach . scalar" string match Srinivas> which is producing identical code for

Re: Compiling net-snmp 5.2.1 under AIX 5.3 ML1

2005-04-05 Thread Wes Hardaker
> On Thu, 31 Mar 2005 15:40:53 -0700, "Philip Greer" <[EMAIL PROTECTED]> > said: Philip> gcc -g -O2 -Daix5 -o snmpd snmpd.o ./.libs/libnetsnmpmibs.a Philip> ./.libs/libnetsnmpa gent.a helpers/.libs/libnetsnmphelpers.a Philip> ../snmplib/.libs/libnetsnmp.a -ldl -lm -lperfstat Philip> ./.li

configure warning report

2005-04-05 Thread Matthew Griffin
Hi All your compiler asked me to post the following warnings to your mailing list. I kind of suspect you have heard this from others, but since you asked, I went to the trouble to summarize it for you. version: net-snmp-5.2.1 on MAC OSX 10.3.8 The rest of the installation went smoothly, and as