Re: Cache load does not get called

2010-06-04 Thread Kavita Raghunathan
Kathy, I just finished testing. This "fix" fixed my problem. My cache_load is finally invoked. Maybe MFD is more memory intensive but if you don't mind the extra memory, this would be a way to get un-stuck in your present situation. cache->flags |= (NETSNMP_CACHE_DONT_AUTO_RELEASE | NE

Re: stop trapd serivce on windows timeout?

2010-06-04 Thread Bart Van Assche
Hello Huy, Please file a bug report or a patch for this issue such that it doesn't get forgotten. Bart. On Mon, May 24, 2010 at 6:31 AM, Snmp Nmcsnmp wrote: > On windows XP service pack 3 it does not seem to stop in a timely manner. > If I put in the call WSACancelBlockingCall() then it break

Fw: Cache load does not get called

2010-06-04 Thread Kathy McLeod
I forgot to say that the "table flag" I mention below is a local variable meaning the table was changed since I last reloaded (possibly by CLI or whatever). This is similar to the example mentioned of checking a change date on a file before reloading the table data from the file. FYI. Kathy Mc

Re: Cache load does not get called

2010-06-04 Thread Kathy McLeod
I tested with various flags. Here is my code: /***test code */ // use these 3 for check table flag before freeing and reloading cache->flags |= NETSNMP_CACHE_DONT_FREE_EXPIRED; cache->flags |= NETSNMP_CACHE_DONT_AUTO_RELEASE; cache->flags |= NETSNMP_CACHE_DONT_FREE_BEFORE

Re: Cache load does not get called

2010-06-04 Thread Kavita Raghunathan
In my case reload flags were not set. NETSNMP CACHE RELOAD. See if that helps. It should be set at the bottom of the function container_init. See example in if-mib. I'm trying it out now. On Jun 4, 2010, at 9:51 AM, "Kathy McLeod" wrote: > I am having many problems with the cache load/relo

Re: Problems with SNMPv3 and SHA

2010-06-04 Thread Michael Bayer
That hint made my day! The 'libssl' was already installed but 'libssl-dev' was missing on the agents host! Now it's also working with SHA1, DES and AES. Problem solved! Thanks a lot Ron. Michael Ron Rader wrote: > Me: > >> Are you sure that the host running your net-snmp agent has the > Op

Re: PPP Interface duplication/enumeration

2010-06-04 Thread Wes Hardaker
> On Thu, 3 Jun 2010 16:38:15 -0400 (EDT), said: b> Also, if anyone wants to point me to an approximate area of code that b> would deal with interfaces coming and going, I'd be happy to see if b> I can make any sense of it. (Long time coder, but haven't spent b> much time in net-snmp code --

Re: Fwd: SNMP walk not displaying complete mib oid's

2010-06-04 Thread Wes Hardaker
> On Thu, 3 Jun 2010 22:07:45 +0530, "Adline D'Silva" > said: AD> why is this difference happening? Because the machines are different running different sets of software. Certainly the version number is different and certainly what it included is different. You should look at the agent

Re: How To Configure snmptrapd

2010-06-04 Thread Wes Hardaker
> On Fri, 4 Jun 2010 14:50:54 +, Mariano Bunirigo > said: There is a tutorial with example snmptrapd.conf settings at: http://www.net-snmp.org/wiki/index.php/TUT:Configuring_snmptrapd It doesn't, however, talk about mysql. We probably need a wiki page on that as well bu

Re: problem with snmpd

2010-06-04 Thread Wes Hardaker
> On Fri, 4 Jun 2010 14:34:56 +0530, Vinod Nanjaiah > said: VN> Is such a problem known to exist with snmpd? VN> Or, does this indicate that something is wrong with the sub-agents? Well, it's likely the connection between the master and the sub-agent has failed. It actually could be ei

Re: Cache load does not get called

2010-06-04 Thread Kathy McLeod
I am having many problems with the cache load/reload code, which I have explained in previous notes. One thing is that the only command that load gets called for is snmpget. See my previous posts for other details (altho there has been no resolution). Kathy McLeod Dept S82 CCB - SNMP IBM Roche

RE: How To Configure snmptrapd

2010-06-04 Thread Mariano Bunirigo
I was looking for something more clear and complete, because the snmptrapd -H command shows a lot of posible configuration parameters. The man pages don't show information for all of them. Maybe a configuration sample file may help. Mariano __

RE: Problems with SNMPv3 and SHA

2010-06-04 Thread Ron Rader
Me: > Are you sure that the host running your net-snmp agent has the OpenSSL > libraries, and that the agent was built to link those libraries? These > conditions must be met in order to use any authentication (guess how I I meant "encryption," not authentication. R The information cont

RE: Problems with SNMPv3 and SHA

2010-06-04 Thread Ron Rader
Me: > Try running this command on your agent host: > > net-snmp-config --configure-options Also, you can comb through snmpd.log, looking for error messages complaining about how you need OpenSSL to use encryption, e.g. "Encryption support not enabled." That's a direct indication of the prob

RE: Problems with SNMPv3 and SHA

2010-06-04 Thread Ron Rader
> From: Michael Bayer [mailto:m.ba...@dezem.de] > createUser myuser MD5 mypasswd > Than I added the following line: > createUser myuser SHA mypasswd > And now I get an error message: > > snmpget: Authentication failure (incorrect password, community or key) > (Sub-id not found: (top) -> system)

Net-snmp 5.2.3 documentation

2010-06-04 Thread Swaroop Sham
Hi, - I am looking for the documentation ( API / data structures) for net-snmp 5.2.3. Could any one point me to a link which contains some info of the interfaces ? - I know 5.4 is the latest , but i dont have much say in the version :) thanks Swaroop -

Fwd: SNMP walk not displaying complete mib oid's

2010-06-04 Thread Adline D'Silva
im new to snmp stuffs.. I have 2 embedded target machines.. both uses different versions of snmp's( 4.1.2 and 4.3.2.2) while doing snmpwalk, these machines return diff results... target1(4.3.2.2) SNMPv2-MIB::sysORID.1 = OID: SNMPv2-MIB::snmpMIB SNMPv2-MIB::sysORID.2 = OID: TCP-MIB::tcpMIB S

Problems with SNMPv3 and SHA

2010-06-04 Thread Michael Bayer
Hi, I have problems using SHA in SNMPv3 with NET-SNMP. Well, I'll start to explain how the setup is and what I did so far. On a server there is the snmpd SNMP agent demon running. It uses NET-SNMP Version 5.4.3. To use authentication I added a user in the share/snmp/snmp.conf file. The entry l

problem with snmpd

2010-06-04 Thread Vinod Nanjaiah
Hi, I have observed the following problem with snmpd (net-snmp version 5.4.2). I am running two sub-agents and snmpd on my system. After a few days of running correctly, the sub-agents stop responding (to snmpget requests). On restarting snmpd only, the sub-agents start responding again. Is such