Re: Container load
BTW, I tried increasing timeout, so its not that. Kavita --- On Thu, 8/12/10, kavita raghunathan wrote: > From: kavita raghunathan > Subject: Container load > To: net-snmp-users@lists.sourceforge.net > Date: Thursday, August 12, 2010, 3:56 PM > Hello, When I turn on container load > (specifically NETSNMP_CACHE_AUTO_RELOAD) , snmp get to agent > no longer works. Anyone know why? > Thanks, > Kavita > > > > > -- > This SF.net email is sponsored by > > Make an app they can't live without > Enter the BlackBerry Developer Challenge > http://p.sf.net/sfu/RIM-dev2dev > ___ > 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 > -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ 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
Container load
Hello, When I turn on container load (specifically NETSNMP_CACHE_AUTO_RELOAD) , snmp get to agent no longer works. Anyone know why? Thanks, Kavita -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ 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: net-snmp 5.4.2 - error when compiled for IPV6 support
On 12 August 2010 14:45, Ravi Chandran wrote: > When I compiled with OpenSSL support the compilation fails. > I could not locate the hmac.h file which it is trying to locate. [snip] > I could not locate the file hmac.h or openssl folder in the net-snmp-5.4.3 > package. > Is this file not part of net-snmp package. No. > Am I missing anything that I need to have in order to compile this? The Open SSL package ! This is a separate project - not part of Net-SNMP. It's a library that our code can make use of if this is available, but it's not something that we ship ourselves. If you don't have it installed, then you can't use it :-) Dave -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ 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: net-snmp 5.4.2 - error when compiled for IPV6 support
Hi, I got one more issue. When I compiled with OpenSSL support the compilation fails. I could not locate the hmac.h file which it is trying to locate. keytools.c ..\..\snmplib\keytools.c(45) : fatal error C1083: Cannot open include file: 'openssl/hmac.h': No such file or directory NMAKE : fatal error U1077: '"E:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe"' : return code '0x2' Stop. NMAKE : fatal error U1077: '"E:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\nmake.EXE"' : return code '0x2' Stop. I could not locate the file hmac.h or openssl folder in the net-snmp-5.4.3 package. Is this file not part of net-snmp package. Am I missing anything that I need to have in order to compile this? Thanks in advance. Regards Ravi -Original Message- From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf Of Dave Shield Sent: Thursday, August 12, 2010 5:00 PM To: Ravi Chandran Cc: net-snmp-users@lists.sourceforge.net Subject: Re: net-snmp 5.4.2 - error when compiled for IPV6 support On 12 August 2010 11:41, Ravi Chandran wrote: > We have been using net-snmp version 5.4.2 successfully. Now we wanted > to support IPv6 too. > ..\..\snmplib\inet_ntop.c(79) : error C2373: 'inet_ntop' : redefinition; > different type modifiers > > NMAKE : fatal error U1077: '"E:\Program Files\Microsoft Visual Studio > 9.0\VC\BIN\cl.exe"' : return code '0x2' > Can some point what I'm missing or what I should do to fix this and > get a > IPv6 enabled net-snmp binaries? This problem has been fixed in release 5.4.3 Try compiling that version of the code. (You *might* get get away with taking the two files win32/net-snmp/net-snmp-config* from the 5.4.3 code, and copying them into your 5.4.2 tree. But no promises) Dave -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ 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: is there a quick hack to force a canned response for an arbitrary OID?
On Thu, Aug 12, 2010 at 9:36 AM, Dave Shield wrote: > On 12 August 2010 14:27, Fulko Hew wrote: > > I'm trying to help someone implement support for a private MIB, > > and he needs to (temporarily) respond to a particular OID in order > > to fake out an NMS to query that private MIB he's testing. > > > > Is there anything I can add to snmpd.conf to accomplish this? > > $ man snmpd.conf > > override [-rw] OID TYPE VALUE > This directive allows you to override a particular OID > with a different value > > Dave > > mutter mutter documentation mutter mutter waste of time mutter mutter > Thanks, but... I perused the man page for snmpd.conf to look for it and... damn! I missed it. I thought it was there, just didn't see it today. Big SORRY! mutter mutter blind_as_a_bat mutter mutter must_get_glasses mutter mutter -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ 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: is there a quick hack to force a canned response for an arbitrary OID?
On 12 August 2010 14:27, Fulko Hew wrote: > I'm trying to help someone implement support for a private MIB, > and he needs to (temporarily) respond to a particular OID in order > to fake out an NMS to query that private MIB he's testing. > > Is there anything I can add to snmpd.conf to accomplish this? $ man snmpd.conf override [-rw] OID TYPE VALUE This directive allows you to override a particular OID with a different value Dave mutter mutter documentation mutter mutter waste of time mutter mutter -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ 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
is there a quick hack to force a canned response for an arbitrary OID?
I'm trying to help someone implement support for a private MIB, and he needs to (temporarily) respond to a particular OID in order to fake out an NMS to query that private MIB he's testing. Is there anything I can add to snmpd.conf to accomplish this? I can add a line to force a canned response for sysObjectID... I'd like to do the same for a private OID... something like 1.3.6.1.4.1.1978.1.2.3.0 s 'dummy value' If it was a unix'ish machine I'd hack up a quick perl based sub-agent for that OID, but unfortunately he's running on Windows. Any suggestions? TIA Fulko -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ 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: net-snmp 5.4.2 - error when compiled for IPV6 support
Hi Dave, Thanks for the help. I have downloaded 5.4.3 and compiled successfully with IPv6. Regards Ravi -Original Message- From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf Of Dave Shield Sent: Thursday, August 12, 2010 5:00 PM To: Ravi Chandran Cc: net-snmp-users@lists.sourceforge.net Subject: Re: net-snmp 5.4.2 - error when compiled for IPV6 support On 12 August 2010 11:41, Ravi Chandran wrote: > We have been using net-snmp version 5.4.2 successfully. Now we wanted > to support IPv6 too. > ..\..\snmplib\inet_ntop.c(79) : error C2373: 'inet_ntop' : redefinition; > different type modifiers > > NMAKE : fatal error U1077: '"E:\Program Files\Microsoft Visual Studio > 9.0\VC\BIN\cl.exe"' : return code '0x2' > Can some point what I'm missing or what I should do to fix this and > get a > IPv6 enabled net-snmp binaries? This problem has been fixed in release 5.4.3 Try compiling that version of the code. (You *might* get get away with taking the two files win32/net-snmp/net-snmp-config* from the 5.4.3 code, and copying them into your 5.4.2 tree. But no promises) Dave -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ 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: SNMP Make error
On 10 August 2010 22:12, Ernie Lacson wrote: > While running: make test, I get the following error. > In file included from /usr/include/kvm.h:14, > from kernel.h:11, > from snmp_vars.c:143: > /usr/include/sys/proc.h:202: error: syntax error before "p_t1_lgrpid" > /usr/include/sys/proc.h:203: error: syntax error before "p_tr_lgrpid" > /usr/include/sys/proc.h:337: error: syntax error before '}' token > > In file included from kernel.h:11, > from snmp_vars.c:143: > /usr/include/kvm.h:44: error: syntax error before '*' token > /usr/include/kvm.h:45: error: syntax error before '*' token > /usr/include/kvm.h:48: error: syntax error before "proc_t" We've had this problem reported a couple of times over the last year. But neither of the people involved came back with the requested information to help track down the problem. (Quoting Thomas from those earlier reports) What exact configure options did you use? What gcc version and package are you running? What's the value of HAVE_KVM_H and HAVE_SYS_PROC_H in include/net-snmp/net-snmp-config.h in the build dir after running configure? Do you see similar errors wrt. kvm.h and sys/proc.h in config.log? My questions: What do lines 202 & 203 of /usr/include/sys/proc.h look like? If they refer to a type 'lgrp_id_t', does this appear anywhere in the header file /usr/include/sys/types.h? As a quick-n-dirty test, try tweaking the sys/proc.h header file to remove the word "volatile" from lines 202 & 203, and re-compile. Does that make any difference? Dave -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ 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: net-snmp 5.4.2 - error when compiled for IPV6 support
On 12 August 2010 11:41, Ravi Chandran wrote: > We have been using net-snmp version 5.4.2 successfully. Now we wanted to > support IPv6 too. > ..\..\snmplib\inet_ntop.c(79) : error C2373: 'inet_ntop' : redefinition; > different type modifiers > > NMAKE : fatal error U1077: '"E:\Program Files\Microsoft Visual Studio > 9.0\VC\BIN\cl.exe"' : return code '0x2' > Can some point what I’m missing or what I should do to fix this and get a > IPv6 enabled net-snmp binaries? This problem has been fixed in release 5.4.3 Try compiling that version of the code. (You *might* get get away with taking the two files win32/net-snmp/net-snmp-config* from the 5.4.3 code, and copying them into your 5.4.2 tree. But no promises) Dave -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ 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: SORRY! I found net-snmp 5.5 didn't provide default implementation to retrieve HOST-RESOURCES-MIB::hrProcessorLoad value, is that so?
On 12 August 2010 10:03, orientropy i wrote: > it still responded: duplicate registration (mibII/snmp, > C:\WINDOWS\System32\snmpmib.dll)handler registration failed. If you want to turn off the Net-SNMP 'mibII/snmp' module, then use '-I-snmp' In general, if a module is loaded using the routine 'init_xxx' then it would be disabled using '-I-xxx' Dave -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ 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: SORRY! I found net-snmp 5.5 didn't provide default implementation to retrieve HOST-RESOURCES-MIB::hrProcessorLoad value, is that so?
Dear Bart and Dave: thanks a lot. i've resolved this problem with what Bart reminded. but there's another a question: when i use the start option as Readme.Win32 says, like this: snmpd.exe -I-udp,udpTable,tcp,tcpTable,icmp,ip,interfaces,system_mib,sysORTable it still responded: duplicate registration (mibII/snmp, C:\WINDOWS\System32\snmpmib.dll)handler registration failed. i tried using snmpd -Dmib_init to find which module i should get rid of, but nothing found correspond to the mibII/snmp handler registration does it matter? or which handler i should ignore? anyway, i can get the system information i needed now, such as HOST-RESOURCES-MIB::hrProcessorLoad. great work, thanks again! -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ 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: loading more snmpd.conf questions
On 12 August 2010 09:28, Markus Hofer wrote: > So I understood that if in SNMPCONFPATH several different paths for a > snmpd.conf are specified then each of these files will be loaded. > > Will the result of this overall configuration be a mixture of all > configuration > files specified in SNMPCONFPATH? Yes. Essentially think of this as concatenating all of these config files together into one big file, and then processing that. > If I specified v2 communities in one of these .conf files is it > possible to redifine or even undifine these v2 communities > by another, more specific, later loaded .conf file? I'm not sure. It probably depends on exactly what you are trying to do. Try experimenting with two or three directives in a single file, and see how they interact. You ought to get the same effect as if those directives were spread across multiple files. Dave -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ 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: net-snmp build error with ipv6 support for arm
> Hi > > After successfully cross compiling net-snmp with openssl 1.1.0a support > for SHA authentication for an ARM9 I am trying to add IPV6 support by just > compiling with --enable-ipv6. However some difficulties cross compiling > difficulties did occur > > I tried out both versions net-snmp 5.4.1 and 5.5 > > on net-snmp 5.4.1 the compilation terminated with > > arm-926ejs-linux-gnueabi-gcc -I../../include > -I/home_vie/mhofer/work/net-snmp/include -I. -I../../agent > -I/home_vie/mhofer/work/net-snmp/agent > -I../../agent/mibgroup -I/home_vie/mhofer/work/net-snmp/agent/mibgroup > -I../../snmplib -I/home_vie/mhofer/work/net-snmp/snmplib > -I/home_vie/mhofer/work/VBTip6/target_arm/include > -I/home_vie/mhofer/work/VBTip6/include > -DNETSNMP_ENABLE_IPV6 -Ulinux -Dlinux=linux -g -c > /home_vie/mhofer/work/net-snmp/agent/mibgroup/ip-mib/data_access/ipaddress_common.c > -o > ip-mib/data_access/ipaddress_common.o >/dev/null 2>&1 > arm-926ejs-linux-gnueabi-gcc -I../../include > -I/home_vie/mhofer/work/net-snmp/include -I. -I../../agent > -I/home_vie/mhofer/work/net-snmp/agent > -I../../agent/mibgroup -I/home_vie/mhofer/work/net-snmp/agent/mibgroup > -I../../snmplib -I/home_vie/mhofer/work/net-snmp/snmplib > -I/home_vie/mhofer/work/VBTip6/target_arm/include > -I/home_vie/mhofer/work/VBTip6/include > -DNETSNMP_ENABLE_IPV6 -Ulinux -Dlinux=linux -g -c > /home_vie/mhofer/work/net-snmp/agent/mibgroup/ip-mib/data_access/ipaddress_linux.c > -fPIC -DPIC -o > ip-mib/data_access/.libs/ipaddress_linux.o > /home_vie/mhofer/work/net-snmp/agent/mibgroup/ip-mib/data_access/ipaddress_linux.c: > In function '_load_v6': > /home_vie/mhofer/work/net-snmp/agent/mibgroup/ip-mib/data_access/ipaddress_linux.c:281: > error: 'IFA_F_PERMANENT' undeclared (first use in this function) > /home_vie/mhofer/work/net-snmp/agent/mibgroup/ip-mib/data_access/ipaddress_linux.c:281: > error: (Each undeclared identifier is reported only once > /home_vie/mhofer/work/net-snmp/agent/mibgroup/ip-mib/data_access/ipaddress_linux.c:281: > error: for each function it appears in.) > /home_vie/mhofer/work/net-snmp/agent/mibgroup/ip-mib/data_access/ipaddress_linux.c:283: > error: 'IFA_F_DEPRECATED' undeclared (first use in this function) > /home_vie/mhofer/work/net-snmp/agent/mibgroup/ip-mib/data_access/ipaddress_linux.c:285: > error: 'IFA_F_TENTATIVE' undeclared (first use in this function) > make[4]: *** [ip-mib/data_access/ipaddress_linux.lo] Error 1 > make[4]: Leaving directory > `/home_vie/mhofer/work/net-snmp/build_arm/agent/mibgroup' > make[3]: *** [subdirs] Error 1 > make[3]: Leaving directory > `/home_vie/mhofer/work/net-snmp/build_arm/agent' > make[2]: *** [subdirs] Error 1 > make[2]: Leaving directory `/home_vie/mhofer/work/net-snmp/build_arm' > make[1]: *** [makeit] Error 2 > make[1]: Leaving directory `/home_vie/mhofer/work/net-snmp' > make: *** [net-snmp_nodeps] Error 2 Sorry for the repost just before... The solution to this problem is, that the the includes I was using for cross compiling for the arm didn't have the definitions for IFA_F_DEPRECATED, etc They are usually located in /linux/rtnetlink.h or /linux/if_addr.h. Normally ipaddress_linux.c only includes rtnetlink.h and depending on which toolchain you are using IFA_F_* is definied here or not; if not then it is usually defined in if_addr.h, which is, again depending on the version you are using, included by rtnetlink.h or not. So as a workarround you have to specify the path where the corresponding variables are defined. I didn't look into the other compile error; maybe later on Regards Markus -- Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief! Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ 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: net-snmp build error with ipv6 support for arm
Original-Nachricht > Datum: Mon, 09 Aug 2010 15:28:31 +0200 > Von: "Markus Hofer" > An: net-snmp-users@lists.sourceforge.net > Betreff: net-snmp build error with ipv6 support for arm > Hi > > After successfully cross compiling net-snmp with openssl 1.1.0a support > for SHA authentication for an ARM9 I am trying to add IPV6 support by just > compiling with --enable-ipv6. However some difficulties cross compiling > difficulties did occur > > I tried out both versions net-snmp 5.4.1 and 5.5 > > on net-snmp 5.4.1 the compilation terminated with > > arm-926ejs-linux-gnueabi-gcc -I../../include > -I/home_vie/mhofer/work/net-snmp/include -I. -I../../agent > -I/home_vie/mhofer/work/net-snmp/agent > -I../../agent/mibgroup -I/home_vie/mhofer/work/net-snmp/agent/mibgroup > -I../../snmplib -I/home_vie/mhofer/work/net-snmp/snmplib > -I/home_vie/mhofer/work/VBTip6/target_arm/include > -I/home_vie/mhofer/work/VBTip6/include > -DNETSNMP_ENABLE_IPV6 -Ulinux -Dlinux=linux -g -c > /home_vie/mhofer/work/net-snmp/agent/mibgroup/ip-mib/data_access/ipaddress_common.c > -o > ip-mib/data_access/ipaddress_common.o >/dev/null 2>&1 > arm-926ejs-linux-gnueabi-gcc -I../../include > -I/home_vie/mhofer/work/net-snmp/include -I. -I../../agent > -I/home_vie/mhofer/work/net-snmp/agent > -I../../agent/mibgroup -I/home_vie/mhofer/work/net-snmp/agent/mibgroup > -I../../snmplib -I/home_vie/mhofer/work/net-snmp/snmplib > -I/home_vie/mhofer/work/VBTip6/target_arm/include > -I/home_vie/mhofer/work/VBTip6/include > -DNETSNMP_ENABLE_IPV6 -Ulinux -Dlinux=linux -g -c > /home_vie/mhofer/work/net-snmp/agent/mibgroup/ip-mib/data_access/ipaddress_linux.c > -fPIC -DPIC -o > ip-mib/data_access/.libs/ipaddress_linux.o > /home_vie/mhofer/work/net-snmp/agent/mibgroup/ip-mib/data_access/ipaddress_linux.c: > In function '_load_v6': > /home_vie/mhofer/work/net-snmp/agent/mibgroup/ip-mib/data_access/ipaddress_linux.c:281: > error: 'IFA_F_PERMANENT' undeclared (first use in this function) > /home_vie/mhofer/work/net-snmp/agent/mibgroup/ip-mib/data_access/ipaddress_linux.c:281: > error: (Each undeclared identifier is reported only once > /home_vie/mhofer/work/net-snmp/agent/mibgroup/ip-mib/data_access/ipaddress_linux.c:281: > error: for each function it appears in.) > /home_vie/mhofer/work/net-snmp/agent/mibgroup/ip-mib/data_access/ipaddress_linux.c:283: > error: 'IFA_F_DEPRECATED' undeclared (first use in this function) > /home_vie/mhofer/work/net-snmp/agent/mibgroup/ip-mib/data_access/ipaddress_linux.c:285: > error: 'IFA_F_TENTATIVE' undeclared (first use in this function) > make[4]: *** [ip-mib/data_access/ipaddress_linux.lo] Error 1 > make[4]: Leaving directory > `/home_vie/mhofer/work/net-snmp/build_arm/agent/mibgroup' > make[3]: *** [subdirs] Error 1 > make[3]: Leaving directory > `/home_vie/mhofer/work/net-snmp/build_arm/agent' > make[2]: *** [subdirs] Error 1 > make[2]: Leaving directory `/home_vie/mhofer/work/net-snmp/build_arm' > make[1]: *** [makeit] Error 2 > make[1]: Leaving directory `/home_vie/mhofer/work/net-snmp' > make: *** [net-snmp_nodeps] Error 2 > > I looked into the corresponding file and there are some ifdef like > > #if defined (NETSNMP_ENABLE_IPV6) > > where the corresponding flags are used > I first wanted to ask if this is a known problem somewhere? > > Just to try it out for later versions i stepped up to net-snmp 5.5 > > on net snmp 5.5 > > > - > Net-SNMP configuration summary: > - > > SNMP Versions Supported:1 2c 3 > Building for: linux > Net-SNMP Version: 5.5 > Network transport support: Callback Unix Alias TCP UDP TCPIPv6 UDPIPv6 > SNMPv3 Security Modules: usm > Agent MIB code: default_modules => snmpv3mibs mibII > ucd_snmp notification notification-log-mib target agent_mibs agentx > disman/event > disman/schedule utilities host > MYSQL Trap Logging: unavailable > Embedded Perl support: disabled > SNMP Perl modules: disabled > SNMP Python modules:disabled > Authentication support: MD5 SHA1 > Encryption support: DES AES > > - > > However I got again errors > > > vie/mhofer/work/VBT55ip6/target_arm/include > -I/home_vie/mhofer/work/VBT55ip6/include -DNETSNMP_ENABLE_IPV6 -Ulinux > -Dlinux=linux -c > /home_vie/mhofer/work/net-snmp-5.5/agent/mibgroup/ip-mib/data_access/arp_common.c > -fPIC > -DPIC -o ip-mib/data_access/.libs/arp_common.o > libtool: compile: arm-926ejs-linux-gnueabi-gcc -I../../include > -I/home_vie/mhofer/work/net-snmp-5.5/include -I. -I../../agent > -I/home_vie/mhofer/work/net-snmp-5.5/agent -I../../agent/mibgroup > -I/home_vie/mhofer/work/net-snmp-5.5/agent/mibgroup -I../../snmplib > -I/home_vie/mhofer/work/net-snmp-5.5/snmplib > -I/home_vie/mhofer/work/VBT55ip6/target_arm/inc
loading more snmpd.conf questions
Hi I got a question about the loading procedure of snmpd.conf files According to the manual of snmpd_conf the snmpd.conf files are loaded accorded to the following order "Applications will read persistent configuration files in the following order of preference: file in SNMP_PERSISTENT_FILE environment variable directories in SNMPCONFPATH environment variable directory defined by persistentDir snmp.conf variable directory in SNMP_PERSISTENT_DIR environment variable default /var/net-snmp directory " So I understood that if in SNMPCONFPATH several different paths for a snmpd.conf are specified then each of these files will be loaded. Will the result of this overall configuration be a mixture of all configuration files specified in SNMPCONFPATH? It was not clear for me, when i read the manual. If I specified v2 communities in one of these .conf files is it possible to redifine or even undifine these v2 communities by another, more specific, later loaded .conf file? Thanks Markus -- GMX DSL SOMMER-SPECIAL: Surf & Phone Flat 16.000 für nur 19,99 ¿/mtl.!* http://portal.gmx.net/de/go/dsl -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ 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: SORRY! I found net-snmp 5.5 didn't provide default implementation to retrieve HOST-RESOURCES-MIB::hrProcessorLoad value, is that so?
On 12 August 2010 04:09, orientropy i wrote: > on XP platform, i can't use net-snmp 5.5 to get cpu load information. > > should i implement my own handler to retrieve such system information? It's not necessary to implement a completely new handler for this, no. What's missing is the relevant code under 'mibgroup/hardware/cpu' This directory holds the modules responsible for retrieving CPU information on a variety of architectures, and making it available to the agent in a standard form. The host/hr_proc module then makes use of this to populate the hrProcessorTable (and the ucd-snmp/vmstat module makes use of the *same* information to populate the equivalent Net-SNMP specific CPU statistics). So in order to implement the hrProcessorTable on a new architecture, all that is needed is to provide a suitable code file within hardware/cpu. Or, as Bart suggests, you could look at linking in with the Microsoft provided DLL. Dave -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ 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