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

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'm able

RE: asynchrous polling

2006-04-19 Thread Jim Su
in 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 polling

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

RE: migrate from V2 to V3

2005-12-14 Thread Jim Su
if 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 Dave

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
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: migrate from V2 to V3

2005-12-13 Thread Jim Su
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, Jim Su

RE: change the return value in V1 interface counter

2005-12-12 Thread Jim Su
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 counter Hi Greeting

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

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

RE: compilation error in 5.2.2

2005-12-01 Thread Jim Su
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- From: Jim Su [mailto:[EMAIL

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.

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

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

2005-11-29 Thread Jim Su
. 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 return

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 DEBUGMSGTL

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

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

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 one

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

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
, 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 DS 0, 5, 10, 15 .. 55 minutes

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: 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 reads one

RE: add a forever process in agent

2005-09-22 Thread Jim Su
: 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 or not. OK - then use

RE: add a forever process in agent

2005-09-22 Thread Jim Su
Of 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 - try

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

2005-09-19 Thread Jim Su
- 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 the jnxOperatingCPU

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-22 Thread Jim Su
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 Message- From: Jim Su [mailto:[EMAIL PROTECTED] Sent: Friday

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

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 way from the internet

RE: Error: OID not increasing

2005-07-15 Thread Jim Su
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 increasing Amazing result. If I added -Dgenie for the second case

RE: Error: OID not increasing

2005-07-14 Thread Jim Su
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 noticed the difference as following - JS If the snmpd is started with the following options : -f -L -Dge it's

RE: Error: OID not increasing

2005-07-14 Thread Jim Su
-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.2. JS

RE: Error: OID not increasing

2005-07-11 Thread Jim Su
/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 AM

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

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

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 NS^?X????jg??j??.?-Z#y0}?q^!j* ??~'????h+zn()?[EMAIL PROTECTED](m?? 'y??oë

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

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.

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

RE: weird error

2005-04-14 Thread Jim Su
: 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 MIB file was checked in CVS Our CVS, or yours? I can guarantee you

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)bh?+yN??v??y?'zjwbv?,n??!3?j[??(?'!lX^?^J?)???lgr?i?

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. The

RE: Is an executable snmpd agent existed?

2005-04-11 Thread Jim Su
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 same name

RE: iteration of entry in table

2005-04-11 Thread Jim Su
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 table On Fri

RE: iteration of entry in table

2005-04-07 Thread Jim Su
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 input, this holds the OID

RE: iteration of entry in table

2005-04-07 Thread Jim Su
- 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 the document again

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

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 am

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

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

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'

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 need -lcrypto. -- Robert

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 problem

RE: multiple set of table handling

2004-11-19 Thread Jim Su
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 set of table handling On Fri

RE: multiple set of table handling

2004-11-18 Thread Jim Su
) [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: JSThe process supplied me one JSset of value for that table at one time. Now the number

RE: multiple set of table handling

2004-11-17 Thread Jim Su
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 (Users) Sent: Thursday, November 18, 2004 12:42 AM To: Jim Su Cc: Net-Snmp-Users Subject: Re

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

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

2004-10-31 Thread Jim Su
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 on my development

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 - the size

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

2004-10-26 Thread Jim Su
, 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 of the every file under /usr/local/bin has been increased 10 times bigger

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

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

2004-10-10 Thread Jim Su
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 snmpwalk -c publick localhost

RE: smallest scale installation

2004-10-08 Thread Jim Su
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 PROTECTED] Subject: Re: smallest scale

RE: smallest scale installation

2004-10-07 Thread Jim Su
: 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-ldflags=-L${PRODUCT_SRC}/snmp_daemon Looking

RE: snmpd crashed by snmpwalk

2004-09-30 Thread Jim Su
: 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 . All the values before IF-MIB were returned. But there is time out on IF-MIB. What are the access

RE: smallest scale installation

