[rrd-users] graduated colour graphs

2007-08-21 Thread Darryl Lewis
Hi all, I'm using the following code to make shaded graphs: "CDEF:shading2=myusers,0.98,*" "AREA:shading2#FF" \ "CDEF:shading10=myusers,0.90,*" "AREA:shading10#FF0F00" \ "CDEF:shading15=myusers,0.85,*" "AREA:shading15#FF1800" \ "CDEF:shading20=myusers,0.80,*" "AREA:shading20#FF2D00" \ "CDEF:sh

[rrd-users] rrdt and prediction

2007-07-04 Thread Darryl Lewis
Has anyone written any code to do trend analysis and prediction on rrdt? What I'd like to be able to do is do some sort of prediction based upon a rrd and predict what it will be at a future point in time based upon the past trends. I'd also like to be able to predict when a device will reach a

[rrd-users] subscribe

2007-07-01 Thread Darryl Lewis
subscribe == The information contained in this email and any attachment is confidential and may contain legally privileged or copyright material. It is intended only for the use of the addressee(s). If you are not the i

Re: [rrd-users] Web log graphing

2007-06-19 Thread Darryl Lewis
here's a php script that you might be able to modify to get the output http://tools.wikimedia.de/~leon/source/rawview.php/wikicharts/requests.php -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Simon Hobson Sent: Wednesday, 20 June 2007 1:05 AM To: rrd-users@

Re: [rrd-users] Holt-Winters interactive simulator

2007-03-20 Thread Darryl Lewis
Apart from python (because I don't know it, I'm a shell and perl user), fantastic! Do you have this somewhere for download? I think the email proggies may have messed it up a bit -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Sven Ulland Sent: Wednesday,

[rrd-users] Re: Holt winters

2006-12-18 Thread Darryl Lewis
I did not get that message, however I'm using rrdtool-1.2.4 and still getting that error. next? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Ulf Zimmermann Sent: Tuesday, 19 December 2006 11:12 AM To: Kiss Gabor (Bitman) Cc: rrd-users@list.ee.ethz.ch Subj

[rrd-users] Re: Holt winters

2006-12-18 Thread Darryl Lewis
Being that no one has answered, I can only conclude that either no-one has managed to get HW working, or that it is broken. which is it? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Darryl Lewis Sent: Monday, 18 December 2006 5:13 PM To: rrd-users

[rrd-users] Holt winters

2006-12-17 Thread Darryl Lewis
I'm trying to figure out how H-W forecasting works in rrdt. I changed a little simulation program that makes an rrd and graphs it in realtime, which I'm using to play with the variables and to experiment. I've got the following: DAY=1 GENERATIONS=60 PERIOD=$(($DAY * $GENERATIONS)) rrdtool crea

[rrd-users] Re: GetHTTP

2006-12-12 Thread Darryl Lewis
I don't think echoping downloads a webpage (at least not from what I make of the doco). The way I do it is to use wget with time. /usr/bin/./time -po log.txt wget -q --limit-rate=20K --no-cache --output-document="page.htm" --user-agent="$useragent" $page_to_pull set $useragent to whatever you

[rrd-users] Re: Memory leak in RRDs::graph?

2006-10-25 Thread Darryl Lewis
I run my data capture and graphing programs using cron, rather a continously running script. That way the OS takes care of the garbage collection. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Ben Griffith Sent: Thursday, 26 October 2006 4:55 AM To: rrd-us

[rrd-users] Re: problems with gauge

2006-10-25 Thread Darryl Lewis
copy that file in your windows fonts directory to /usr/share/rrdtool/fonts/DejaVuSansMono-Roman.ttf -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Randheer Babu M Sent: Wednesday, 25 October 2006 5:30 PM To: Simon Hobson; rrd-users@list.ee.ethz.ch Subject:

[rrd-users] Re: Printing a text report instead of a graph

2006-10-24 Thread Darryl Lewis
>>P.S. Have any of you people who *really* understand rrdtool thought >>about writing an O'Reilly book about it? I don't understand it 100%, but yes, I've thought of it every time I have to try and figure out how do something with it. It would need practical examples, both in shell script and i

