[rrd-users] Re: Argument List too long?

2006-12-18 Thread Simon Hobson
Kant, D (Dave) wrote: I'm not sure I understand the correct format for invoking rrdtool's pipe mode. Do you mean something like this? rrdtool graph my_long_arg_list.txt out where my_long_arg_list.txt would look something like this? []cat my_long_arg_list.txt site_disk_HMW6dFGqY4.png -t

[rrd-users] Re: Value of emails per minute or per 5 minutes

2006-12-15 Thread Simon Hobson
Oliver Schulze L. wrote: Since I have too few volumen of emails per seconds, I would like to graph instead of emails/s, the value of emails/min (emails per minute) Multiply by 60 to get somethings/minute, multiply by 300 to get somethings/5minutes, by 3600 to get somethings/hour ... --

[rrd-users] Re: GetHTTP

2006-12-12 Thread Simon Hobson
Baker, John wrote: Does anybody know of a program for FreeBSD/Linux that acts in the same way as GetHTTP does for windows? It fetches a page from a web server (and optionally content) and then reports back how much time it took in milliseconds. It might also be worth looking at the plugins

[rrd-users] Re: Changing Average value in SRG.conf to MAX

2006-12-07 Thread Simon Hobson
First off, please do NOT start a new thread by replying to an unrelated message - it makes the threading in mail archives rather odd ! Edgar Humberto Parra wrote: Hi guys, I was wondering the following: I have almost a year worth of data in my RRD files, and my manager asked me, if I can

[rrd-users] Re: Graph Error ?

2006-12-05 Thread Simon Hobson
ICALLING wrote: AREA:a#DE0056:OP1 \: \ GPRINT:a:LAST:Current\:%2.0lf%S \ GPRINT:a:MIN:Min\:%2.0lf%S \ GPRINT:a:MAX:Max\:%2.0lf%S \ GPRINT:a:AVERAGE:Average\:%2.0lf%S\n \ LINE2:b#7EE600:OP2\: \ GPRINT:b:LAST: Current\:%2.0lf%S \ GPRINT:b:MIN:Min\:%2.0lf%S \ GPRINT:b:MAX:Max\:%2.0lf%S \

[rrd-users] Re: rrdGraph help

