net-snmp subagent with GLIBC problem

2005-10-11 Thread Earnest Pan
Hi,all In net-snmp turorial,When I want to use the domo example with Sub-Agent . When I execute ./mysubagent & (as root). It shows ./mysubagent: /lib/tls/libc.so.6: version `GLIBC_2.3.4' not found (required by / usr/lib/libnetsnmpmibs.so.5) ./mysubagent: /lib/tls/libc.so.6: version `GLI

Re: mib2c/perl "make test" errors

2005-10-11 Thread Thomas Anders
[EMAIL PROTECTED] wrote: I have installed net-snmp 5.2.1.2 on a machine running kernel version 2.6.9-1.667smp. 'Make test' fails from the perl directory, although 'perl Makefile.PL' and 'make' do not generate any errors. Can you retry with 5.2.2.pre4 and report back, please? +Thomas -- Th

Re: pass-through feature seems to cache data

2005-10-11 Thread Thomas Anders
Dave Shield wrote: The proper fix is to recode the 'pass.c' implementation to use the v5 APIs, and one of the cache-related helpers - either the cache helper directly (as per 'extend.c'), or via the 'stash-cache' helper. How hard is this expected to be? May this also be the preferred way to fi

Re: Setting memMinimumSwap

2005-10-11 Thread Loic Domaigne
Hi Dave, Thanks for your answer. > > AFAICS, UCD-SNMP-MIB::memMinimunSwap seems to be a variable which is > > initialized at agent's startup. The default value is 0. > > Strange - it ought to have the (hardcoded) value 16000 Well, on Solaris 9 / x86 with the latest stable release (5.2.1.2), I

mib2c/perl "make test" errors

2005-10-11 Thread jbarney
I have installed net-snmp 5.2.1.2 on a machine running kernel version 2.6.9-1.667smp. 'Make test' fails from the perl directory, although 'perl Makefile.PL' and 'make' do not generate any errors. If I ignore the errors and install anyway, I am able to run mib2c on any of the mibs that are current

RE: help wanted using net-snmp package with windows and VS.NET