2004-09-29 Thread Jim Su
:[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 my target JS machine

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 my

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: win32 5.2.pre1 snmpwalk times out

2004-09-28 Thread Jim Su
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 repository

RE: smallest scale installation

2004-09-28 Thread Jim Su
? 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 24, 2004 11:33 PM To: Jim Su

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

RE: smallest scale installation

2004-09-23 Thread Jim Su
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 Su Cc: [EMAIL

RE: waitpid for child processes invoked from agent

2004-09-22 Thread Jim Su
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:30:35 +0800 Jim wrote: JS I

RE: snmpd crashed by snmpwalk

2004-09-22 Thread Jim Su
=755477 John -Original Message- From: Jim Su [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 21, 2004 11:19 PM To: Net-Snmp-Users Subject: snmpd crashed by snmpwalk Hi Greeting: I encountered one snmpd crashed due to the snmpwalk timeout at the "I

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
PROTECTED] Sent: Saturday, September 18, 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 defunct process is a child whose parent did not wait

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-libs

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.

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 Greeting: I found the following situation. After I deleted one entry of config_require in my agent module .*h file. And removed the corresponding *h file of this deleted configure_require item from my agent module directory. The make of net-snmp always stooped at

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

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

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' or 'make' update

RE: Add a useful utility into agent

2004-09-04 Thread Jim Su
/authutil/' '--with-libs=-lauth' for a .o file? Thanks, -Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Niels Baggesen Sent: Saturday, September 04, 2004 4:54 AM To: Jim Su Cc: [EMAIL PROTECTED] Subject: Re: Add a useful utility into agent On Wed, Sep 01

RE: Add a useful utility into agent

2004-08-31 Thread Jim Su
*** I will let you know if I am lucky to find the cause of this error. Regards, Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Robert Story (Users) Sent: Wednesday, September 01, 2004 4:24 AM To: Jim Su Cc: [EMAIL PROTECTED] Subject: Re

RE: Add a useful utility into agent

2004-08-31 Thread Jim Su
if I can do this in the configure option? Or can I do it in the top of the tree instead of doing this in agent, agent/mibgroup, apps, etc. ? Thanks in advance for your input. -Jim -Original Message- From: Jim Su [mailto:[EMAIL PROTECTED] Sent: Wednesday

RE: Add a useful utility into agent

2004-08-30 Thread Jim Su
] Sent: Tuesday, August 31, 2004 4:43 AM To: Jim Su Cc: Net-Snmp-Users Subject: Re: Add a useful utility into agent On Mon, 30 Aug 2004 17:57:45 +0800 Jim wrote: JS One useful routine was created out side of net-snmp build directory. In JS my application this routine can be used by mibII

RE: smallest scale installation

2004-08-29 Thread Jim Su
that way. Any way there always some mysterious things in the computer world. Have a nice weekend! -Jim -Original Message- From: Robert Story (Users) [mailto:[EMAIL PROTECTED] Sent: Sunday, August 29, 2004 12:11 AM To: Jim Su Cc: [EMAIL PROTECTED] Subject: Re: smallest scale installation

RE: smallest scale installation

2004-08-28 Thread Jim Su
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Robert Story (Users) Sent: Saturday, August 28, 2004 5:24 AM To: Bruce Shaw Cc: 'Jim Su'; Thomas Anders; Net-Snmp-Users Subject: Re: smallest scale installation On Fri, 27 Aug 2004 08:38:07 -0600 Bruce wrote: BS Five issues

RE: smallest scale installation

2004-08-28 Thread Jim Su
and exec_prefix directive? Thanks in advance. -Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Robert Story (Users) Sent: Saturday, August 28, 2004 5:24 AM To: Bruce Shaw Cc: 'Jim Su'; Thomas Anders; Net-Snmp-Users Subject: Re: smallest scale installation

snmpd - gcc: command not found

2004-08-27 Thread Jim Su
Hi Greeting: I have expanded the net-snmp agent to include the private staff. I had tested. It works well. One of the user checked out from CVS and install the snmpd by coping the snmpd to the /usr/local/sbin directory. He also copied the mibfiles,and the snmpd.conf file to the

RE: smallest scale installation

2004-08-27 Thread Jim Su
Hi Thomas: Thanks a lot for the information. I followed the instruction shoed on the web page you provided. ./configure --prefix=/not/usr/ make make install prefix=/tmp/not/usr exec-prefix=/tmp/not/usr cd /tmp tar cvf

smallest scale installation

2004-08-26 Thread Jim Su
Hi Greeting: I am wondering to run make install is the only way to have snmpd installed and function. I was given an in house image install procedure which does the copy of snmpd to /usr/local/sbin directory, copy of the snmpd.conf to the /usr/local/share/snmp/ directory, and the

to run net-snmp configure, build, make in one step

2004-08-20 Thread Jim Su
Hi Greeting: When I ran ./configure at net-snmp root directory. I can add the parameters - ./configure --with-mibs=myMIB --with-default-snmp-version=2 --with-sys-contact=[EMAIL PROTECTED] --with-sys-location=TBD --with-logfile=/var/log/snmpd.log

RE: to run net-snmp configure, build, make in one step

2004-08-20 Thread Jim Su
this is a very straightforward question. Hopefully some one can confirm my assumption. Thanks in advance. -Jim -Original Message- From: Jim Su [mailto:[EMAIL PROTECTED] Sent: Friday, August 20, 2004 4:55 PM To: Net-Snmp-Users Subject: to run net-snmp configure, build, make in one step Hi Greeting

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

2004-08-19 Thread Jim Su
option the tool should run on v2c. I guess it's the different behavior between versions. Regards, Jim -Original Message- From: Jim Su [mailto:[EMAIL PROTECTED] Sent: Thursday, August 19, 2004 2:34 PM To: Net-Snmp-Users Subject: different returned result from command line walk

  1   2   >