Re: Appending LIb and include paths
Raghavendra Prasad wrote: > '--includedir=/data/projects/cdspr/sw/common/include/gamma' > '--libdir=/data/projects/cdspr/sw/common/gammalibs-0BETA_20080428/x86' > > Evidently the compiler options like "includedir" and "libdir" are > overwriting the standard paths - I did not wanted this. I want to > append "includedir" and "libdir" to the standard paths instead of > overwriting, since my libraries and includes are present in both > standard and configured paths. ./configure --with-cflags="-I/data/projects/cdspr/sw/common/include/gamma/net-snmp ..." --with-ldflags="-L/data/projects/cdspr/sw/common/gammalibs-0BETA_20080428/x86" ... +Thomas -- Thomas Anders (thomas.anders at blue-cable.de) - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Appending LIb and include paths
Hi all, I configured twice with the following options - for comparison ./configure '--with-persistent-directory=/data/projects/cdspr/sw/snmp/var/net-snmp' '--with-sys-location=izt' '--with-logfile=/data/projects/cdspr/sw/snmp/var/log/snmpd.log' '--with-sys-contact=izt' '--with-default-snmp-version=2c' '--prefix=/data/projects/cdspr/sw/snmp' '--exec-prefix=/data/projects/cdspr/sw/snmp' '--includedir=/data/projects/cdspr/sw/common/include/gamma' '--libdir=/data/projects/cdspr/sw/common/gammalibs-0BETA_20080428/x86' '--with-cflags=-Wall -Wshadow -Wunreachable-code -W -g -ggdb' AND ./configure '--with-persistent-directory=/data/projects/cdspr/sw/snmp/var/net-snmp' '--with-sys-location=izt' '--with-logfile=/data/projects/cdspr/sw/snmp/var/log/snmpd.log' '--with-sys-contact=izt' '--with-default-snmp-version=2c' '--prefix=/data/projects/cdspr/sw/snmp' '--exec-prefix=/data/projects/cdspr/sw/snmp' The diff between these two Makefiles gives the following output: < libdir= /data/projects/cdspr/sw/common/gammalibs-0BETA_20080428/x86 --- > libdir= ${exec_prefix}/lib 19,20c19,20 < includedir= /data/projects/cdspr/sw/common/include/gamma/net-snmp < ucdincludedir = /data/projects/cdspr/sw/common/include/gamma/ucd-snmp --- > includedir= ${prefix}/include/net-snmp > ucdincludedir = ${prefix}/include/ucd-snmp 50c50 < CFLAGS= -Wall -Wshadow -Wunreachable-code -W -g -ggdb -Ulinux -Dlinux=linux -I/usr/include/rpm --- > CFLAGS= -g -O2 -Ulinux -Dlinux=linux -I/usr/include/rpm Evidently the compiler options like "includedir" and "libdir" are overwriting the standard paths - I did not wanted this. I want to append "includedir" and "libdir" to the standard paths instead of overwriting, since my libraries and includes are present in both standard and configured paths. Well manually editing Makefiles is one option. But I intend to accomplish this with ./configure step itself (this is a peculiar requirement in our project) Please help With regards, Raghavendra - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
RE: How to determine whether a discovered device is a PC?
If you do an snmpwalk on the system and go through the hosts MIB... iso . org . dod . internet . mgmt . mib-2 . host . hrSWRun . hrSWRunTable . hrSWRunEntry . hrSWRunName You should be able to work out what the system is by what is running. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Ayers Sent: 15 May 2008 19:01 To: Amarnath T; net-snmp-users@lists.sourceforge.net Subject: RE: How to determine whether a discovered device is a PC? > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Amarnath T > Sent: Thursday, May 15, 2008 2:39 AM > How can one determine whether the discovered device is a PC or not? First, you'll need to define what it means to be a PC. Essentially, what are the characteristics that make a host a "PC"? Processor type(s)? Operating system(s)? Amount of memory? How can you tell that this "PC" is not, say, a router running Linux? Once you have answered that question, your answer can be converted into a simple decision flow chart. For each question, you will want to know something about the target system - find that data in a standard MIB and query that data. You must provide for the case where that data is not available, either because no SNMP agent is running, the running agent does not support the desired MIB, or you do not have permission to read the data. That's the general idea, anyway. HTH, Mike - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users http://www.vital-group.com - Dedicated to business communications. http://www.vital-storage.com- Secure easy-to-use remote backups for business critical data. The information contained in this message is intended for the addressee only and may contain confidential and/or privileged information.If you are not the addressee, please delete this message and notify the sender; you should not copy or distribute this message or disclose its contents to anyone.Any views or opinions expressed in this message are those of the author and do not necessarily represent those of The Vital International Group or any of its affiliates.No reliance may be placed on this message without written confirmation from an authorised representative of its contents. Registered in England. Vital International Limited. Leigh House, Weald Road, Brentwood, Essex, CM14 4SX.Company registration number - 45022560. 05/16/08 10:18:40 - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
./configure bug
Hi all, I have noticed a strange problem several times, although was not sure in the beginning. Now I feel that it could be bug in Net-SNMP If I change from ./configure settings to a completely different ./configure setting For eg from say FROM case1 ./configure '--with-mib-modules=xmRadio_modules/snmpData xmRadio_modules/controller' '--with-persistent-directory=/data/projects/cdspr/sw/snmp/var/net-snmp' '--with-sys-location=izt' '--with-logfile=/data/projects/cdspr/sw/snmp/var/log/snmpd.log' '--with-sys-contact=izt' '--with-default-snmp-version=2c' '--prefix=/data/projects/cdspr/sw/snmp' '--exec-prefix=/data/projects/cdspr/sw/snmp' '--with-cflags=-I/data/projects/cdspr/sw/common/include/gamma' '--with-ldflags=-L/data/projects/cdspr/sw/common/gammalibs-0BETA_20080428/x86' '--with-libs=-lTOS -lCTIfce -lCIfce' TO case2 ./configure --with-mib-modules="examples/notification" The SNMP daemon snmpd would behave(or funcion) exactly as case1, but writes to the correct directory(/usr/local/sbin), which is the default directory if prefix in not specified. But the functionality is reflected as if I compiled with case1 configuration option. It means in the background previous configuration is stil persisting with respect to MIb modules. After installation I did check with command ./net-snmp-config --configure-options, this shows correct output --with-mib-modules="examples/notification" which is very deceptive. I tried this severaltimes with no luck. Sometimes this problem is consistant and persistant, and some times it is inconsistant. I would be curious to know if any one of you encountered the same problem? With regards, Raghavendra - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
RE: ./configure bug
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Raghavendra Prasad > Sent: Friday, May 16, 2008 9:16 AM > If I change from ./configure settings to a completely different > ./configure setting Did you `make distclean` before running configure again? Thanks, Mike - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
help me out in getting trap regarding cpu utilisation
can somebody tell me how to get a trap where we want to be notified as cpu utilisation goes beyond a certain amount;say we want a trap every time whenever cpu utilisation goes up 50%. santanu kumar raul ring me-09338447020 voip:844-4388 BHDC MAKES ME APPLY BOLD:U NEVER FAIL.U HAVE ATTEMPTED 1000 NUMBER OF WAYS WHICH DID NOT WORK.TRY THE NEXT ONE. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
RE: ./configure bug
On Fri, 2008-05-16 at 10:54 -0700, Mike Ayers wrote: > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On > > Behalf Of Raghavendra Prasad > > Sent: Friday, May 16, 2008 9:16 AM > > > If I change from ./configure settings to a completely different > > ./configure setting > > Did you `make distclean` before running configure again? Or remove configure.cache / configure.guess ~BAS > > Thanks, > > Mike > > - > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ > ___ > Net-snmp-users mailing list > Net-snmp-users@lists.sourceforge.net > Please see the following page to unsubscribe or change other options: > https://lists.sourceforge.net/lists/listinfo/net-snmp-users -- Brian A. Seklecki <[EMAIL PROTECTED]> Collaborative Fusion, Inc. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: ./configure bug
Did you `make distclean` before running configure again? No. I will try this. Thank you Or remove configure.cache / configure.guess ~BAS No. I will try this too. Thank you - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users