From owner-freebsd-questions@FreeBSD.ORG Wed Jan 27 01:54:25 2010 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 23786106566C for ; Wed, 27 Jan 2010 01:54:25 +0000 (UTC) (envelope-from steve@ibctech.ca) Received: from smtp.ibctech.ca (v6.ibctech.ca [IPv6:2607:f118::b6]) by mx1.freebsd.org (Postfix) with SMTP id B8F518FC1B for ; Wed, 27 Jan 2010 01:54:24 +0000 (UTC) Received: (qmail 40317 invoked by uid 89); 27 Jan 2010 01:55:44 -0000 Received: from unknown (HELO ?192.168.1.114?) (steve@ibctech.ca@::ffff:208.70.104.100) by ::ffff:208.70.104.210 with ESMTPA; 27 Jan 2010 01:55:44 -0000 Message-ID: <4B5F9CCA.1040106@ibctech.ca> Date: Tue, 26 Jan 2010 20:54:18 -0500 From: Steve Bertrand User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Steven Friedrich References: <201001262020.45317.freebsd@insightbb.com> <4B5F9584.5020600@ibctech.ca> <201001262045.37400.freebsd@insightbb.com> In-Reply-To: <201001262045.37400.freebsd@insightbb.com> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: SNMP of FreeBSD 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: Wed, 27 Jan 2010 01:54:25 -0000 Steven Friedrich wrote: > On Tuesday 26 January 2010 08:23:16 pm Steve Bertrand wrote: >> Steven Friedrich wrote: >>> I have three ports installed: >>> bsnmptools-0.0.20060818_2 Snmp client tools >>> mbrowse-0.3.1_8 An SNMP MIB Browser for X >>> net-snmp-5.4.2.1_6 An extendable SNMP implementation >>> >>> I got a few errors after initial install. >>> >>> I don't know what pieces of snmp I want. >>> I used the sample snmp.config from the /usr/src tree. >>> I changed the name of the public community name. >>> I uncommented the netgraph and pf lines and maybe even others 8o) >>> >>> I got rid of the errors on the console, except for this Warning: >>> WARNING: attempt to domain_add(netgraph) after domainfinalize() >>> >>> Perhaps this is a bug in the example snmp.config I'm using? >>> What client(s) tools should I look at? >> What is it exactly that you need/want SNMP for? >> >> If for client only, what do you need to poll? >> >> Steve >> > I want to find out what I can monitor with it. I don't know enough about it > to know if it will be useful to me. I'm an old hardware guy and I've been > Admin'ing my own systems for many years. I am having a hard time finding > pertinent documentation. > > I know one of the ports allows you to monitor the cpu, memory, etc. > > I already have a Superkaramba theme that has a StarTrek gauge for cpu, memory, > swap, network in, network out, etc. > > I just want to know if SNMP has anything to offer me... Personally, I use SNMP for read-only network gathering information. Depending on the device you are trying to poll, you can generally retrieve almost all information from a device. What you have described that you have already seems like SNMP. Can you give an example of a device that you want to 'test' against? Assuming that you have an SNMP v2 device available for polling, try this on your FreeBSD box: # pkg_add -r net-snmp # rehash # snmpwalk -v2c -c your_ro_community ip_or_name_of_device If you want specifics to test against, let me know off-list, and I'll give you a Cisco router to poll. Steve