2005-10-11 Thread taner memet ali
Hi, i have finally compiled the demo application with VS.NET. Here is the walktrough:) 1. open the winsdk.dsw (if you have installed the plattformsdk) in the win32 folder 2. then compile all core executables and libs as it is described on the readme file for win32. 3. create a new project (i

Can net-snmp monitor network traffic on a per-port basis?

2005-10-11 Thread Bruce Shaw
Sorry, no further details. It came up on an IRC session (not our channel). -- This communication is intended for the use of the recipient to which it is addressed, and may contain confidential, personal and or privileged information. Please contact us immediately if you are not the intended rec

Re: pass-through feature seems to cache data

2005-10-11 Thread Alexandre Pashai
Thanks a lot ! I've recompiled net-snmp by modifying: include/net-snmp/net-snmp-config.h and it works in "real-time" mode. bye! --Alexandre. Roman Medina-Heigl Hernandez wrote: Dave Shield wrote: The workaround is to edit the file include/net-snmp/net-snmp-config.h remove the d

Re: pass-through feature seems to cache data

2005-10-11 Thread Roman Medina-Heigl Hernandez
Dave Shield wrote: > The workaround is to edit the file > include/net-snmp/net-snmp-config.h > remove the definition of EXCACHETIME, and re-compile the agent. > > The proper fix is to recode the 'pass.c' implementation to use > the v5 APIs, and one of the cache-related helpers - either the >

RE: help wanted using net-snmp package with windows and VS.NET

2005-10-11 Thread taner memet ali
Hi, Dave thanks for your understanding. I will try to make my question more precise. As you know i tried to compile the net-snmp package using cygwin but failed to do this. I followed the suggestions that Alex and Andy made (included all the patches) but the compilation did not succeed and th

RE: How to make snmpd NOT to generate coldStart trap?

2005-10-11 Thread pingping.han
Yes. It must hack the codes. You can modify the Agent/snmpd.c file: Find the following lines: /* * Send coldstart trap if possible. */ send_easy_trap(0, 0); Comment it. Thanks, Aileen -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Da

Re: pass-through feature seems to cache data

2005-10-11 Thread Dave Shield
AP> the pass-through feature of net-snmp ... AP> seems to cache data for 30 seconds RMHH> ... newer versions doesn't perform caching. At least RMMH>according to the Faq: Note that with the 4.2.x and 5.0.x lines, return values are cached within the agent for 30 seconds, rat

Re: pass-through feature seems to cache data

2005-10-11 Thread Roman Medina-Heigl Hernandez
You're right. I've also tested the same version on Linux and caching persists :-( If somebody knows a workaround/fix for this I'd be also interested. Cheers, -Roman Alexandre Pashai wrote: > ...I've tested this feature with the latest version of net-snmp running > on Solaris 9: > > bash-2.05# /u

Re: pass-through feature seems to cache data

2005-10-11 Thread Alexandre Pashai
...I've tested this feature with the latest version of net-snmp running on Solaris 9: bash-2.05# /usr/local/sbin/snmpd -version NET-SNMP version: 5.2.1.2 Web: http://www.net-snmp.org/ Email: net-snmp-coders@lists.sourceforge.net ...and I confirm that 'pass' directiv

Re: Setting memMinimumSwap

2005-10-11 Thread Dave Shield
On Tue, 2005-10-11 at 11:55 +0200, Loic Domaigne wrote: > AFAICS, UCD-SNMP-MIB::memMinimunSwap seems to be a variable which is > initialized at agent's startup. The default value is 0. Strange - it ought to have the (hardcoded) value 16000 > I'd like to customize that value. I would expect a key

Re: How to make snmpd NOT to generate coldStart trap?

2005-10-11 Thread Dave Shield
On Tue, 2005-10-11 at 17:49 +0800, Kurapati M-G19456 wrote: > 'snmpd' generates coldStart trap the moment it comes up. Correct. > I want to hijack this trap, and wants one of my application to > generate this trap. Is there a specific startup parameter with which > I need to start snmpd, to ac

Setting memMinimumSwap

2005-10-11 Thread Loic Domaigne
Hello Everybody! AFAICS, UCD-SNMP-MIB::memMinimunSwap seems to be a variable which is initialized at agent's startup. The default value is 0. I'd like to customize that value. I would expect a keyword in snmpd.conf for that (like "load" does for setting max load value). Unfortunately I couldn't

How to make snmpd NOT to generate coldStart trap?

2005-10-11 Thread Kurapati M-G19456
Hi all,   I am using NET-SNMP-5.1.1.  'snmpd' generates coldStart trap the moment it comes up.  I want to hijack this trap, and wants one of my application to generate this trap.  Is there a specific startup parameter with which I need to start snmpd, to achieve this?  Is there a MIB varia

SNMP Trap Query - Any thoughts?

2005-10-11 Thread BHARATKUMAR GERA
I will like to know regarding SNMP Trap OIDS issue I;m facing below -     - On RedHat 3 , my subagent code is able to send custom trap OID ( defined in custom mib ).    - On RedHat 4 / SUSE , with similar configuration , the subagent fails to send custom trap OID reporting "Var Bind Fai

Re: pass-through feature seems to cache data

2005-10-11 Thread Roman Medina-Heigl Hernandez
I have the same problem too. Snmpd seems to refresh cache when it receives a SET request, which seems logical to me. The problem happens when you have other external methods of updating values which should be returned by Snmpd (for instance, if you have data store on a database, and want Snmpd to r

RE: help wanted using net-snmp package with windowsand VS.NET

2005-10-11 Thread taner memet ali
hi dave, im sorry that you have misunderstood me. Perhaps i was a little impatiently because i'm testing this package for my thesis and when time passes without success (you know time is gold in a thesis phase) it makes one despair. I can't pay any consultant because i'm only a student. I will

Implementing tables with "pass" directive

2005-10-11 Thread Roman Medina-Heigl Hernandez
Hello, I've had a look to "passtest" script, which implements GET/GETNEXT/SET over custom objects. I need to implement something similar in a way that snmpd returns a table which is stored on a Database. Have someone already implemented something similar and could send me an example script? Bash/P

pass-through feature seems to cache data

2005-10-11 Thread Alexandre Pashai
hi all, thep ass-through feature of net-snmp works quite well. But, it seems to cache data for 30 seconds while i expect it to have a "real-time" behavior... Is it possible for net-snmp to exec the script on each snmpget request ? Thanks for answers. Alexandre -

Re: does net-snmp cache snmp counters

2005-10-11 Thread Dave Shield
On Mon, 2005-10-10 at 18:24 +0200, Ali Al-Shabibi wrote: > I am polling the if-mib variables by groups of two. The cisco is > running IOS C3560 Software (C3560-I9-M), Version 12.2(20)SE4. So the agent that you are polling is running on a Cisco box? In which case, it doesn't matter what changes

RE: help wanted using net-snmp package with windowsand VS.NET

2005-10-11 Thread Dave Shield
On Tue, 2005-10-11 at 10:55 +0200, taner memet ali wrote: > im sorry that you have misunderstood me. Perhaps i was a little impatiently Yes - you were. And not only impatient, but the statements you made were simply not true. > because i'm testing this package for my thesis and when time passe

Re: help wanted using net-snmp package with windows and VS.NET

2005-10-11 Thread Dave Shield
On Mon, 2005-10-10 at 18:23 +0200, taner memet ali wrote: > i try to use net-snmp with windows and VS.NET since two months and i have > several problems on getting started with it. I do not get any answers to > many questions related with my problems in this mailing list. I beg your pardon? You