Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Dec 2004 12:01:23 +0000
From:      Dick Davies <rasputnik@hellooperator.net>
To:        Jorn Argelo <jorn@wcborstel.nl>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: [OT] rrdtool examples
Message-ID:  <20041221120123.GH12067@lb.tenfour>
In-Reply-To: <20041221111315.M60043@wcborstel.nl>
References:  <20041221111315.M60043@wcborstel.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
* Jorn Argelo <jorn@wcborstel.nl> [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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041221120123.GH12067>