mib2c - is it still valid?

2010-12-06 Thread Abraham Varricatt
Documentation on the mib2c script is scarce. I've seen 2 'versions' of it so far. One dating 2003 and another as far back as 1999! And in both of them, it's mentioned that the script needs updating. I want to make a custom extension to the net-snmp daemon by adding my own MIB objects. Something si

Re: CFV: openssl version check for dtls support

2010-12-06 Thread Robert Story
On Mon, 06 Dec 2010 09:39:02 -0800 Wes wrote: WH> WH> The following checks for a minimum macro/function required for the DTLS WH> code. I'd like to apply it for 5.6.1 (as well as trunk): +1 -- What happens now with your

Re: 5.6.1.pre1 released for testing

2010-12-06 Thread Wes Hardaker
> On Sat, 4 Dec 2010 00:42:08 +0100, Claus Klein > said: CK> With this simple configuration, the v3 trap is not logged from CK> snmptrapd. Your test works as expected in the trunk right now and the 5.6 branch right now. So I think you have something else going on with your code that yo

Re: CFV: openssl version check for dtls support

2010-12-06 Thread Wes Hardaker
> On Mon, 06 Dec 2010 21:12:47 +0100, Magnus Fromreide > said: MF> Please, netsnmp_cv_bio_dgram_get_peer. This is not an test from the MF> autoconf (ac) namespace but rather a test from the netsnmp MF> namespace. Ok, easy change. >> + AC_MSG_CHECKING([[for BIO_dgram_get_peer]])

Re: CFV: openssl version check for dtls support

2010-12-06 Thread Niels Baggesen
Den 06-12-2010 21:46, Niels Baggesen skrev: > Gives the wxtpwctwd result on Redhat 5 and 6, so ^ expected slight finger shift :-) /Niels -- Niels Baggesen - @home - Århus - Denmark - [email protected] The purpose of computing is insight, not numbers --- R W Ha

Re: CFV: openssl version check for dtls support

2010-12-06 Thread Niels Baggesen
Den 06-12-2010 18:39, Wes Hardaker skrev: > > The following checks for a minimum macro/function required for the DTLS > code. I'd like to apply it for 5.6.1 (as well as trunk): Gives the wxtpwctwd result on Redhat 5 and 6, so +1 /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@user

Re: CFV: openssl version check for dtls support

2010-12-06 Thread Magnus Fromreide
On Mon, 2010-12-06 at 09:39 -0800, Wes Hardaker wrote: > The following checks for a minimum macro/function required for the DTLS > code. I'd like to apply it for 5.6.1 (as well as trunk): > > diff --git a/net-snmp/configure.d/config_os_functions > b/net-snmp/configure.d/config_os_functions > ind

Re: CFV: openssl version check for dtls support

2010-12-06 Thread Bart Van Assche
On Mon, Dec 6, 2010 at 6:39 PM, Wes Hardaker < [email protected]> wrote: > > The following checks for a minimum macro/function required for the DTLS > code. I'd like to apply it for 5.6.1 (as well as trunk): > > diff --git a/net-snmp/configure.d/config_os_functions > b/net-snmp/conf

CFV: openssl version check for dtls support

2010-12-06 Thread Wes Hardaker
The following checks for a minimum macro/function required for the DTLS code. I'd like to apply it for 5.6.1 (as well as trunk): diff --git a/net-snmp/configure.d/config_os_functions b/net-snmp/configure.d/config_os_functions index 856e944..25576da 100644 --- a/net-snmp/configure.d/config_os_fu

Re: ISSUE WITH SNMP-NOTIFICATION-MIB::snmpNotifyFilterTable

2010-12-06 Thread Robert Story
On Mon, 06 Dec 2010 20:03:52 +0530 Manjit wrote: M> Hi All, M> I am trying to create a Row in table snmpNotifyFilterTable. [...] M> Please let me know why RowStatus is returning 5 in place of notReady. It's a bug. Please file a bug report. In the meantime, you can try creating the row all at once

Re: CFV: enable etherlike-mib for both redhat 5 and 6

2010-12-06 Thread Bart Van Assche
On Sun, Dec 5, 2010 at 5:40 PM, Niels Baggesen wrote: > The following patch remove some redundant includes. The removed includes > are already included by rtnetlink.h itself - if they exist. > [ ... ] > +1 Bart. -- What

Re: CFV: enable etherlike-mib for both redhat 5 and 6

2010-12-06 Thread Robert Story
On Mon, 6 Dec 2010 17:24:14 +0100 Niels wrote: NB> On Mon, Dec 06, 2010 at 11:15:27AM -0500, Robert Story wrote: NB> > Does it actually fix any problems? Generally I'd say purely cosmetic changes NB> > should wait til after the release... So +0.5. NB> NB> It allows it to compile on CentOS/Redhat

Re: CFV: Trunk and V5-6 fails to build without openssl

2010-12-06 Thread Wes Hardaker
> On Sat, 4 Dec 2010 10:43:39 +0100, Bart Van Assche > said: BVA> For all other transports (e.g. ssh) configure complains if a prerequisite is BVA> missing. Yeah, but in this case it's the wrong version of a prerequisite which is what is harder to test for... [though we need to check

