Re: Container load

2010-08-12 Thread kavita raghunathan
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 > (specifical

Container load

2010-08-12 Thread kavita raghunathan
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 liv

Re: net-snmp 5.4.2 - error when compiled for IPV6 support

2010-08-12 Thread Dave Shield
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 pa

RE: net-snmp 5.4.2 - error when compiled for IPV6 support

2010-08-12 Thread Ravi Chandran
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 : fata

Re: is there a quick hack to force a canned response for an arbitrary OID?

2010-08-12 Thread Fulko Hew
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.

Re: is there a quick hack to force a canned response for an arbitrary OID?

2010-08-12 Thread Dave Shield
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

is there a quick hack to force a canned response for an arbitrary OID?

2010-08-12 Thread Fulko Hew
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 f

RE: net-snmp 5.4.2 - error when compiled for IPV6 support

2010-08-12 Thread Ravi Chandran
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-snm

Re: SNMP Make error

2010-08-12 Thread Dave Shield
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"

Re: net-snmp 5.4.2 - error when compiled for IPV6 support

2010-08-12 Thread Dave Shield
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\

Re: SORRY! I found net-snmp 5.5 didn't provide default implementation to retrieve HOST-RESOURCES-MIB::hrProcessorLoad value, is that so?

2010-08-12 Thread Dave Shield
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 rout

Re: SORRY! I found net-snmp 5.5 didn't provide default implementation to retrieve HOST-RESOURCES-MIB::hrProcessorLoad value, is that so?

2010-08-12 Thread orientropy i
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 registra

Re: loading more snmpd.conf questions

2010-08-12 Thread Dave Shield
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 SNMPC

Re: net-snmp build error with ipv6 support for arm

2010-08-12 Thread Markus Hofer
> 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

Re: net-snmp build error with ipv6 support for arm

2010-08-12 Thread Markus Hofer
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 aut

loading more snmpd.conf questions

2010-08-12 Thread Markus Hofer
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_FI

Re: SORRY! I found net-snmp 5.5 didn't provide default implementation to retrieve HOST-RESOURCES-MIB::hrProcessorLoad value, is that so?

2010-08-12 Thread Dave Shield
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 co