From owner-freebsd-questions@FreeBSD.ORG Tue Apr 28 06:54:56 2009 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 75C341065674 for ; Tue, 28 Apr 2009 06:54:56 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 42A438FC0C for ; Tue, 28 Apr 2009 06:54:56 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from sarevok.dnr.servegame.org (mailhub.lan.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id A67E97E837; Mon, 27 Apr 2009 22:54:54 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Tue, 28 Apr 2009 08:54:52 +0200 User-Agent: KMail/1.11.2 (FreeBSD/8.0-CURRENT; KDE/4.2.2; i386; ; ) References: <26ddd1750904270928g106c8d7dg72b6b3a09ffc0afa@mail.gmail.com> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200904280854.53179.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: Anton Yuzhaninov Subject: Re: bsnmpd vs net-snmp 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: Tue, 28 Apr 2009 06:54:56 -0000 On Monday 27 April 2009 20:19:33 Anton Yuzhaninov wrote: > On Mon, 27 Apr 2009 12:28:01 -0400, Maxim Khitrov wrote: > MK> I'm setting up a firewall and would like to monitor certain system > MK> parameters like network, cpu, and memory usage. SNMP is an obvious > MK> choice to do the monitoring and I'm planning to set up rrdtool to > MK> generate graphs of captured data. The question is what SNMP agent to > MK> use. I found net-snmp and bsnmpd (which is included in the base > MK> system). Has anyone here used both implementations, and if so, what > MK> are the basic differences? > > main difference is the set of supported MIBs. > > In general net-snmp supports more MIBs than bsnmpd. > > E. g. BEGEMOT-PF-MIB supported only by bsnmpd and useful for monitoring > pf(4), UCD-SNMP-MIB supported only by net-snmp and useful for monitoring > CPU load (ssCpuRaw* counters). There is the GoC 2008 project: % cat /usr/ports/net-mgmt/bsnmp-ucd/pkg-descr bsnmp-ucd is a module for bsnmpd which allows you to get memory, load average, cpu utilization and other system statistics. It implements parts of UCD-SNMP-MIB for this. WWW: http://bsnmp-ucd.googlecode.com/ Author: Mikolaj Golub Maybe if more people started testing/using this, it could some day be in base. -- Mel