[rrd-users] Re: Displayed data in rrdgraph is not the same as the input data
Judith L. Pancho judith.pancho-at-latitudebroadband.com |Lists| wrote: I'm using rrdtool to monitor the network traffic. But there seems to be a problem. The input data is the throughput in kbps. I converted this to bps (by multiplying 1000) and entered the data in rrdtable. Then I used rrdgraph to display the CURRENT throughput. I expect that the CURRENT throughput would be the same as the input data but the CURRENT throughput (in kbps) displayed in rrdgraph is different from the input data. Your help would be greatly appreciated. Hi Judith, If you update your rrd file exactly on step boundaries, the output data will be exactly your input data. So if you want your output data exacly, make sure your timestamp on update is exactly e.g. 12:00:00 and not 12:00:02. When the update timestamp is slightly off, rrdtool compensates the input value for that, because internally it doesn't store your update time. So, in effect, rrdtool compensates for my sloppy system where cron jobs don't run EXACTLY on time. That is probably why you don't see your input values exactly on output. Peter -- Peter Valdemar Mørch http://www.morch.com -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/rrd-users WebAdminhttp://lists.ee.ethz.ch/lsg2.cgi
[rrd-users] Fw: Changing default font on a Windows system
Further to this... I have a feeling this may be related to the hideous question of compiling. Is the config.h file read every time the program is executed, or is it only read during compilation? If the latter, I'm stuck... Bear in mind that as a Windows type, I'm not used to compiling programs before use - wouldn't have the first clue how to. This has always been a source of great confusion with open source stuff, as so much of it (great software nonetheless) assumes that you're a command line C programmer workingon Unix... 8-( Can anyone help me? Thanks, Ian _ Ian K Gray OEL IS - European Infrastructure Support Tel: +44 1236 502661 Mob: +44 7881 518854 - Forwarded by Ian Gray/OEL/OKI_DATA_CORP/OKI_ELECTRIC/US on 22/01/2007 09:42 - Ian Gray/OEL/OKI_DATA_CORP/OKI_ELECTRIC/US 19/01/2007 18:37 To rrd-users rrd-users@list.ee.ethz.ch cc Subject Changing default font on a Windows system Hi, I'm trying to change the default font on a Windows RRD system. I go to c:\rrdtools\rrdtool\confignt\config.h, and change the line #define RRD_DEFAULT_FONT cour.ttf to #define RRD_DEFAULT_FONT c:\winnt\fonts\verdana.ttf The result? Bugger all. Fonts still appear in Courier. Have I missed a step? Do I need to do something with that config.h file after I've changed it? I can change the font successfully for an individual graph, but not the default. Using v1.2rc6. What am I doing wrong... TIA, Ian Ian K. Gray - sent via Blackberry 07881 518854 -- 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: How are --start and --end supposed to behave?
Tobias Oetiker tobi-at-oetiker.ch |Lists| wrote: Returning a row after $end_time is a new issue and should probably be seen as a bug. note that the design goal of fetch is to return enough data to 'covert' at least the interval covered with start-end, if a little more data is returned there is no harm done ... Of course, compared to the rest of life, there is no harm done whatever happens with --start and --end! :D Tobi, it seems you disagree with Alex that the current behaviour is buggy. If the two of you disagree, well no wonder I'm confused! If there is some reason I don't understand that you'd like the freedom to change this behaviour, and therefore would prefer to leave it undocumented? I don't mind submitting a .pod patch e.g. to doc/rrdfetch.pod documenting the current behaviour, if that is what we should stick with. Something along the lines of Alex's examples. For my script to break for unpredictable and undocumented reasons - well that *is* some small harm to me, because my script needs the data from exactly the N last good samples, not N-1 or N+1. And until I discovered the '+1' trick I didn't know how to do that. Would such a documentation patch be considered? Peter -- Peter Valdemar Mørch http://www.morch.com -- 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: Fw: Changing default font on a Windows system
Hi Peter, Aha! Thanks for that - at least I kn= ow why it's not working now! I can use the --font option (and have done successfully), but as I have about500 graphs I don't *really* want to have to (a) modify each of those config lines, and (b) add that much extra data to the batch file that runs. That, after all, is the beauty of a default! Is there any way of getting either a simple config file that is read dynamically, or else having someone point me to a dummies guide to compilingRRDTool etc for Windows? Thanks! Ian =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F Ian K Gray OEL IS - European Infrastructure Support Tel: +44 1236 502661 Mob: +44 7881 518854 Peter Valdemar M=F8rc= h [EMAIL PROTECTED] 22/01/2007 09:56 To [EMAIL PROTECTED],= rrd-users@list.ee.ethz.ch cc Subject Re: [rrd-users] Fw: Cha= nging default font on a Windows system Hi Ian, .h files are *only* read during compilation ( or your system would surely slow to a crawl! :D ) What's wrong with the --font option to rrdgraph? http://oss.oetiker.ch/rrdtool/doc/rrdgraph.en.html mentions: --font DEFAULT:0:/usr/lib/fonts/times.ttf Peter ian.gray-at-okieurope.com |Lists| wrote: Further to this... I have a feeling this may be related to the hideous= question of compiling. Is the config.h file read every time the program is executed, or is it only read during compilation? If the latter, I'm stuck... Bear in mind that as a Windows type, I'm not used to compiling program= s before use - wouldn't have the first clue how to. This has always been a source of great confusion with open source stuff, as so much of it (great software nonetheless) assumes that you're a command line C programmer workingon Unix... 8-( Can anyone help me? Thanks, Ian =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F Ian K Gray OEL IS - European Infrastructure Support Tel: +44 1236 502661 Mob: +44 7881 518854 - Forwarded by Ian Gray/OEL/OKI=5FDATA=5FCORP/OKI=5FELECTRIC/US on= 22/01/2007 09:42 - Ian Gray/OEL/OKI=5FDATA=5FCORP/OKI=5FELECTRIC/US 19/01/2007 18:37 To rrd-users [EMAIL PROTECTED] h cc Subject Changing default font on a Windows system Hi, I'm trying to change the default font on a Windows RRD system. I go to c:\rrdtools\rrdtool\confignt\config.h, and change the line #define RRD=5FDEFAULT=5FFONT cour.tt= f to #define RRD=5FDEFAULT=5FFONT c:\winn= t\fonts\verdana.ttf The result? Bugger all. Fonts still appear in Courier. Have I missed a step? Do I need to do something with that config.h file after I've changed it? I can change the font successfully for an individual graph, but not the default. Using v1.2rc6. What am I doing wrong... TIA, Ian Ian K. Gray - sent via Blackberry 07881 518854 -- Unsubscribe mailto:[EMAIL PROTECTED] ribe Helpmailto:[EMAIL PROTECTED] ch?subject=3Dhelp Archive http://lists.ee.ethz.ch/rrd-users WebAdminhttp://lists.ee.ethz.ch/lsg2.cgi -- Peter Valdemar M=F8rch http://www.morch.com -- 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: Fw: Changing default font on a Windows system
Hi Ian, .h files are *only* read during compilation ( or your system would surely slow to a crawl! :D ) What's wrong with the --font option to rrdgraph? http://oss.oetiker.ch/rrdtool/doc/rrdgraph.en.html mentions: --font DEFAULT:0:/usr/lib/fonts/times.ttf Peter -- Peter Valdemar Mørch http://www.morch.com -- 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: Fw: Changing default font on a Windows system
Further to this... I have a feeling this may be related to the hideous question of compiling. I'm trying to change the default font on a Windows RRD system. I go to c:\rrdtools\rrdtool\confignt\config.h, and change the line #define RRD_DEFAULT_FONT cour.ttf to #define RRD_DEFAULT_FONT c:\winnt\fonts\verdana.ttf Did you try c:\\winnt\\fonts\\verdana.ttf or c:/winnt/fonts/verdana.ttf ? Gabor -- 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: How are --start and --end supposed to behave?
Hi Peter, what Alex says about time stamps I agree with (I think), so if you see data with a time stamp then this means that it is valid for the interval ending at that point in time so if the time stamp says 11:00 then the data associated with it is valid between 10:55 and 11:00 (assuming a 300 second step) As for the amount of data fetch returns, the intended behavior is for it to return enough data to 'cover' the requested time interval at a resolution equal or better than requested ... if you have a suggestion for a documentation change to better convey this intention, please send it my way. cheers Tobi -- Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten http://it.oetiker.ch [EMAIL PROTECTED] ++41 62 213 9902 -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/rrd-users WebAdminhttp://lists.ee.ethz.ch/lsg2.cgi
[rrd-users] rrdtool 1.2.17 is out
Hi Users, It seems that the stricter parsing for string formatting escapes I introduced in 1.2.16 has interesting side effects. Until now, any \X sequence where X was not one of the documented escapes was treated as \l this lead some people to believe that \n was a valid sequence. There was even contributed documentation in the RRDtool distro suggesting as much. I have therefor release 1.2.17 with the sole change that \n is now a valid and documented alias to \l. http://oss.oetiker.ch/rrdtool/pub cheers tobi -- Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten http://it.oetiker.ch [EMAIL PROTECTED] ++41 62 213 9902 -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/rrd-users WebAdminhttp://lists.ee.ethz.ch/lsg2.cgi
[rrd-users] problem with 1.2.16
hi, yesterday i updated to 1.2.16 (last version was 1.2.15) - following script doesn't work with the new version: #!/bin/sh . /data/rrd/etc/graph.conf #FILE=$RRDDIR/temp.rrd echo Content-Type: image/png; echo ; # time starttime $1 # graph $RRDTOOL graph - \ -t Temp -v °C \ --start=$TIME \ --end=now \ --height=$HEIGHT \ --width=$WIDTH \ -c $BACK \ -c $SHADEA \ -c $SHADEB \ -c $FONT \ -c $CANVAS \ -c $GRID \ -c $MGRID \ -c $FRAME \ -c $ARROW \ DEF:sda=$RRDDIR/hddtemp-8-0.rrd:value:AVERAGE \ DEF:sdb=$RRDDIR/hddtemp-8-16.rrd:value:AVERAGE \ LINE1:sda#80:sda \ GPRINT:sda:LAST:Last\: %2.0lf °C \ GPRINT:sda:MAX: Max\: %2.0lf °C \ GPRINT:sda:MIN: Min\: %2.0lf °C \ GPRINT:sda:AVERAGE: Avg\: %2.0lf °C\n \ LINE1:sdb#00FF00:sdb \ GPRINT:sdb:LAST:Last\: %2.0lf °C \ GPRINT:sdb:MAX: Max\: %2.0lf °C \ GPRINT:sdb:MIN: Min\: %2.0lf °C \ GPRINT:sdb:AVERAGE: Avg\: %2.0lf °C --- the error is: --- Content-Type: image/png ERROR: Unknown control code at the end of ' Avg: 24 °C\n' -- any ideas why my script doesn't work with 1.2.16 - it worked with 1.2.15 i have a couple of scripts that doesn't work with the new version thanks for any suggestions greets --aleex -- xx x Alexander Krogloth / [EMAIL PROTECTED] / http://www.krogloth.de x xx -- Attached file removed by Ecartis and put at URL below -- -- Type: application/pgp-signature -- Desc: Digital signature -- Size: 190 bytes -- URL : http://lists.ee.ethz.ch/p/18-signature.asc -- 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 1.2.16
On Mon, Jan 22, 2007 at 01:51:31PM +0100, Alexander Krogloth wrote: Hi. hi, yesterday i updated to 1.2.16 (last version was 1.2.15) - following script doesn't work with the new version: [... snipp ...] the error is: --- Content-Type: image/png ERROR: Unknown control code at the end of ' Avg: 24 ?C\n' -- any ideas why my script doesn't work with 1.2.16 - it worked with 1.2.15 i have a couple of scripts that doesn't work with the new version Try to update to 1.2.17. From the CHANGES file of 1.2.17: 2007-01-22 10:28 oetiker * doc/rrdgraph_graph.pod, src/rrd_graph.c: introduced \n as an alias for \l since people seem to be using it despite the documentation not talking about this ... so now it is official and I bet there will soon be people asking why this was only working at the end of a line. -- tobi HTH, Andreas. -- Dipl.-Ing. Andreas Maus science+computing ag System Administration Hagellocher Weg 73 mail: [EMAIL PROTECTED] 72070 Tuebingen, Germany tel.: +49 7071 9457 456 www.science-computing.de -- Binary/unsupported file stripped by Ecartis -- -- Err : No filename to use for decode, file stripped. -- Type: application/pgp-signature -- 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 1.2.16
hi, Try to update to 1.2.17. thanks, i haven't read the mail with the new version greets --aleex -- xx x Alexander Krogloth / [EMAIL PROTECTED] / http://www.krogloth.de x xx -- Attached file removed by Ecartis and put at URL below -- -- Type: application/pgp-signature -- Desc: Digital signature -- Size: 190 bytes -- URL : http://lists.ee.ethz.ch/p/19-signature.asc -- 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: Displayed data in rrdgraph is not the same as the input data
Peter Valdemar Mørch wrote: Judith L. Pancho judith.pancho-at-latitudebroadband.com |Lists| wrote: I'm using rrdtool to monitor the network traffic. ... Your help would be greatly appreciated. Hi Judith, If you update your rrd file exactly on step boundaries, the output data will be exactly your input data. So if you want your output data exacly, make sure your timestamp on update is exactly e.g. 12:00:00 and not 12:00:02. When the update timestamp is slightly off, rrdtool compensates the input value for that, because internally it doesn't store your update time. So, in effect, rrdtool compensates for my sloppy system where cron jobs don't run EXACTLY on time. That is probably why you don't see your input values exactly on output. Peter Thanks Guy for the clarification that helps me a lot... Regards, ~Judith -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/rrd-users WebAdminhttp://lists.ee.ethz.ch/lsg2.cgi
[rrd-users] What is the best way to consolidate RRD data into one average value?
Hi Guys, I have quite a few separate RRD files that are holding CPU percentage utilization numbers that I want to consolidate into one value. I know how to graph them all separately, but how do I present them as one average value? I guess I can use rrdxport and then add them up using perl, but this seems clumsy and it must have been done before. Is this already part of RRD? I already scoured the man pages and the archives, but there is quite possibly something that I have missed. Thanks, Jim -- 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: What is the best way to consolidate RRD data into one average value?
On Mon, Jan 22, 2007 at 06:22:55PM -0800, Jim Ausman wrote: Hi Guys, I have quite a few separate RRD files that are holding CPU percentage utilization numbers that I want to consolidate into one value. I know how to graph them all separately, but how do I present them as one average value? I guess I can use rrdxport and then add them up using perl, but this seems clumsy and it must have been done before. Is this already part of RRD? I already scoured the man pages and the archives, but there is quite possibly something that I have missed. Am I missing something, or can you just add the values up using RRDtool's standard 'CDEF' mechanisms ? CDEF is discussed in the rrd graph documentation, and in more detail in the cdeftutorial. HTH -- Alex van den Bogaerdt http://www.vandenbogaerdt.nl/rrdtool/ -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/rrd-users WebAdminhttp://lists.ee.ethz.ch/lsg2.cgi