how to seperate the returned counter by ifindex?

2006-04-26 Thread Jim Su
Hi Greeting: I used the asynchronous SNMP polling (with 4 ifIndex grouped in one request pdu ). How do I distinguish the returned counter value by their ifIndex? For example I have received the following variable buffer., how do I store all the index 3 data to one record and index 4 data to

RE: asynchrous polling

2006-04-21 Thread Jim Su
Dear list: That's okay. I already figured out how to process the received data. Thanks! -Jim -Original Message- From: Jim Su [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 19, 2006 5:46 PM To: Net-Snmp-Users Subject: RE: asynchrous polling Dear list: I&#

RE: asynchrous polling

2006-04-19 Thread Jim Su
n the callback function but what is the means to distinguish the returned values from two snmp_send? Thanks in advanced. Jim -Original Message- From: Wes Hardaker [mailto:[EMAIL PROTECTED] Sent: Saturday, April 01, 2006 2:24 AM To: Jim Su Cc: Net-Snmp-Users Subject: Re: asynchrous po

RE: asynchrous polling

2006-03-30 Thread Jim Su
in advance. Thanks, Jim -Original Message----- From: Jim Su [mailto:[EMAIL PROTECTED] Sent: Thursday, March 30, 2006 12:03 PM To: Net-Snmp-Users Subject: asynchrous polling Hi Greeting: I have imitated the implementation of asynchronous polling like the one shown in the tutorial - Asynchr

asynchrous polling

2006-03-29 Thread Jim Su
Hi Greeting: I have imitated the implementation of asynchronous polling like the one shown in the tutorial - Asynchronous Demo Application. The demo is quite straight forward. There is a line to check the operation state - RECEIVED_MESSAGE in asynch_response(). I thought it was one of the

add mib2 object to private trap

2006-01-10 Thread Jim Su
Hi Greeting: Is it legal to add one mgmt.mib-2.interfaces.ifTable object to a private trap? Thanks, Jim -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.14.17/226 - Release Date: 2006/1/10

RE: migrate from V2 to V3

2005-12-14 Thread Jim Su
Hi Dave: Thanks! -Jim -Original Message- From: Dave Shield [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 14, 2005 5:53 PM To: Jim Su Cc: Net-Snmp-Users Subject: RE: migrate from V2 to V3 On Wed, 2005-12-14 at 17:43 +0800, Jim Su wrote: >will all the versions (v1, v2,

RE: change the return value in V1 interface counter

2005-12-14 Thread Jim Su
Oh!! Thanks a lot! It will effect all the modules. If no other side effect on others this is a better approach. Thanks again, Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dave Shield Sent: Thursday, December 15, 2005 12:22 AM To: Jim Su Cc: Net

RE: migrate from V2 to V3

2005-12-14 Thread Jim Su
f the client have the choice of v1, v2, or v3 when the --with-default-snmp-version is set to 3. Thanks again, Jim -Original Message- From: Jim Su [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 14, 2005 5:37 PM To: Dave Shield Cc: Net-Snmp-Users Subject: RE: migrate from V2 to V3 Hi

RE: migrate from V2 to V3

2005-12-14 Thread Jim Su
at I can move forward with positive guidance. -Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dave Shield Sent: Wednesday, December 14, 2005 5:25 PM To: Jim Su Cc: Net-Snmp-Users Subject: RE: migrate from V2 to V3 On Wed, 2005-12-1

RE: migrate from V2 to V3

2005-12-13 Thread Jim Su
ngine ID, authprotocal, and privprotocal? Thanks, Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dave Shield Sent: Wednesday, December 14, 2005 12:38 AM To: Jim Su Cc: Net-Snmp-Users Subject: Re: migrate from V2 to V3 On Fri, 2005-12-02 at 17:53 +0800, J

RE: change the return value in V1 interface counter

2005-12-12 Thread Jim Su
== #endif long_return = (u_long) 0; /* XXX */ #endif return (u_char *) & long_return; -Jim -Original Message----- From: Jim Su [mailto:[EMAIL PROTECTED] Sent: Monday, December 12, 2005 11:39 AM To: Net-Snmp-Users Subject: change the return value in V1 interface counte

change the return value in V1 interface counter

2005-12-11 Thread Jim Su
Hi Greeting: I try to add support to return the Linux interface counter from my agent. The Net-Snmp version is 5.1.2. I've received the suggestion to upgrade to 5.2.2 which has the implementation of ifXTable for Linux interface. I tried to move my agent to 5.2.2. For some reason the agent c

PDU error code

2005-12-09 Thread Jim Su
Hi Greeting: In the snmp.h file there is error code (listed in the following). I would like to find out if it's possible from the error code returned from the snmp_sess_synch_response() to tell the target device is DEFINITELY not reachable. For example, to poll the interfaces on the remote

migrate from V2 to V3

2005-12-02 Thread Jim Su
Hi Greeting: I have one SNMP manger and SNMP agent only work for V1 and V2. What is your recommended approach that I can take to migrate the existing codes to support V3? The Net-SNMP version is 5.1.2. The following is the roughly idea I have For agent - Can I use the mib2c to

RE: compilation error in 5.2.2

2005-12-01 Thread Jim Su
srcdir)/snmplib Makefile:BLD_SNMPLIB_INCLUDES= -I$(top_builddir)/snmplib $(SRC_SNMPLIB_INCLUDES) Makefile:SNMPLIB_INCLUDES= $(SRC_SNMPLIB_INCLUDES) All the directives used in Makefile.in has "-I" specified in the source definition in Makefile. Regards, -Jim -Original Message- Fr

compilation error in 5.2.2

2005-11-30 Thread Jim Su
Hi Greeting: In compiling the latest net-snmp release 5.2.2 I got the following errors. I compared the configure options and the Makefile.in I used in release 5.1.2. There is no difference. And there is no such compilation error in 5.1.2. I am not sure what had caused the compiling error.

RE: how to enable agent to return high capacity interface counters on Linux?

2005-11-29 Thread Jim Su
ppreciated. Regards, Jim -Original Message----- From: Jim Su [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 30, 2005 11:32 AM To: Net-Snmp-Users Subject: how to enable agent to return high capacity interface counters on Linux? Hi Greeting: I would like to enable the feature on agent to

how to enable agent to return high capacity interface counters on Linux?

2005-11-29 Thread Jim Su
Hi Greeting: I would like to enable the feature on agent to return the interface extension table (IFXTable) for Linux. I read the configure file it said "tunnel Linux TUNNEL-MIB support (ifTable extension)". Is this the mib module I should include? I added --with-mib-modules

RE: log DEBUGMSGTL meesage to a file

2005-11-17 Thread Jim Su
Great, thanks a lot Dave. It's all clear. I should have tried to add the file name regardless what the man page said. -Jim -Original Message- From: Dave Shield [mailto:[EMAIL PROTECTED] Sent: Thursday, November 17, 2005 5:39 PM To: Jim Su Cc: Net-Snmp-Users Subject: Re: log DEBUG

log DEBUGMSGTL meesage to a file

2005-11-16 Thread Jim Su
Hi Greeting: I am confused by the logging of the agent message to a file. I used to run ./snmpd -f -L -DmyAgent to see the log in the stdout. I can see all the myAgent: log messages printed by DEBUGMSGTL. Since the message is large I want to keep them in a file. When I run ./snmpd -l -D

thread in net-snmp

2005-11-15 Thread Jim Su
Hi Greeting: In my agent a routine is added to build up a queue after the REGISTER_MIB, then a snmp_alarm_register(300, ,) is added to update this queue every 5 minutes. It runs well. The only concern I have is the time to build the queue is getting longer when the system is kept up fo

How to specify the sysdescr in snmpd.conf to read a customised sys description?

2005-11-10 Thread Jim Su
Hi Greeting: I try to set a "sysdescr" in the snmpd.conf file. I saw the example in the /etc/snmp/snmpd.conf of "syslocation Unknown (configure /etc/snmp/snmpd.local.conf)". Is this the same way to set the sysdescr? What is the configure doing here? My desired sysdescr is kept in o

including the enterprise header file

2005-11-06 Thread Jim Su
Hi Greeting: In my agent directory - agent/mibgroup/my_agent I have one header file - *.h file. In that header file it includes one header file which is out side the net-snmp path. The make encountered the following error. How do I add the path for net-snmp to parse the header file und

RE: add a forever process in agent

2005-09-25 Thread Jim Su
Many thanks still. Regards, -Jim -Original Message- From: Robert Story [mailto:[EMAIL PROTECTED] Sent: Monday, September 26, 2005 1:35 AM To: Jim Su Cc: net-snmp-users@lists.sourceforge.net; Dave Shield Subject: Re: add a forever process in agent On Sat, 24 Sep 2005 22:48:45 +0800 Jim

RE: add a forever process in agent

2005-09-24 Thread Jim Su
ry Sent: Friday, September 23, 2005 11:00 PM To: Dave Shield Cc: Jim Su; Net-Snmp-Users Subject: Re: add a forever process in agent On Thu, 22 Sep 2005 12:18:04 +0100 Dave wrote: DS> On Thu, 2005-09-22 at 18:36 +0800, Jim Su wrote: DS> > I want the process to be executed exactly on the D

RE: add a forever process in agent

2005-09-22 Thread Jim Su
Dave Shield Sent: Thursday, September 22, 2005 7:18 PM To: Jim Su Cc: Net-Snmp-Users Subject: RE: add a forever process in agent On Thu, 2005-09-22 at 18:36 +0800, Jim Su wrote: > I want the process to be executed exactly on the > 0, 5, 10, 15 .. 55 minutes on the hour. Hmmm... OK - t

RE: add a forever process in agent

2005-09-22 Thread Jim Su
ave Shield Sent: Thursday, September 22, 2005 6:18 PM To: Jim Su Cc: Net-Snmp-Users Subject: RE: add a forever process in agent On Thu, 2005-09-22 at 17:53 +0800, Jim Su wrote: > Yes, this list is constantly generated/updated said every 5 minutes > regardless agent receives the request o

RE: add a forever process in agent

2005-09-22 Thread Jim Su
] [mailto:[EMAIL PROTECTED] Behalf Of Dave Shield Sent: Thursday, September 22, 2005 5:23 PM To: Jim Su Cc: Net-Snmp-Users Subject: Re: add a forever process in agent On Thu, 2005-09-22 at 16:56 +0800, Jim Su wrote: >I need to add a forever process in my agent. This process periodically >

add a forever process in agent

2005-09-22 Thread Jim Su
Hi Greeting: I need to add a forever process in my agent. This process periodically reads one particular directory and generates a list of data. That list is to be used by a var_ABCTable() function in my agent when a snmpwalk or snmpget request to this table is received. My agent module

RE: To get the CPU/Memory utilization for Juniper router

2005-09-19 Thread Jim Su
riginal Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dave Shield Sent: Monday, September 19, 2005 4:08 PM To: Jim Su Cc: Net-Snmp-Users Subject: Re: To get the CPU/Memory utilization for Juniper router On Mon, 2005-09-19 at 12:07 +0800, Jim Su wrote: >It seems to me t

To get the CPU/Memory utilization for Juniper router

2005-09-18 Thread Jim Su
Hi Greeting: I am writing an application on Net-SNMP to poll the CPU and Memory utilization of Juniper router. I've Googled the Juniper MIB and get the following information - # jnxOperatingCPU-The CPU utilization percentage of the entry, whose object identifier is {jnxOperat

RE: what type to use for counter64?

2005-09-12 Thread Jim Su
Thanks a lot! -Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Robert Story Sent: Saturday, September 10, 2005 5:30 AM To: Jim Su Cc: Net-Snmp-Users Subject: Re: what type to use for counter64? On Tue, 30 Aug 2005 18:38:51 +0800 Jim wrote: JS>

what type to use for counter64?

2005-08-30 Thread Jim Su
Hi Greeting: On the man page of "snmptrap" I found there is type for counter32 but no counter64 ### The TYPE is a single character, one of: i INTEGER u UNSIGNED c COUNTER32 s STRING x HEX STRING

RE: snmpwalk w/o oid specified

2005-07-21 Thread Jim Su
starting point, then it will display the contents of the 'mib-2' subtree. It will not attempt to traverse any 'private.enterprise' subtree, such as the UCD-specific objects (including any local extensions). ****** -Original Mess

snmpwalk w/o oid specified

2005-07-21 Thread Jim Su
Hi Greeting: I encountered the following problem. If I run snmpwalk with oid of my enterprise MIB. The agent returned the objects and their values. However if I run snmpwalk without any oid specified. It only returns the MIB-II, and Host MIB (which I included in the configure). The ret

RE: Error: OID not increasing

2005-07-18 Thread Jim Su
: Jim Su [mailto:[EMAIL PROTECTED] Sent: Friday, July 15, 2005 4:06 PM To: net-snmp-users@lists.sourceforge.net Subject: RE: Error: OID not increasing I have collected more data. The agent seems to fall into the situation to handle a bogus "lowest" oid list so it "walk" all the wa

RE: Error: OID not increasing

2005-07-15 Thread Jim Su
known [55.6E.6B.6E.6F.77.6E (hex)] 9: sysORLastChange.0 (timeticks) 0 days 00h:00m:00s.00th (0) ... .... Endless loop -Original Message- From: Jim Su [mailto:[EMAIL PROTECTED] Sent: Friday, July 15, 2005 11:55 AM To: net-snmp-users@lists.sourceforge.net Subject: RE: Error: OID not inc

RE: Error: OID not increasing

2005-07-14 Thread Jim Su
Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Robert Story Sent: Friday, July 15, 2005 3:24 AM To: Jim Su Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Error: OID not increasing On Thu, 14 Jul 2005 15:04:06 +0800 Jim wrote: JS> My net-snmp version is 5.1

RE: Error: OID not increasing

2005-07-14 Thread Jim Su
rn; case: ... } Thanks, Jim -Original Message- From: Robert Story [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 13, 2005 8:32 PM To: Jim Su Cc: Jim Su; Net-Snmp-Users Subject: Re: Error: OID not increasing On Mon, 11 Jul 2005 15:50:43 +0800 Jim wrote: JS> I n

RE: Error: OID not increasing

2005-07-11 Thread Jim Su
/var/run/snmpd.pid then the error occurred. It maybe just coincident but I have no explanation why the same code of snmpd with different result if the options are different.. Thanks, Jim -Original Message- From: Jim Su [mailto:[EMAIL PROTECTED] Sent: Monday, July 11, 2005 11:08

Error: OID not increasing

2005-07-10 Thread Jim Su
Hi Greeting: I imitated the agent implementation of ipAddr table. Instead of scan the if and get ip address. I use tcp to get the ip address list from another process and compare the oid to return the value of ip address. The return from the get or walk from the individual object is norma

conformance in MIB file

2005-06-27 Thread Jim Su
Hi greeting: This is not directly related to Net-SNMP. Perhaps you can give me the direction where to search for the answer. I am looking for the example of MIB file where I can learn to define the conformance to provide the list to the readers of my MIB file so they know which tables

RE: The ip address on teh eth0 of the device

2005-06-08 Thread Jim Su
Thanks Robert. I understand your approach. It seems a good way to get the information what I am looking for. Thanks again! -Jim -Original Message- From: Robert Story [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 08, 2005 11:17 PM To: Jim Su Cc: Net-Snmp-Users Subject: Re: The ip

The ip address on teh eth0 of the device

2005-06-08 Thread Jim Su
Hi Greeting: Is there such mib oid which can provide the IP address on the eth0 of the device? Thanks, -Jim N斫S^菟?X炬??煪?"?jg??j??.?-亨Z死#y玕津0}?q斧b漉鴩熒^液!j*搟 ??~'?順??d?h捩+z傂n()?[EMAIL PROTECTED](m?? 'y??oë

add one compiler argument to CFLAGS

2005-06-02 Thread Jim Su
Hi Greeting: I'd like to add one compiler argument to CFLAGS. I have read the configure file. It doesn't say how to add an additional variable (e.g -DPROD_VERSION=123). From "configure -help" To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. --with-cfl

RE: weird error

2005-04-14 Thread Jim Su
Original Message- From: Robert Story [mailto:[EMAIL PROTECTED] Sent: Thursday, April 14, 2005 10:20 PM To: Jim Su Cc: Net-Snmp-Users Subject: Re: weird error On Thu, 14 Apr 2005 21:41:10 +0800 Jim wrote: JS> The possible source of error - 1. a JS> subtle modified M

RE: weird error

2005-04-14 Thread Jim Su
-Original Message- From: Jim Su [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 13, 2005 10:26 PM To: Net-Snmp-Users Subject: weird error Hi Greeting: I encountered a weird case. I had build agent fine earlier. I had need to fix some code in my module. I compiled and runbut the

weird error

2005-04-13 Thread Jim Su
): At line 0 in (none) What is the line 0 in (none)? Any idea? Thanks, Jim Su HW夸)b粗h?+y羕N??v??y?'z汻jwbv楝?,│n?煡?!3諢?傳諲j溣[津??(赭?'!死嘈l飩瓜X砧瘱J^?^J眱須?)??嗓?l〥gr?i?

RE: iteration of entry in table

2005-04-11 Thread Jim Su
nts to prepare for the future needs. Thanks a lot for the clear explanation and time. -Jim Su -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dave Shield Sent: Monday, April 11, 2005 5:33 PM To: Jim Su Cc: Net-Snmp-Users Subject: RE: iteration of entry in

RE: Is an executable snmpd agent existed?

2005-04-11 Thread Jim Su
Behalf Of Dave Shield Sent: Monday, April 11, 2005 5:35 PM To: Jim Su Cc: Net-Snmp-Users Subject: Re: Is an executable snmpd agent existed? On Mon, 2005-04-11 at 09:04, Jim Su wrote: > The snmpd is a shell script. No - the snmpd program will be a binary file. There may be a shell script of the s

Is an executable snmpd agent existed?

2005-04-11 Thread Jim Su
Hi greeting: To install the customized SNMP agent I used to have the following options - in the configure. "--prefix="/usr/local" --with-install-prefix="/tmp" It created a /tmp/usr/local at /tmp directory then I make a tar ball from there. Then copy this tar ball to the target machine.

RE: iteration of entry in table

2005-04-07 Thread Jim Su
riginal Message----- From: Jim Su [mailto:[EMAIL PROTECTED] Sent: Thursday, April 07, 2005 5:04 PM To: Dave Shield Cc: Net-Snmp-Users Subject: RE: iteration of entry in table Hi Dave; Thanks a lot! You've gave a very clear flow of how the header_simple_table works. I will read th

RE: iteration of entry in table

2005-04-07 Thread Jim Su
April 07, 2005 4:43 PM To: Jim Su Cc: Net-Snmp-Users Subject: RE: iteration of entry in table On Wed, 2005-04-06 at 11:29, Jim Su wrote: > What I'm not clear is how the var_xxxtable() return each instance > to correlate to the data previous read? Using the 'name' parameter. On

RE: iteration of entry in table

2005-04-06 Thread Jim Su
? Thanks, Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dave Shield Sent: Wednesday, April 06, 2005 6:07 PM To: Jim Su Cc: Net-Snmp-Users Subject: Re: iteration of entry in table On Sun, 2005-04-03 at 14:00, Jim Su wrote: > I simply want the agent to "l

RE: iteration of entry in table

2005-04-06 Thread Jim Su
=100, .1.3.6.1.4.1moduleId.1=101, .1.3.6.1.4.1moduelId.2 = 300 Does this handled by the header_simple_table()? Thanks, Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dave Shield Sent: Wednesday, April 06, 2005 6:07 PM To: Jim Su Cc: Net-Snmp-Users Su

iteration of entry in table

2005-04-03 Thread Jim Su
HI Greeting: I don't have much experience in snmp. I had learned some idea from studying the example and interface source code of how to implement the a table in agent. However I still need to fill up some gap and unclear concept. I would like to ask the clarification from the experienced sn

RE: weired compilation error

2005-04-02 Thread Jim Su
-Original Message- From: Robert Story [mailto:[EMAIL PROTECTED] Sent: Saturday, April 02, 2005 2:45 AM To: Jim Su Cc: Net-Snmp-Users Subject: Re: weired compilation error On Wed, 23 Mar 2005 14:56:37 +0800 Jim wrote: JS> I have encountered some weired compilin

RE: implementation of the CPU utilization and memory utilization

2005-04-01 Thread Jim Su
Thanks Robert! -Jim -Original Message- From: Robert Story [mailto:[EMAIL PROTECTED] Sent: Saturday, April 02, 2005 1:02 AM To: Jim Su Cc: Net-Snmp-Users Subject: Re: implementation of the CPU utilization and memory utilization On Wed, 30 Mar 2005 23:03:16 +0800 Jim wrote: JS> I

snmplib compilation errors

2005-03-31 Thread Jim Su
Dear all: I have encountered the following compilation error. I had no such problem when I did the make for the initial net-snmp package. I am not sure what had caused the problem. I added some codes in mibII/system_mib.c file for the sysObjectID retuning area to return our systemObjectID i

implementation of the CPU utilization and memory utilization

2005-03-30 Thread Jim Su
Dear all: I am looking for the examples of the implementation for monitoring system CPU utilization and memory utilization. I am wondering if there is such example in one of the net-snmp web site or other source. If you happen to know I'd appreciate your pointer. Thanks, Jim

weired compilation error

2005-03-22 Thread Jim Su
Hi Greeting: I have encountered some weired compiling problem in building net-snmp. I checked out the code of my agent (5.0.6) under a brand new path. The build is successful on one machine but failed on another machine. Both have the same OS. The error message I got is - ***

can’t find the shared libraries: libnetsnmp.so.5.

2005-03-07 Thread Jim Su
Hi Greeting: I have implemented one program to call SNMP library - snmp_sess_close, etc. The following is from NM of my executable file. U snmp_sess_init U snmp_sess_open U snmp_sess_session U snmp_sess_synch_response 08056c80 b snmp_sysuptime 08056ca8 b s

RE: undefined reference in libnetsnmp

2005-02-22 Thread Jim Su
, 2005 10:00 PM To: Jim Su Cc: Net-Snmp-Users Subject: Re: undefined reference in libnetsnmp On Tue, 22 Feb 2005 17:41:24 +0800 Jim wrote: JS> /usr/local/lib/libnetsnmp.so: undefined reference to `EVP_DigestInit' JS> [...] JS> I have the -lnetsnmp in my Makefile. You also

undefined reference in libnetsnmp

2005-02-22 Thread Jim Su
Hi Greeting: I wrote a simple net-snmp trap program using net-snmp-5.1.1. library. I got the compilation error as following - /usr/local/lib/libnetsnmp.so: undefined reference to `EVP_DigestInit' /usr/local/lib/libnetsnmp.so: undefined reference to `EVP_DigestFinal' /usr/local/lib/libnets

RE: snmpwalk: STRING output instead of Hex-String

2004-11-24 Thread Jim Su
Hi Bruce: BS> 5.0.6 is really, really stale and has some security concerns. Any chance of BS> trying a newer version? 5.2 is imminent. I'm on 5.0.6 too. If this is a very old version. I am thinking of to move up my snmp version to some what newer. However I can't move to 5.2 if the proble

RE: multiple set of table handling

2004-11-19 Thread Jim Su
hose first. That's how I got my first SNMP project completed. Certainly I will learn new staff from there. Thanks, Jim -Original Message- From: Robert Story (Users) [mailto:[EMAIL PROTECTED] Sent: Friday, November 19, 2004 11:14 PM To: Jim Su Cc: [EMAIL PROTECTED] Subject: Re: multiple s

RE: multiple set of table handling

2004-11-18 Thread Jim Su
- From: Robert Story (Users) [mailto:[EMAIL PROTECTED] Sent: Thursday, November 18, 2004 9:51 PM To: Jim Su Cc: [EMAIL PROTECTED] Subject: Re: multiple set of table handling On Thu, 18 Nov 2004 14:28:15 +0800 Jim wrote: JS>The process supplied me one JS>"set" of value for that

RE: multiple set of table handling

2004-11-17 Thread Jim Su
that same table. There is no involvement for the command set in my agent. My agent doesn't need to do the set to that table. Sorry I didn't make my question clear. Regards, Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Robert Story (User

multiple set of table handling

2004-11-16 Thread Jim Su
Hi Greeting: I have implemented net-snmp agent on 5.0.6 with UCD api. The agent has the handling to get the content of a table from another process. Currently the process only supplies one set of table to my agent. In the agent it's very straight forward to check each item in the prov

RE: Packaging of snmpd

2004-10-31 Thread Jim Su
Thanks to Gary and Robert for the clarification. -Jim -Original Message- From: Gary Clark [mailto:[EMAIL PROTECTED] Sent: Friday, October 29, 2004 9:24 PM To: [EMAIL PROTECTED]; Jim Su Cc: [EMAIL PROTECTED] Subject: Re: Packaging of snmpd Yeh thats true. Some OS linux share libraries

RE: Size increased 10 times bigger in an older version of net-snmp

2004-10-31 Thread Jim Su
-- From: Robert Story (Users) [mailto:[EMAIL PROTECTED] Sent: Saturday, October 30, 2004 12:52 AM To: Jim Su Cc: Dave Shield; Net-Snmp-Users Subject: Re: Size increased 10 times bigger in an older version of net-snmp On Fri, 29 Oct 2004 10:40:24 +0800 Jim wrote: JS> I could run the snmpwalk

RE: Size increased 10 times bigger in an older version of net-snmp

2004-10-28 Thread Jim Su
nk I still haven't fully comprehended how the net-snmp tools work yet. Thanks, Jim -Original Message- From: Dave Shield [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 27, 2004 5:08 PM To: Jim Su Cc: Net-Snmp-Users Subject: Re: Size increased 10 times bigger in an older version of net-s

RE: Packaging of snmpd

2004-10-27 Thread Jim Su
Thanks a lot! -Jm -Original Message- From: Dave Shield [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 27, 2004 5:11 PM To: Jim Su Cc: [EMAIL PROTECTED] Subject: Re: Packaging of snmpd > Will the size of installation smaller if the shared libraries is not > included? No

RE: Packaging of snmpd

2004-10-26 Thread Jim Su
So, to summarize Gary's work. - The result of 'configure --with-ldflags=-Bstatic' still contains shared libraries. - The result of './configure --enable-static=yes --enable-dynamic=no' contains no shared libraries. Is it due to the two options or just one of the two options? The options are not

RE: Size increased 10 times bigger in an older version of net-snmp

2004-10-26 Thread Jim Su
essage- From: Dave Shield [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 26, 2004 5:59 PM To: Jim Su Cc: Net-Snmp-Users Subject: Re: Size increased 10 times bigger in an older version of net-snmp > I had rolled back the net-snmp from 5.1.1 to 5.0.6. After the change the > size

Size increased 10 times bigger in an older version of net-snmp

2004-10-26 Thread Jim Su
Hi Greeting: I had rolled back the net-snmp from 5.1.1 to 5.0.6. After the change the size of the every file under /usr/local/bin has been increased 10 times bigger!!! I don't know why. With the increased size I have encountered the installation problem on the target system. The follow

RE: different returned result from command line walk to the walk launched from MG-SOFT MIB browser

2004-10-10 Thread Jim Su
2004 11:48 PM To: Jim Su Cc: Net-Snmp-Users Subject: Re: different returned result from command line walk to the walk launched from MG-SOFT MIB browser [ Sorry for the delay in responding to this ] > I have two C routine (var_) to handle two tables. To run the > "snm

RE: smallest scale installation

2004-10-08 Thread Jim Su
the size of the installing package? I can run "strip" command to reduce the size of snmpd. Can all the apps tools be "stripped"? Thanks, Jim -Original Message- From: Dave Shield [mailto:[EMAIL PROTECTED] Sent: Friday, October 08, 2004 4:35 PM To: Jim Su Cc: [EMAIL PRO

RE: smallest scale installation

2004-10-07 Thread Jim Su
OTECTED] Behalf Of Dave Shield Sent: Wednesday, September 29, 2004 10:52 PM To: Jim Su Cc: [EMAIL PROTECTED] Subject: Re: smallest scale installation > Is it okay to have multiple --wth-ldflags coexisted in configure? > For example: > configure --with-ldflags=-Bstatic > --with-l

RE: snmpd crashed by snmpwalk

2004-09-30 Thread Jim Su
--- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dave Shield Sent: Tuesday, September 28, 2004 7:42 PM To: Jim Su Cc: Net-Snmp-Users Subject: Re: snmpd crashed by snmpwalk > I encountered one snmpd crashed due to the snmpwalk timeout at the > "IF-MIB::ifNumber.0 &

RE: smallest scale installation

2004-09-29 Thread Jim Su
Thanks! -Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dave Shield Sent: Wednesday, September 29, 2004 10:52 PM To: Jim Su Cc: [EMAIL PROTECTED] Subject: Re: smallest scale installation > Is it okay to have multiple --wth-ldflags coexisted

RE: smallest scale installation

2004-09-29 Thread Jim Su
PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Robert Story (Users) Sent: Wednesday, September 29, 2004 3:32 AM To: Jim Su Cc: [EMAIL PROTECTED] Subject: Re: smallest scale installation On Tue, 28 Sep 2004 19:01:04 +0800 Jim wrote: JS> I encountered one small problem. I installed net-snmp5.1.1 on

RE: smallest scale installation

2004-09-29 Thread Jim Su
D] [mailto:[EMAIL PROTECTED] Behalf Of Robert Story (Users) Sent: Wednesday, September 29, 2004 3:32 AM To: Jim Su Cc: [EMAIL PROTECTED] Subject: Re: smallest scale installation On Tue, 28 Sep 2004 19:01:04 +0800 Jim wrote: JS> I encountered one small problem. I installed net-snmp5.1.1 on

warning - libtool

2004-09-28 Thread Jim Su
Hi Greeting: When I did make install on 5.0.6 I got the following warning. Is it okay to ignore this warning? List the warning in the following. libtool: install: warning: remember to run `libtool --finish /usr/local/lib' installing libnetsnmphelpers.la in /tmp/usr/local/lib PATH="$PATH:

RE: smallest scale installation

2004-09-28 Thread Jim Su
in the install path? Is there an uninstall in net-snmp? Is it a standard practice to uninstall one version first then install the different version? Please advise. Thanks in advance. Thanks, Jim -Original Message- From: Robert Story (Users) [mailto:[EMAIL PROTECTED] Sent: Friday, September

RE: win32 5.2.pre1 snmpwalk times out

2004-09-28 Thread Jim Su
hanks a lot for the direction! -Jim -Original Message- From: Alex Burger [mailto:[EMAIL PROTECTED] Sent: Monday, September 27, 2004 8:39 PM To: Jim Su Cc: [EMAIL PROTECTED] Subject: Re: win32 5.2.pre1 snmpwalk times out Hi Jim. You can download the current version from the CVS repos

RE: smallest scale installation

2004-09-24 Thread Jim Su
w any potential problem by doing that? BTW, the crash problem is found in 5.1.1 and 5.1.2 but not in 5.0.6 and 4.2.5. I will go back to 5.1.1 try to take debug trace after I chose a stable version to be used and merge my application into that version. Thanks, Jim -Original Message---

RE: smallest scale installation

2004-09-23 Thread Jim Su
figure options?) in ucd-4.2.5 so I can make a tar ball to bring the snmpd (ucd-snmp-4.2.5) to a target machine? Thanks in advance, Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Robert Story (Users) Sent: Sunday, August 29, 2004 12:39 AM To: Jim

RE: snmpd crashed by snmpwalk

2004-09-23 Thread Jim Su
Jim -Original Message-From: John Blake [mailto:[EMAIL PROTECTED]Sent: Thursday, September 23, 2004 8:56 PMTo: 'Jim Su'; Net-Snmp-UsersSubject: RE: snmpd crashed by snmpwalk  The actual issue is this;  http://sourceforge.net/tracker/?group_id=12694&atid=

RE: snmpd crashed by snmpwalk

2004-09-22 Thread Jim Su
, September 22, 2004 8:44 PMTo: 'Jim Su'; Net-Snmp-UsersSubject: RE: snmpd crashed by snmpwalk  Jim,  I had the same issue but it was because of a bug in SNMP. If there is no ip address on the interface, then it crashes. My OS is solaris.  http://sourceforge.n

RE: waitpid for child processes invoked from agent

2004-09-22 Thread Jim Su
material object. I deeply appreciate all your help. -Jim -Original Message- From: Robert Story (Users) [mailto:[EMAIL PROTECTED] Sent: Thursday, September 23, 2004 3:18 AM To: Jim Su Cc: [EMAIL PROTECTED] Subject: Re: waitpid for child processes invoked from agent On Mon, 20 Sep 2004 12:

snmpd crashed by snmpwalk

2004-09-21 Thread Jim Su
Hi Greeting: I encountered one snmpd crashed due to the snmpwalk timeout at the "IF-MIB::ifNumber.0 ". All the values before IF-MIB were returned. But there is time out on IF-MIB. I ran the snmpwalk to another host. It went through okay. The two systems have different OS level of Linux

RE: waitpid for child processes invoked from agent

2004-09-19 Thread Jim Su
8, 2004 1:15 AM To: Jim Su Cc: Net-Snmp-Users Subject: Re: waitpid for child processes invoked from agent On Mon, 13 Sep 2004 17:53:39 +0800 Jim wrote: JS> ... in my daemon which forked child ... A process is a child whose parent did not wait for it. If you want to get rid of the defunct

RE: net-snmp-config script seems not right

2004-09-19 Thread Jim Su
Thanks! Yes, the file has everything but the output got "truncated". -Jim -Original Message- From: Robert Story (Users) [mailto:[EMAIL PROTECTED] Sent: Saturday, September 18, 2004 12:48 AM To: Jim Su Cc: Net-Snmp-Users Subject: Re: net-snmp-config script seems not right On F

net-snmp-config script seems not right

2004-09-16 Thread Jim Su
Hi Greeting: It seems the result of "net-snmp-config --configure-options" is not right. It only echo the first option. There are more configure options in the echo list but only the first one was displayed. And the "net-snmp-cofig --agent-libs" and "net-snmp-config --external-agent-li

warning message in snmplib/container.c

2004-09-15 Thread Jim Su
Hi Greeting: When I run make from net-snmp top directory. I got the following warnings. Not sure why it appeared. It didn't appear before. I still can make a snmpd. However this warning message may indicate some where is not clean. Any sharing of your experience is highly appreciated. Than

RE: Does 'configure' or 'make' update mib_module_includes.h file if a config_require item is deleted from agent module header file?

2004-09-14 Thread Jim Su
Hi Robert: Thanks a lot! It's very helpful. I did configure again. -Jim -Original Message- From: Robert Story (Users) [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 14, 2004 9:46 PM To: Jim Su Cc: Net-Snmp-Users Subject: Re: Does 'configure' o

RE: How the configure options are stuffed in the Makefiles?

2004-09-14 Thread Jim Su
Hi Robert: Thanks a lot! I will do try that out. -Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Robert Story (Users) Sent: Tuesday, September 14, 2004 9:44 PM To: Jim Su Cc: Net-Snmp-Users Subject: Re: How the configure options are stuffed in

How the configure options are stuffed in the Makefiles?

2004-09-14 Thread Jim Su
Hi Greeting: As we know the configure option --with-ldflags has to be given an absolute path for a library to be linked to agent. If the -L path is relative path from the net-snmp top directory -L=../anotherdirectory/. The Makefile in agent and agent/mibgroup all have the same relativ

  1   2   >