From owner-freebsd-questions@FreeBSD.ORG Mon Apr 27 18:38:47 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 380B71065674 for ; Mon, 27 Apr 2009 18:38:47 +0000 (UTC) (envelope-from korvus@comcast.net) Received: from mx04.pub.collaborativefusion.com (mx04.pub.collaborativefusion.com [206.210.72.84]) by mx1.freebsd.org (Postfix) with ESMTP id 0119D8FC18 for ; Mon, 27 Apr 2009 18:38:46 +0000 (UTC) (envelope-from korvus@comcast.net) Received: from [192.168.2.164] ([206.210.89.202]) by mx04.pub.collaborativefusion.com (StrongMail Enterprise 4.1.1.4(4.1.1.4-47689)); Mon, 27 Apr 2009 14:37:57 -0400 X-VirtualServerGroup: Default X-MailingID: 00000::00000::00000::00000::::4 X-SMHeaderMap: mid="X-MailingID" X-Destination-ID: freebsd-questions@freebsd.org X-SMFBL: ZnJlZWJzZC1xdWVzdGlvbnNAZnJlZWJzZC5vcmc= Message-ID: <49F5FBBF.6060207@comcast.net> Date: Mon, 27 Apr 2009 14:38:55 -0400 From: Steve Polyack User-Agent: Thunderbird 2.0.0.21 (X11/20090327) MIME-Version: 1.0 To: Steve Bertrand References: <26ddd1750904270928g106c8d7dg72b6b3a09ffc0afa@mail.gmail.com> <49F5F459.9000403@ibctech.ca> In-Reply-To: <49F5F459.9000403@ibctech.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Maxim Khitrov , Free BSD Questions list 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: Mon, 27 Apr 2009 18:38:47 -0000 Steve Bertrand wrote: > Maxim Khitrov wrote: > >> Hello all, >> >> I'm setting up a firewall and would like to monitor certain system >> parameters like network, cpu, and memory usage. SNMP is an obvious >> choice to do the monitoring and I'm planning to set up rrdtool to >> generate graphs of captured data. The question is what SNMP agent to >> use. I found net-snmp and bsnmpd (which is included in the base >> system). Has anyone here used both implementations, and if so, what >> are the basic differences? >> > > I use bsnmpd, because I couldn't measure 64-bit counters otherwise. > > net-snmp has no problems providing 64-bit counters (interface and disk). You must build it with -DWITH_MFD_REWRITES (passes --with-mfd-rewrites to ./configure). I do not know why this is not the default. It works just fine. I also have a PR open to make this define a ports 'make config' option (therefore a persistent setting), but the maintainer has ignored this.