From owner-freebsd-questions@FreeBSD.ORG Wed Oct 17 14:17:34 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4727116A46B; Wed, 17 Oct 2007 14:17:34 +0000 (UTC) (envelope-from lists@qwirky.net) Received: from public.aci.on.ca (aci.on.ca [205.207.148.251]) by mx1.freebsd.org (Postfix) with ESMTP id DE8A913C48A; Wed, 17 Oct 2007 14:17:33 +0000 (UTC) (envelope-from lists@qwirky.net) Received: from (invalid client hostname: host address literal does not match remote client address)[127.0.0.1] ((no PTR matching greeting name)xtreme-13-162.dyn.aci.on.ca[69.17.172.162] port=2906) by public.aci.on.ca([205.207.148.251] port=25) via TCP with esmtp (2173 bytes) (sender: ) id for ; Wed, 17 Oct 2007 09:53:30 -0400 (EDT) (Smail-3.2.0.122-Pre 2005-Nov-17 #1 built 2007-Apr-30) Message-ID: <47161438.3030109@qwirky.net> Date: Wed, 17 Oct 2007 09:55:04 -0400 From: Jeff Royle User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: FreeBSD-Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 000782-0, 17/10/2007), Outbound message X-Antivirus-Status: Clean Cc: harti@freebsd.org Subject: FreeBSD 6.2 + my gensnmptree issue X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lists@qwirky.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Oct 2007 14:17:34 -0000 I am having an issue which is most likely my lack of understanding and not a problem with 6.2 itself. The system is running 6.2-RELEASE and I use bsnmpd. Here is the uname output. FreeBSD lucky.orisit 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Wed Oct 10 10:40:51 EDT 2007 What I am trying to do is get bsnmp to respond to new MIBs, specifically UCD-SNMP-MIB. After reading the manpages for bsnmp and gensnmptree I believe gensnmptree is the command I need to use. This is where I get into trouble. The gensnmptree command doesn't give me any results no matter what I do. Even using a bug report example of gensnmptree -e sysName gives me no results. So I proceeded to do some more google searching and noticed gensnmpdef was referenced several times as the program which may be what I need to use. I found the code for this in /usr/src/contrib/bsnmp/gensnmpdef without a makefile. There is no gensnmpdef in /usr/sbin on the system but it is in the /usr/ports/net-mgt/bsnmpd/pkg-plist. So I guess I need some guidance. Can I use gensnmptree to get this MIB into the bsnmp system? If so how is this done? -or- Is there a problem with the 6.2 release for gensnmpdef and that is in fact the program I am suppose to be using? Any assistance would be appreciated. Cheers, Jeff Royle