From owner-freebsd-ports@FreeBSD.ORG Wed Mar 30 18:44:10 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F1DC016A4CE for ; Wed, 30 Mar 2005 18:44:09 +0000 (GMT) Received: from mail.hall.wireless.pipex.net (69-74-19-212-un.wireless.as15758.net [212.19.74.69]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B76243D46 for ; Wed, 30 Mar 2005 18:44:08 +0000 (GMT) (envelope-from andyh@hall.gl) Received: by mail.hall.wireless.pipex.net (Postfix, from userid 1005) id D1DA8C3B02; Wed, 30 Mar 2005 19:44:07 +0100 (BST) Received: from nt1.hall.gl (nt1.hall.gl [10.0.0.1]) by mail.hall.wireless.pipex.net (Postfix) with SMTP id E6FFEC3B01 for ; Wed, 30 Mar 2005 19:44:03 +0100 (BST) Received: FROM bfs.hall.gl BY nt1.hall.gl ; Wed Mar 30 19:44:03 2005 +0100 Received: from andyh5150 (10.0.0.12) by bfs.hall.gl (Worldmail 1.3.167); 30 Mar 2005 19:44:03 +0100 From: "Andy Hall" To: "'Andy Hall'" , Date: Wed, 30 Mar 2005 19:43:57 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 In-reply-to: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 Thread-Index: AcUzhsx2xHBSv9IRQPOK1vB6CjouvAB0YEgw X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on paamiut.hall.gl X-Spam-Level: X-Spam-Status: No, score=-5.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=unavailable version=3.0.2 cc: ports@FreeBSD.org Subject: RE: FreeBSD Port: net-snmp-5.2.1_1 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2005 18:44:10 -0000 Hello Kuriyama-san Did you receive this? thanks /andy >-----Original Message----- >From: Andy Hall [mailto:andyh@hall.gl] >Sent: 28 March 2005 12:11 >To: 'kuriyama@FreeBSD.org' >Cc: 'ports@FreeBSD.org' >Subject: FreeBSD Port: net-snmp-5.2.1_1 > >Greetings > >I have installed the net-snmp 5.21 port on FreeBSD 5.3 and am >finding that a query to the machine does not produce all of >the expected variables. > >For example: > >snmpwalk -v 1 -c public localhost interface > >does not return the expected > >interfaces.ifTable.ifEntry.ifPhysAddress.x > > >Others are - for example: > >IF-MIB::ifDescr.1 = STRING: dc0 > > >I"ve tried compiling with an option of --with-dummy-values >which would appear to force snmpd to insert dummy values for >missing parameters, but it >makes no difference. I also tried the older ucd 4.x port, >but no luck >there either. >I should add that if I run snmpwalk on this machine and use >other machines" >agents I do get the missing information, and equally, when >targetting the FreeBSD 5.3 machine from other machines I still >get missing variables as above > >I have tried other combinations: > >- snmpwalk on FreeBSD5.3 machine accessing net-snmp 5.21 agent >on Linux 2.6.8 kernel (Mandrake 10.1) - works OK. > >- Opposite way round to above. Doesn't work. > >- SNMP client on other platforms pointing to agent on FreeBSD >5.3. Doesn't work > >- Net-snmp 5.09 built on FreeBSD 4.11 and 5.3. Doesn't work. > >So it seems to be reasonably independent of FreeBSD and >net-snmp builds as far as I can tell. > >I'm not an expert on how net-snmp is glued into the kernel, >but had wondered if mac addresses are not available when >certain calls are made. However, the strange thing is that the >machine's mac addresses do seem to be present in other >variables obtained from it - e.g. in some of the IP tables. > >I searched in the obvious net-snmp and FreeBSD places for >information but haven't found anything. It seems surprising, >because I would have thought that this would have noticed >before in applications using SNMP. > >thanks for any assistance. > > >.andy >