From owner-freebsd-questions@FreeBSD.ORG Thu Jul 31 04:47:51 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6124037B401 for ; Thu, 31 Jul 2003 04:47:51 -0700 (PDT) Received: from silakka.nettikala.fi (silakka.nettikala.fi [212.182.218.251]) by mx1.FreeBSD.org (Postfix) with ESMTP id 45B6843F85 for ; Thu, 31 Jul 2003 04:47:50 -0700 (PDT) (envelope-from mailing-lists@johanpaul.com) Received: from localhost (localhost.nettikala.fi [127.0.0.1]) by silakka.nettikala.fi (Postfix) with ESMTP id 683661325E7 for ; Thu, 31 Jul 2003 14:47:19 +0300 (EEST) Received: from silakka.nettikala.fi ([127.0.0.1]) by localhost (silakka.nettikala.fi [127.0.0.1:10024]) (amavisd-new) with ESMTP id 16735-01 for ; Thu, 31 Jul 2003 14:47:17 +0300 (EEST) Received: from silakka.nettikala.fi (localhost.nettikala.fi [127.0.0.1]) by silakka.nettikala.fi (Postfix) with SMTP id B24E713243E for ; Thu, 31 Jul 2003 14:47:17 +0300 (EEST) Received: from 193.166.135.194 (SquirrelMail authenticated user kypeli) by silakka.nettikala.fi with HTTP; Thu, 31 Jul 2003 14:47:17 +0300 (EEST) Message-ID: <2635.193.166.135.194.1059652037.squirrel@silakka.nettikala.fi> In-Reply-To: References: <573562C6FDA9564A8EEE66D899BC190B02A32AD4@EMSS01M10.us.lmco.com> Date: Thu, 31 Jul 2003 14:47:17 +0300 (EEST) From: "Johan Paul" To: "FreeBSD-questions" User-Agent: SquirrelMail/1.4.1 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal X-Virus-Scanned: by amavisd-new Subject: Re: SNMP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Jul 2003 11:47:51 -0000 > I second the recommendation for net-SNMP. It also provides most of the > functions for Microsoft Windows that it does for Unix-type environments. > Code generators and related utilities are far less automatic than many > commercial products, but the quality and flexibility are high. There is a > set of tutorials and you can run many of them against yourself in > 'localhost'. I know this might be a poor follow-up and not a FreeBSD issue, sorry! But I am quite stucked with the configuration of net-snmp. I got it from ports (version 5.0.6). I added the createUser line to /var/net-snmp/snmpd.conf like the HOWTO tells me to do (http://www.net-snmp.org/FAQ.html#How_do_I_configure_SNMPv__users_), restarted net-snmp but whatever I try I get no authorization eg. ('guest' is the user I added with the createUser directive): silakka# snmpget -u guest -A -v 3 -l noAuthNoPriv localhost sysUpTime Error in packet Reason: authorizationError (access denied to that object) I have also tried to run snmpconf script but there seems to be little to do with users or communities other than the line: rouser guest auth I also tried with the snmpwalk (same auth error) and tried to configure MRTG with cfgmaker but of course it can't retrieve any info. So I would need some basic knowledge about the authentication with net-snmp. Any brief ideas? :) I would also like to specify a community (public@localhost) for MRTG to use. Regards, Johan Paul