From owner-freebsd-questions@FreeBSD.ORG Tue Dec 21 12:01:24 2004 Return-Path: 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 D6A3E16A547 for ; Tue, 21 Dec 2004 12:01:24 +0000 (GMT) Received: from 9.hellooperator.net (cpc3-cdif2-3-0-cust202.cdif.cable.ntl.com [81.103.32.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 661A843D41 for ; Tue, 21 Dec 2004 12:01:24 +0000 (GMT) (envelope-from rasputin@hellooperator.net) Received: from rasputin by 9.hellooperator.net with local (Exim 4.43) id 1Cgihf-0000EP-Dj; Tue, 21 Dec 2004 12:01:23 +0000 Date: Tue, 21 Dec 2004 12:01:23 +0000 From: Dick Davies To: Jorn Argelo Message-ID: <20041221120123.GH12067@lb.tenfour> References: <20041221111315.M60043@wcborstel.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041221111315.M60043@wcborstel.nl> User-Agent: Mutt/1.4.2.1i Sender: Dick Davies cc: FreeBSD Questions Subject: Re: [OT] rrdtool examples X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Dick Davies List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Dec 2004 12:01:25 -0000 * Jorn Argelo [1218 11:18]: > Hi all, > > I've been playing around with rrdtool for quite a while, but I still don't > really get it. I've been trying to find some example scripts for rrdtool, but > I really can't find much of them. I have found Erik de Mare's perl scripts > already. However, the author does not reply to his mail, and only a few of > his scripts work. Unfortunately I don't have any perl knowledge, so I cannot > fix them myself. > > So my question is, do you guys know where I can find some other RRDtool > example scripts? Preferably something involving with CPU load, apache stats > and MySQL stats. All examples are welcome though :) Have a look at rrdtutorial (in a man/ directory near you), its' fairly well written. I knocked together some simple scripts to monitor some appservers (disk,cpu,process count etc) but they get unwieldy very quickly - just a few boxes and it started to get out of hand. If you're going to be doing any gathering/graphing for this kind of thing, have a look at cricket (ports/net-mgmt/cricket) - it makes using RRD a breeze (though I would still read the tutorial at least, it does help to have a rough understanding of the backend). Favours SNMP, but you can use any script you like easily enough (I have a ruby-ldap based version that pulls stats directly from openldap, and it took an hour to get it graphing). -- 'In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move.' -- The Guide Rasputin :: Jack of All Trades - Master of Nuns