From owner-freebsd-ports@FreeBSD.ORG Mon Mar 28 11:11:07 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 1748716A4CE for ; Mon, 28 Mar 2005 11:11:07 +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 2FEA443D54 for ; Mon, 28 Mar 2005 11:11:05 +0000 (GMT) (envelope-from andyh@hall.gl) Received: by mail.hall.wireless.pipex.net (Postfix, from userid 1005) id DB497C3B05; Mon, 28 Mar 2005 12:11:03 +0100 (BST) Received: from nt1.hall.gl (nt1.hall.gl [10.0.0.1]) by mail.hall.wireless.pipex.net (Postfix) with SMTP id 7AE67C3B01 for ; Mon, 28 Mar 2005 12:11:01 +0100 (BST) Received: FROM bfs.hall.gl BY nt1.hall.gl ; Mon Mar 28 12:11:00 2005 +0100 Received: from andyh5150 (10.0.0.12) by bfs.hall.gl (Worldmail 1.3.167); 28 Mar 2005 12:11:00 +0100 Message-ID: <4234E9DA00002C9B@bfs.hall.gl> (added by bfs.hall.gl) From: "Andy Hall" To: Date: Mon, 28 Mar 2005 12:10:50 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 Thread-Index: AcUzhsx2xHBSv9IRQPOK1vB6CjouvA== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 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=ham version=3.0.2 cc: ports@FreeBSD.org Subject: 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: Mon, 28 Mar 2005 11:11:07 -0000 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