RHEL and net-snmp config ?

2011-09-14 Thread mahua dutta
Looks in RHEL 5.5 , net-snmp is pre-configured with perl module by default. And as of that snmp agents are dependent on perl modules . Spcially static linkage with DYNALOADER.a Is there any way to remove the perl dependencies for snmpd ? Is it possible forĀ  any new mib agent based on net-snmp li

RE: RFV: Disk calculation overflow

2011-09-14 Thread Steve Friedl
> [is waiting for a patch] Submitted; #3409692 Steve -Original Message- From: Wes Hardaker [mailto:harda...@users.sourceforge.net] Sent: Wednesday, September 14, 2011 4:23 PM To: Steve Friedl Cc: 'Bart Van Assche'; 'Dave Shield'; 'Net-SNMP coders' Subject: Re: RFV: Disk calculation over

Re: GPL issue in some net-snmp files

2011-09-14 Thread Wes Hardaker
> On Fri, 2 Sep 2011 14:44:10 +0100, Dave Shield > said: DS> But what makes you think that these files *are* shown with GPL DS> violations? And more importantly, if you look at the files you'll note that they're very SNMP specific and likely only exist within our code. So any sort of a

Re: RFV: Disk calculation overflow

2011-09-14 Thread Wes Hardaker
> On Fri, 2 Sep 2011 10:48:55 -0700, "Steve Friedl" > said: SF> There are other floats in that MIB, and I'd imagine that any compiler that SF> could handle "unsigned long long" could deal with a float. That's the really true part: with other floats already in the file, I agree it's prob

Re: RFV: Disk calculation overflow

2011-09-14 Thread Wes Hardaker
> On Fri, 2 Sep 2011 18:53:57 +0200, Bart Van Assche > said: >> 1 is an arbitrary cut-off - it could be tweaked either way if >> necessary, >> but seemed a reasonable starting point. >> BVA> +1 Also +1. -- Wes Hardaker Please mail all replies to net-snmp-coders@lists.sourceforge.

Re: snmpset ?

2011-09-14 Thread Wes Hardaker
> On Wed, 7 Sep 2011 01:51:14 -0700 (PDT), sujata patra > said: sp> I like to define an MIB(OID) and implement in extention agent . As sp> part of that implementation I like to run an applicationĀ  script ( sp> let's say to start or stop an application). User will throw the sp> snmpset co

Re: Agent worked for a while, then stopped responding.

2011-09-14 Thread Wes Hardaker
> On Mon, 12 Sep 2011 18:35:13 +0530, ESWAR RAO said: ER> Please let me know how to proceed in debugging this issue in ER> net-snmp? This page may help you get started with a debugger: http://www.net-snmp.org/wiki/index.php/Debugger For gdb, you'll want to run 'gdb -p PID' where PID is t

Re: IPv6

2011-09-14 Thread Wes Hardaker
> On Mon, 12 Sep 2011 15:42:38 +0200, Martin Knappe > said: MK> I have a very general question for a start. It seems to me that IPv6 MK> connectivity is not currently supported by net-snmp, is that correct? MK> I was not able to: Did you run configure with --enable-ipv6 command line opt

Re: crash when calling snmp_shutdown

2011-09-14 Thread Wes Hardaker
> On Wed, 14 Sep 2011 13:40:36 +0530, "devendra.aaru" > said: da> i am using net-snmp version 5.1.2. That version is very old and unsupported. There are a lot of shutdown improvements in the more recent code bases, so I'd suggest you upgrade to something more recent. -- Wes Hardaker P

Re: snmpwalk requests timing out / returning errors in middle of walk

2011-09-14 Thread Wes Hardaker
> On Wed, 7 Sep 2011 10:06:04 -0700, "Hay, Joshua A" > said: HJA> Whenever try to walk the table, it'll output some of the table rows, HJA> but after some time, it will either timeout with a 'No Response from HJA> x.x.x.x' message or 'Error in packet. Reason: (genError) A general HJA> f

Re: Getting snmpd to respond to DISMAN-PING-MIB requests

2011-09-14 Thread Wes Hardaker
> On Wed, 7 Sep 2011 12:36:50 -0400, Bill Fenner said: BF> I started down this path, then decided to rewrite it from scratch, since the BF> implementation is so poor. (There were many points that fed into this BF> decision, but the primary one was that it would block the rest of the agent BF

Re: Getting snmpd to respond to DISMAN-PING-MIB requests

2011-09-14 Thread Wes Hardaker
> On Fri, 2 Sep 2011 08:42:12 +0200, Niels Baggesen > said: NB> I'm not that much for numeric OID's, but I have this script Can I (or you) post that helpful script to our wiki? -- Wes Hardaker Please mail all replies to net-snmp-coders@lists.sourceforge.net ---

Re: Getting snmpd to respond to DISMAN-PING-MIB requests

2011-09-14 Thread Niels Baggesen
Den 14-09-2011 00:57, Doug Manley skrev: > If you have gotten this working, I would appreciate any configuration > files, version numbers, etc.--anything that can get me on my way. Just to make sure I downloaded the 5.7 release tar file from the homepage to my CentOS 5.6 x86_64 system, and config

crash when calling snmp_shutdown

2011-09-14 Thread devendra.aaru
hello there, i am using net-snmp version 5.1.2. when i call snmp_shutdown to clear the allocated memory, i am going into a crash, this occurs frequetly, not everytime. is there any patch that was having the fix of snmp_shutdown crash. thanks, dev. --