[rrd-users] Re: graphing a time

2006-10-23 Thread Darryl Lewis
That produces a saw tooth graph. Any other options? -Original Message- From: Darryl Dunkin [mailto:[EMAIL PROTECTED] Sent: Tuesday, 24 October 2006 10:59 AM To: Darryl Lewis; Fabien Wernli; rrd-users@list.ee.ethz.ch Subject: RE: [rrd-users] Re: graphing a time Since this isn't an

[rrd-users] Re: graphing a time

2006-10-23 Thread Darryl Lewis
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Fabien Wernli Sent: Tuesday, 24 October 2006 12:39 AM To: rrd-users@list.ee.ethz.ch Subject: [rrd-users] Re: graphing a time On Mon, Oct 23, 2006 at 02:46:54PM +1000, Darryl Lewis wrote: > I'm trying to

[rrd-users] graphing a time

2006-10-23 Thread Darryl Lewis
Hi all, I'm trying to graph how often google crawls some pages on my site. So far, it can be as frequent as 1 day, other times, it might be weeks or months. Does anyone have an idea how I might be able to use rrdtool to grapgh something like this? Darryl

[rrd-users] Re: remove DS from the database

2006-10-12 Thread Darryl Lewis
It would be nice if someone wrote a set of tools that allowed things like this to be possible. Removing DS's, adding additional DS, etc. Just an idea for the smart coders out there -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Fabien Wernli Sent: Thur

[rrd-users] Re: forecasting

2006-09-10 Thread Darryl Lewis
does). Darryl -Original Message- From: MrPaul [mailto:[EMAIL PROTECTED] Sent: Wednesday, 6 September 2006 11:30 PM To: Darryl Lewis Cc: rrd-users@list.ee.ethz.ch Subject: Re: [rrd-users] forecasting If you are using MRTG to collect the data you can use the trend plugin with routers2.cgi.

[rrd-users] Re: adding holt-winters forecasting to existing databases

2006-09-09 Thread Darryl Lewis
lt-winters forecasting to existing databases Hi, 'rrdtool fetch' would give you values in timestamp: form. So write a small script so that, each line obtained using 'rrdtool fetch' from the original rrd is inserted into the new rrd using rrdtool update. HTH, Praveen. ---

[rrd-users] Re: adding holt-winters forecasting to existing databases

2006-09-09 Thread Darryl Lewis
o existing databases Hi, 'rrdtool fetch' would give you values in timestamp: form. So write a small script so that, each line obtained using 'rrdtool fetch' from the original rrd is inserted into the new rrd using rrdtool update. HTH, Praveen. --- Darryl Lewis <[EMAIL PROTECT

[rrd-users] Re: adding holt-winters forecasting to existing databases

2006-09-09 Thread Darryl Lewis
12:46 AM To: rrd-users@list.ee.ethz.ch Subject: [rrd-users] Re: adding holt-winters forecasting to existing databases On Sun, Sep 10, 2006 at 12:27:41AM +1000, Darryl Lewis wrote: > I have about 100 rrd's that I'd like to modify and add Holt-Winters > forecasting to. > Bei

[rrd-users] adding holt-winters forecasting to existing databases

2006-09-09 Thread Darryl Lewis
Hi everyone, I have about 100 rrd's that I'd like to modify and add Holt-Winters forecasting to. Being that I have a 12 months worth of data in each of them, I'm reluctant to blow them away and start again. I'd like to modify the existing databases to include RRA:HWPREDICT:rows:alpha:beta:seas

[rrd-users] Re: two sh scripts

2006-09-08 Thread Darryl Lewis
ok, it all looks fairly good, but just needs a few improvements. 1. first thing is that I'd change your crontab to * * * * * root/home/ram.sh >/dev/null 2>&1 * * * * * root/home/test.sh >/dev/null 2>&1 It still runs every minute, but gets rid of a bit of maths that the cron proces

[rrd-users] Re: two sh scripts

2006-09-07 Thread Darryl Lewis
umm...it depends on how you wrote the scripts, but generally, they should be fine together unless you are overwriting the same temporary files. At a guess , without seeing the scripts: 1. Your running them too frequently and the server is under too much load... use 'top' to see that, and if your

[rrd-users] Re: Simple shell script nor working properly

2006-09-06 Thread Darryl Lewis
When a program is run from cron, it doesn't have any of your environment settings. Basically, it doesn't know where the program is, or what directory it should be working in. If you add #! /bin/sh cd /home/{user}/{directory} it should work. note that you should replace {user} and {directory} w

[rrd-users] forecasting

2006-09-05 Thread Darryl Lewis
Has anyone done any forecasting rrdtool to give an indication of future growth? For example, give the past week or month or year load, use that to calculate possible future trends? Or even implemented Holt-Winters? If so I'd like to hear about it. kind regards Darryl =

[rrd-users] Holt-Winters forecasting

2006-08-16 Thread Darryl Lewis
Hi all, I've read the few brief pages on the RRDTOOL website about HW-forecasting. It sounds interesting, but has anyone actually used it? Has anyone converted existing rrd's to include the HW stuff? If so, how? cheers DL =

[rrd-users] Re: RRD-Performance Issue - Need Help

2006-06-21 Thread Darryl Lewis
Here are some suggestions; Depends on how complicated you shell/awk scripts are. Calling individual shell scripts are slower than having parameters read into a loop to go thru each server. i.e. while read servername do [snmp walk $servername] [update rrd $servername] [rrd graph $servername

[rrd-users] Re: New to rrd

2006-06-16 Thread Darryl Lewis
I've not tried this, but I think one way might be to export the data using rrddump, modify the xml content, then use rrdrestore to reload it. Darryl -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Albright, Terry Sent: Thursday, 15 June 2006 11:04 PM To: rrd

[rrd-users] Re: Values in RRD are incorrect

2006-06-06 Thread Darryl Lewis
Are you setting the rrd to AVERAGE, GAUGE, COUNTER ? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Richard Marshall Sent: Monday, 5 June 2006 8:57 PM To: rrd-users@list.ee.ethz.ch Subject: [rrd-users] Values in RRD are incorrect Hello, I am using a perl

[rrd-users] Re: RRD graph not working

2006-06-05 Thread Darryl Lewis
0x0 is the size of the image generated. It looks like your rrd may have no data in it... You also seem to have an extra character in the DEF command. Try this: rrdtool graph test.png DEF:ds0=10.254.0.1_1.rrd:ds0:AVERAGE -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROT

[rrd-users] Re: horizontal line

2006-05-22 Thread Darryl Lewis
Looks like the value of maxbytes maybe null. Try declaring my $maxbytes=0; earlier in the program. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Pavel Ruzicka Sent: Monday, 22 May 2006 7:33 AM To: rrd-users@list.ee.ethz.ch Subject: [rrd-users] horizontal li

[rrd-users] Re: Problems displaying load

2006-05-21 Thread Darryl Lewis
I wish I had loads that small:-) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of John Oliver Sent: Sunday, 21 May 2006 10:38 AM To: rrd-users@list.ee.ethz.ch Subject: [rrd-users] Re: Problems displaying load On Sat, May 20, 2006 at 09:35:59PM +0100, Jeremy

[rrd-users] Re: Problems displaying load

2006-05-20 Thread Darryl Lewis
Perhaps there was a 'spike' in the data that set the max to a crazy figure. If you know the maximum possible, set that as a limit in the rrd. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of John Oliver Sent: Saturday, 20 May 2006 4:04 AM To: rrd-users@list.e

[rrd-users] once a day update with yearly display

2006-05-18 Thread Darryl Lewis
I'm trying to build and rrd that accepts one update a day, then graphs it over the entire year. Is the following correct, as I don't seem to be getting any data graphed... RRDs::create( "data/$name.rrd", "-s 8",#accepts a new value ab