RE: Installing Perl SNMP support on Windows

2010-09-08 Thread Vinod Nanjaiah
Hi, I was not able to proceed further with building the perl snmp modules. I tried installing it on another system also, but got stuck at the same point. One deviation I did from the README file is to install regex from a different source. The link provided to gnu_regex.exe downloads a corrupt fi

Re: agent snmpTargetAddrEntry.c & snmpTargetParamsEntry.c

2010-09-08 Thread Abraham Varricatt
My experience is *very* limited but, You first compiled the snmpd agent without the "target" and "notify" mibs, and are now trying to re-compile the agent to support those mibs? I would advise you to run the "./configure" script. It does wonders in setting up the "make" environment. -Abraham Varr

trapsink2 - example\notification.c

2010-09-08 Thread Leo Lin
Hi All,   I was able to compile the notification.c example.  I ran the snmpd and snmptrapd on my local machine and I don't get any traps.   the trapsink2 on my snmpd.conf file is:   trapsink2 192.168.255.140 secret 161   the authCommunity on my snmptrapd.conf file is:   authCommunity log, execute,

help using -m option

2010-09-08 Thread Lee
Hopefully I'm just missing something simple, but I can't seem to get the -m option to limit what mibs get read on an snmp get For example: snmpget -m CISCO-CONFIG-MAN-MIB -OqUtv \ $DEV CISCO-CONFIG-MAN-MIB::ccmHistoryRunningLastChanged.0 reads lots more than CISCO-CONFIG-MAN-MIB.my & the mibs

Re: Net-SNMP 5.6.rc2 available for testing

2010-09-08 Thread Claus Klein
OK, I fond the error, with this test, the agent terminates with error and can't be killed! ++ GOOD 'found atleastone copies of '\''shutting down'\'' in output (/ tmp/snmp-test-T071com2sec6_simple-3760/snmpd.log); needed one' +++ expr 33 + 1 ++ testnum=34 ++ echo 'ok 34 - found atleastone copies

Re: several sub agents on the same machine with lowest possible influence on the system

2010-09-08 Thread sebastian2...@gmx.de
Thank you Wes Yes, I found something there and I also tried to look at the snmpd source code and to simplify it a bit. But right now it is not working, but I will try it again tomorrow. Or does maybe anybody here having a working and simple code example, how I can request values from my prog

agent snmpTargetAddrEntry.c & snmpTargetParamsEntry.c

2010-09-08 Thread rakesh zingade
Hi all, I am trying to implement config trap destination API using combination of snmp target mib and snmp notify mib. I have an snmp agent compiled without these two mib support. To add these I copied net-snmp-5.4.2.1/agent/mibgroup/target/*.c code and in my dlmod app calling init_snmpTargetAddr

Re: Net-SNMP 5.6.rc2 available for testing

2010-09-08 Thread Wes Hardaker
> On Wed, 8 Sep 2010 06:27:59 +0200, Claus Klein > said: CK> I have IPv6 on my macbook. At leased localhost communication works CK> with IPv6. Well, then the next thing to do would be to package up the /tmp/snmp* directories and send them to me so I can look through them (they don't con

Re: make error - cannot find -lperl

2010-09-08 Thread Wes Hardaker
> On Wed, 8 Sep 2010 01:13:53 +0100, "Barry Leggett" > said: ... BL> /usr/bin/ld: cannot find -lperl ... BL> where should "perl" come from? I find it odd that configure thought it found it but then failed to link with it. But... you can just re-run configure with --without-perl-module

Re: several sub agents on the same machine with lowest possible influence on the system

2010-09-08 Thread Wes Hardaker
> On Wed, 08 Sep 2010 13:35:55 +0200, "Sebastian Fabig" > said: SF> So my questions are: 1. Pretty cool would be, if I could compile the SF> necessary functioniality (and not all the overhead) of snmpd directly SF> in my application and execute it just for the first instance (so this SF>

Re: Net-snmp leaks memory after 5 hours

2010-09-08 Thread kavita raghunathan
I am referring to VSZ. Regards, Kavita --- On Wed, 9/8/10, Bart Van Assche wrote: From: Bart Van Assche Subject: Re: Net-snmp leaks memory after 5 hours To: "kavita raghunathan" Cc: Net-snmp-users@lists.sourceforge.net Date: Wednesday, September 8, 2010, 1:06 AM On Tue, Sep 7, 2010 at 11:55

Re: trapsess problems

2010-09-08 Thread Wes Hardaker
> On Wed, 8 Sep 2010 14:19:32 +0200, Mario Gartner > said: MG> I figured out in the code of agent_trap.c why this happens. MG> If it is considered a bug, I will provide a patch. Please do. Though normally the engineID should indeed be the authoritative engine itself, you should definit

Re: trapsess problems

2010-09-08 Thread Wes Hardaker
Oh, and please post it to: http://www.net-snmp.org/patches/ To ensure we don't loose it until it's reviewed. -- Wes Hardaker Cobham Analytic Solutions -- This SF.net Dev2Dev email is sponsored by: Show off your para

Re: trapsess problems

2010-09-08 Thread Mario Gartner
Hi!   I am interested in sending SNMPv3 trap messages with a certain engineID configured in snmpd.conf and probably hit a bug.   As Markus Hofer mentioned before, the securityEngineID configured for a trapsess with ‘-e’ is used for the contextEngineID, not for the msgAuthoritativeEngineID.

several sub agents on the same machine with lowest possible influence on the system

2010-09-08 Thread Sebastian Fabig
Hi there, I want to create an application which has an snmp agent and can be instanciated multiple times. It would also be a really nice feature if any 3rd party snmp agent which runs on the same machine would still work. I searched the internet for days and right now the best solution I found

make error - cannot find -lperl

2010-09-08 Thread Barry Leggett
Using Linux 2.6.26-2-686 running on VirtualBox 3.2.8 r64453 on an HP running Windows 7 net-snmp version 5.5 Followed instructions in file INSTALL when I ran "make" I got the following /bin/sh ../libtool --mode=link gcc -g -O2 -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-st