2006-11-30 Thread Simon Hobson
Kant, D (Dave) wrote: Sometimes my sensor goes offline and the RRD archives contain Unknown datapoints. I can set them to zero using CDEF statments. This results in large gaps in the graph. (See the first graph at http://tinyurl.com/ve6d8). Is there a way - similar to the second graph - to fill

[rrd-users] Re: Q: Dynamically graphing only DS's with data out of an RRD?

2006-11-29 Thread Simon Hobson
Rivera, Edwin R wrote: I have an RRD database set up with about 100 DS's defined; one for each error-code I'd like to graph. My question is: Say over a given period of time, only 10 of the 100 possible error codes are recorded (let's assume the other 90's are all set to U), is there a way to

[rrd-users] Re: Help with Bash script to calc end-time in multiples of 300 ?

2006-11-19 Thread Simon Hobson
Alex van den Bogaerdt wrote: etime=`date +%s` step=300 etime=$(( ${etime} - ( ${etime} % ${step} ) )) etime=$(( ${etime} / ${step} * ${step} )) is 10% faster, at least on my system. I tried this by looping 100,000 times doing those calculations, several runs. Bash uses integer

[rrd-users] Re: Help with Bash script to calc end-time in multiples of 300 ?

2006-11-18 Thread Simon Hobson
Rob Conway wrote: I just use date +%s to get the unix time but how can I easily round this value ? etime=`date +%s` step=300 etime=$(( ${etime} - ( ${etime} % ${step} ) )) Now, can someone show me how to convert the resulting end time to a human readable form - eg so I can use it in a gprint

[rrd-users] Re: php bindings for rrdtool

2006-11-11 Thread Simon Hobson
Rogério Schneider wrote: So, after the shel_exec, how you show the graph? FWIW, I use a bash script as my CGI. The simple way to do it is to have rrd-graph generate an image in a file and return an image reference tag - that way, as the script returns, there will be a file that will

[rrd-users] Re: Segfaulting

2006-11-07 Thread Simon Hobson
Erik wrote: I've got some 8000+ rrdfiles in a dir and i am trying to create a graph containing the sum from a selecton of about 1700 rrdfiles. The first problem i ran into is the ARG_MAX limit, by renaming variables i've gotten around that. The problem now is that RRDtool segfaults, is there any

[rrd-users] Re: indicate collector down on graph

2006-11-04 Thread Simon Hobson
Ford, Andy wrote: How about keeping another rrd file and just put a zero (or something) into it whenever you put anything in the ping-time rrd ? That way, if your collector is down, this new rrd will have nan as well as the ping time graph - so you can simply draw a red block if the

[rrd-users] Re: indicate collector down on graph

2006-11-03 Thread Simon Hobson
Ford, Andy wrote: I'm collecting some ping-time type data with a timeout and I want to differentiate on the graphs between collector failures and target failures. Right now, if I timeout or if my collector is down I get the same thing: an empty graph. I need to have say, a red block in the graph

[rrd-users] Re: Manipulating and Graphing Data

2006-10-31 Thread Simon Hobson
Tony Varriale wrote: Closer, but it uses the values supplied AND THE TIME INTERVALS to work out the rate over each interval defined in your rrd. If your updates EXACTLY match the time intervals then the rate stored will match the value you put in, otherwise it will be adjusted. Right,

[rrd-users] Re: Manipulating and Graphing Data

2006-10-31 Thread Simon Hobson
Tony Varriale wrote: Ok...well...DERIVE doesn't give me accurate numbers. Not even close. That is why I am trying to ask the community for a solution to the problem. OK, try giving us an example of : what you put in what you expect to come out what you actually get out and if the latter two

[rrd-users] Re: Manipulating and Graphing Data

2006-10-31 Thread Simon Hobson
Tony Varriale wrote: Sorry, I replied to Simon directly... OK, try giving us an example of : what you put in what you expect to come out what you actually get out and if the latter two are different, why you think it's wrong ! Ok. I am trying to gather and graph dropped packets in a

[rrd-users] Re: Manipulating and Graphing Data

2006-10-30 Thread Simon Hobson
Tony Varriale wrote: Hi...thanks for the info. I did try DERIVE but I get very inaccurate results. For example: I had about 400 drops in the queue that were generated. The graphs and data were showing anywhere from 8-16 drops. I again verified the actual data with a manual snmpwalk. When I

[rrd-users] Re: bogus spikes with Infiniband traffic

2006-10-25 Thread Simon Hobson
Am I missing something, or would using 'DERIVE' as a DS type deal with this ? -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/rrd-users WebAdminhttp://lists.ee.ethz.ch/lsg2.cgi

[rrd-users] Re: Problem with Fonts (Was: problems with gauge)

2006-10-25 Thread Simon Hobson
Randheer Babu M wrote: DejaVuSansMono-Roman.ttf this font file was downloaded and kept in the fonts DIR of windows .. still this problem persists and RRD gives back same error failed to load /usr/share/rrdtool/fonts/DejaVuSansMono-Roman.ttf. And is the fonts DIR of windows the same as

[rrd-users] Re: problems with gauge

2006-10-23 Thread Simon Hobson
Mr. Suhas Ghosh wrote: Please help I am getting this error please tell me the reason thanking you in adnace. failed to load /usr/share/rrdtool/fonts/DejaVuSansMono-Roman.ttf with regards Firstly, a point of netiqette : It is bad form to start a new thread by replying to an existing message.

[rrd-users] Re: is rrd appropriate for my purpose?

2006-10-13 Thread Simon Hobson
How doesn't incerease? I.e. I will want to have a one year history and I will have no limit for rrd file size, so rrd file will be bigger and bigger, until it will be one year old, and then it will have aproximately the same size, no? When you create a RRD database, you specify what RRAs to store

[rrd-users] Re: two sh scripts

2006-09-08 Thread Simon Hobson
VladoPortos wrote: Scripts are here http://vladoportos.bancodata.eu/ram.txt - show free ram http://vladoportos.bancodata.eu/test.txt - show temperatures in cron they are writted as: 0-59/1 * * * * root/home/ram.sh /dev/null 21 0-59/1 * * * * root/home/test.sh /dev/null 21 all

[rrd-users] Re: How can I get the accurate data from the graph by rrdtool?

2006-08-29 Thread Simon Hobson
Chunjing Han wrote: 'GPRINT:median:MAX:Max Ping RTT (%.1lf %ss max)', Here you print your max value, lets see where it comes from : 'DEF:median='.${rrd}.':median:AVERAGE', So you are getting the AVERAGE values from the RRD and printing the max of those. What you need to do is extract the MAX

[rrd-users] Re: Disk Space Requirement (Was: rrdtool fetch with computed resolution)

2006-08-04 Thread Simon Hobson
Tobias Oetiker wrote: The only way to do this is to store data covering the whole period you may want to chart over, and at the best resolution that you will ever want - you can't extract information later that you don't have stored. That's likely to be a huge store, and also not what

[rrd-users] Can I optimise this ?

2006-08-04 Thread Simon Hobson
I'm using rrdcgi (version 1.2.11-0.5 from Debian testing) to generate a stacked graph and accompanying legend, the source of an example is below. Ultimately I need to be able to handle 254 data sources (all IPs in a subnet) but it's taking a huge amount of memory - with 203 sources it took

[rrd-users] Re: Can I optimise this ?

2006-08-04 Thread Simon Hobson
I wrote: VDEF:vdatainavg=v1-in, v2-in,+,v3-in,+ but this results in [ERROR: Cannot parse vname from 'VDEF:VDEF:vdatainavg=v1-in,'] Oops, there's a space in there. But taking it out and making it : CDEF:vdatainavg=v1-in,v2-in,+,v3-in,+ I then get : [ERROR: Cannot parse CF in

[rrd-users] Re: Can I optimise this ?

2006-08-04 Thread Simon Hobson
Tobias Oetiker wrote: Make sure you use the latest edition of rrdtool, chances are that some things got fixed that will make this better. eg loading several values from the same file ... I'm using the latest I can get a package for, I never did manage to compile the source. I see Debian

[rrd-users] Re: Simple RRDtool graph

2006-07-27 Thread Simon Hobson
Guyon Morée wrote: I'm having trouble getting my head around RRDtool and all the examples/tutorials I find try to do something else that I'm trying to do. It's quite simple: i have a bunch of time:value data points like this: 1153912440:31 1153912447:30 1153912452:26 1153912460:28 I want to

[rrd-users] Logging IP traffic without routing it ?

2006-07-24 Thread Simon Hobson
I have a linux based router at one site that is logging traffic with iptables accounting rules and graphing it with rrd. Now the boss wants me to duplicate that on our main network connection. However, we want to do it passively - ie set an interface in promiscuous mode and watch the packets

[rrd-users] Re: can rrdcgi generate just a image? (no html)

2006-07-19 Thread Simon Hobson
Jo Rhett wrote: Okay, so I need to have an external web site reference an image created by RRD. But just the image. In short img src=http://my.rrd.server/path/show-me.cgi Based on my reading of the manpage, I want the output to standard out. This actually works properly like so:

[rrd-users] Can't compile 1.2.13

2006-07-10 Thread Simon Hobson
I'm trying to compile rrdtool 1.2.13 but hitting a problem ... I cd to the source directory and type : ./configure --prefix=/usr/local/rrdtool-1.2.13 make make install It fails with : Audit Compilation Environment checking for gcc... gcc checking for C compiler default output file name...

[rrd-users] Recursive use of rrdcgi ?

2006-07-06 Thread Simon Hobson
I had a google about, and found a some messages on the list from a few years ago - these indicated that rrdcgi isn't recursive. What I want to do is something like : RRD::SETVAR datain globalin RRD::SETVAR dataout globalout RRD::SETVAR timescale 24h RRD::INCLUDE graph-single.inc RRD::SETVAR

[rrd-users] Re: Recursive use of rrdcgi ?

2006-07-06 Thread Simon Hobson
Tobias Oetiker wrote: this should work fine ... Hmm, I must have been doing something wrong earlier because I couldn't get any variable substitutions to work - but that is working now. I think I must just be having an 'off day' - it's darned hot in the office this week :-( I am still stuck

<    2   3   4   5   6   7