From owner-freebsd-questions@FreeBSD.ORG Sat Oct 22 15:08:49 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 EFD5D16A41F for ; Sat, 22 Oct 2005 15:08:49 +0000 (GMT) (envelope-from frankstaals@gmx.net) Received: from smtp1.versatel.nl (smtp1.versatel.nl [62.58.50.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3CCBB43D48 for ; Sat, 22 Oct 2005 15:08:48 +0000 (GMT) (envelope-from frankstaals@gmx.net) Received: (qmail 4952 invoked by uid 0); 22 Oct 2005 15:08:47 -0000 Received: from unknown (HELO [192.168.2.5]) ([62.59.173.176]) (envelope-sender ) by smtp1.versatel.nl (qmail-ldap-1.03) with SMTP for < >; 22 Oct 2005 15:08:47 -0000 Message-ID: <435A562F.8030307@gmx.net> Date: Sat, 22 Oct 2005 17:09:35 +0200 From: Frank Staals User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051015) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Edwin D. Vinas" References: <36f5bbba0510220749w59da1721v60b64504b35ac6a7@mail.gmail.com> In-Reply-To: <36f5bbba0510220749w59da1721v60b64504b35ac6a7@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: SNMP in FreeBSD server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Oct 2005 15:08:50 -0000 Edwin D. Vinas wrote: >Hi, > I'm running a FreeBSD server on a DSL and I wan't to monitor the link >utilization of it using MRTG and NET-SNMP. I installed net-snmp using ports >but when I tried running snmpd and querying simple snmpwalk and cfgmaker, I >got an error as shown below. I also tried installing net-snmp from source >from sourceforge but still snmp is not responding. Please help me on this. > Thanks in advance. >-Edwin > NOTE: >------------- >My snmpd.conf is in /etc/snmp/snmpd.conf >I am running snmpd as plain 'snmpd'. I also tried 'snmpd -c snmpd.conf' but >no effect. >------------- > ERROR IN CFGMAKER: > >--base: Get Device Info on public@192.168.1.1: >SNMP Error: >no response received >SNMPv1_Session (remote host: "192.168.1.1 " >[192.168.1.1 >].161) >community: "public" >request ID: -1724402833 >PDU bufsize: 8000 bytes >timeout: 2s >retries: 5 >backoff: 1) >at /usr/local/lib/perl5/site_perl/5.005/SNMP_util.pm line 627 >SNMPWALK Problem for 1.3.6.1.2.1.1 on public@192.168.1.1::::::v4only >at /usr/local/bin/cfgmaker line 858 >WARNING: Skipping public@192.168.1.1: as no info could be retrieved > ># Created by ># /usr/local/bin/cfgmaker public@192.168.1.1 > > >-- >-- >Edwin D. Viņas >http://www.geocities.com/edwin_vinas/ >IN THE WORLD OF SCIENCE, >NOTHING IS IMPOSSIBLE. >-- >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > > I'm running mrtg myself, and I remember having some problem with snmpd when I installed it. you should have a config file in /usr/local/etc/ named snmpd.conf and it should look something like this: http://fstaals.net/junk/snmpd.conf . I can't remember anymore if I had to change anything else, but I think that should be it. Good Luck -- -Frank Staals