From owner-freebsd-hackers@FreeBSD.ORG Wed Feb 2 11:41:32 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DAA2F16A4CE; Wed, 2 Feb 2005 11:41:32 +0000 (GMT) Received: from sollube.sarenet.es (sollube.sarenet.es [192.148.167.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8BE8043D2D; Wed, 2 Feb 2005 11:41:32 +0000 (GMT) (envelope-from borjamar@sarenet.es) Received: from [127.0.0.1] (borja.sarenet.es [192.148.167.77]) by sollube.sarenet.es (Postfix) with ESMTP id 8C63FD45; Wed, 2 Feb 2005 12:41:31 +0100 (CET) In-Reply-To: References: Mime-Version: 1.0 (Apple Message framework v619.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <443508943e439ce09a709c504437f028@sarenet.es> Content-Transfer-Encoding: 7bit From: Borja Marcos Date: Wed, 2 Feb 2005 12:41:30 +0100 To: Robert Watson X-Mailer: Apple Mail (2.619.2) cc: freebsd-hackers@freebsd.org Subject: Re: Devilator - performance monitoring for FreeBSD X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Feb 2005 11:41:33 -0000 > This is very cool. :-) How are you currently extracting the > information? > One of the things I've wanted to do for a while is make sure all this > sort > of thing is exposed via snmpd so that the information can be gathered > easily across a large number of hosts (say, 10,000). Right now I'm using a combination of sysctl() and kvm accesses. The system is simple: a small agent reads those values and places them in a text file. That text file is then processed by the Orca program. You can set it up so that each machine only runs the small agent, and you fetch the text files with (for example) rsync from another machine dedicated to generating the graphs and serving the web pages for all your hosts. I'm right now using a Sun Netra T1 running FreeBSD 5.3 and it's generating pages for all of our Solaris hosts. The advantage of this approach is security. It's much easier to secure an rsync access than snmp, and the data collection is much more precise. > systat contains a large number of useful statistics and monitoring > pieces, > including some really useful stuff in systat -vmstat. There's also a > lot > of interesting information to be had from vmstat -z and vmstat -m in > terms > of tracking system resource use. Yes, I've been having a look at the systat and vmstat source code. > It would be neat to have interrupt rates classified by source, so that > the > regularity of clock interrupts was visible against the variation in > things > like disk and network interrupts. That's in my list in one way or another. Borja.