Re: CFV: patch to fix snmptrap's inform mode with contextEngineIDs

2010-12-06 Thread Wes Hardaker
> On Sat, 4 Dec 2010 01:36:51 +0100, Magnus Fromreide > said: MF> Well, a test that make sure that the right identity is used but it MF> might be impractical to write one. Ah; sorry... I actually thought you were saying a test was failing. It should be possible to test... I'll think

Re: CFV: enable etherlike-mib for both redhat 5 and 6

2010-12-06 Thread Niels Baggesen
On Mon, Dec 06, 2010 at 11:15:27AM -0500, Robert Story wrote: > Does it actually fix any problems? Generally I'd say purely cosmetic changes > should wait til after the release... So +0.5. It allows it to compile on CentOS/Redhat 5(.5) /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@u

Re: CFV: enable etherlike-mib for both redhat 5 and 6

2010-12-06 Thread Robert Story
On Sun, 05 Dec 2010 17:40:41 +0100 Niels wrote: NB> The following patch remove some redundant includes. The removed includes NB> are already included by rtnetlink.h itself - if they exist. NB> NB> With the patch it compile at least for CentOS 5.5, Redhat 6.0 and Ubuntu NB> 10.10. Does it actual

Re: Fwd: Regarding IP adress

2010-12-06 Thread Wes Hardaker
> On Mon, 6 Dec 2010 13:28:29 +0530, sam chacko > said: sc> case :ADMYIPADDRESS: sc> getmyIPadress(&ipadress);/this is our own function which fills sc> the IP adrees to the given buffer */ sc> memcpy(dstrTempInfoP, ipadress, MAXIPSTRING); sc> return dstrTempInfoP; 1) make s

Re: Master-Agentx Registration fails

2010-12-06 Thread Wes Hardaker
> On Mon, 6 Dec 2010 17:23:05 +0530 (IST), Princy Gift > said: PG> I am trying to setup a sample master - agentx setup of net-snmp using 5.4.3. PG> MY snmpd.conf PG> PG> rocommunity public localhost PG> rwcommunity private localhost PG> master on PG> agentXSocket /v

ISSUE WITH SNMP-NOTIFICATION-MIB::snmpNotifyFilterTable

2010-12-06 Thread Manjit
Hi All, I am trying to create a Row in table snmpNotifyFilterTable. Following are the procedure i am doing : 1. Set the Row Status to crateAndWait(5). 2. Set all the columns one by one. 3. Setting the Row Status to Active(1). But as i know, when we set any row to CrateAndWait(5) the value of RowS

Re: Master-Agentx Registration fails

2010-12-06 Thread rakesh zingade
I did AgentX in other way my snmpd.conf has following: *master agentx* executing snmpd as: *snmpd -x "tcp:localhost:705"* and I set following in my subagent code: *netsnmp_ds_set_string(NETSNMP_DS_APPLICATION_ID, NETSNMP_DS_AGENT_X_SOCKET, "tcp:

Master-Agentx Registration fails

2010-12-06 Thread Princy Gift
Hi All, I am trying to setup a sample master - agentx setup of net-snmp using 5.4.3. When I enable debug traces, I observe that my Agentx is not getting attached to the master properly. I see that my Agentx is not getting attached with my master. bash# ls -l /var/agentx/master srwxr-xr-x 1 ro

Re: Which is the stable version of Net -SNMP?

2010-12-06 Thread Princy Gift
Thanks Abraham From: Abraham Varricatt To: Princy Gift Cc: [email protected] Sent: Fri, 3 December, 2010 3:08:53 PM Subject: Re: Which is the stable version of Net -SNMP? When I mean stable version I refer to a release with less number of

Most reliable version of Net-snmp on uClinux 2.4.x Kernel

2010-12-06 Thread MrGates
like the topic above~-- What happens now with your Lotus Notes apps - do you make another costly upgrade, or settle for being marooned without product support? Time to move off Lotus Notes and onto the cloud with Force.com

Stable Version of Net-SNMP?

2010-12-06 Thread Net SNMP Query
Hi Devs, Can you let me know the most stable version of Net-SNMP? Thanks, Nissi -- What happens now with your Lotus Notes apps - do you make another costly upgrade, or settle for being marooned without product support? T

snmpd err send response: Error building ASN.1 representation (build int size 4: s/b 8)

2010-12-06 Thread pra_kash15
Hi,  I am using netsnmp version 5.4.1.2 for 64 bit Linux, I am getting following error.snmpd err send response: Error building ASN.1 representation (build int size 4: s/b 8)I tried with latest release 5.6 and 5.6.1.pre1 also and got same error.any clue?? Thanks,Prakash

Fwd: Regarding IP adress

2010-12-06 Thread sam chacko
-- Forwarded message -- From: sam chacko Date: 6 December 2010 13:27 Subject: Re: Regarding IP adress To: Magnus Fromreide hi, Thanks for your quick response. i am just posting the code snippet for getting the IP address OID . case :ADMYIPADDRESS: getmyIP