From owner-freebsd-isp@FreeBSD.ORG Wed Sep 3 19:01:26 2008 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 992CE1065683 for ; Wed, 3 Sep 2008 19:01:26 +0000 (UTC) (envelope-from tony@crosswinds.net) Received: from out-mx.crosswinds.net (out-mx1.crosswinds.net [216.18.117.38]) by mx1.freebsd.org (Postfix) with ESMTP id 73CF38FC1F for ; Wed, 3 Sep 2008 19:01:26 +0000 (UTC) (envelope-from tony@crosswinds.net) Received: from admin.crosswinds.net (admin.crosswinds.net [216.18.117.2]) by out-mx.crosswinds.net (Postfix) with ESMTP id C63271E8E67 for ; Wed, 3 Sep 2008 15:01:25 -0400 (EDT) Received: by admin.crosswinds.net (Postfix, from userid 1001) id B8AF36C85A; Wed, 3 Sep 2008 15:01:25 -0400 (EDT) Date: Wed, 3 Sep 2008 15:01:25 -0400 From: Tony Holmes To: freebsd-isp@freebsd.org Message-ID: <20080903190125.GC15696@crosswinds.net> References: <20080903172409.GB14969@crosswinds.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080903172409.GB14969@crosswinds.net> User-Agent: Mutt/1.5.6i Subject: Re: SNMP On FreeBSD 4.10 X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Sep 2008 19:01:26 -0000 > I am attempting to configure snmpd on 4.10 for monitoring bandwidth > in/out via ipfw counters. > > Took a while to find all the old packages for 4.10 but it's installed > and now dying on the configure step: > > cw-fw# snmpconf -g basic_setup > Not enough arguments for mkdir at /usr/local/bin/snmpconf line 174, near ""$ENV{HOME}/.snmp")" > Execution of /usr/local/bin/snmpconf aborted due to compilation errors. > cw-fw# snmpconf > Not enough arguments for mkdir at /usr/local/bin/snmpconf line 174, near ""$ENV{HOME}/.snmp")" > Execution of /usr/local/bin/snmpconf aborted due to compilation errors. > > > Googling has turned up people asking the same question and no answers. > This is new to me and I am currently stumped. > > I installed the net-snmpd with the following options: > > make WITH_INETADDRESS_HACK=yes WITHOUT_IPV6=yes NET_SNMP_SYS_CONTACT="[SNIP]" > NET_SNMP_SYS_LOCATION="[SNIP]" install > > Went well with no errors. > > Help? Commenting out the option I know I wasn't needed solved the problem. Then I gave up on snmpdconf - too many options! Broke my brain. I found a lovely little "basic" configuration in an email reply to another issue. Now the true debugging begins -- Tony Holmes Ph: (416) 993-1219 Founder and Senior Systems Architect Crosswinds Internet Communications Inc.