Questions tagged [rrdtool]

RRDtool (acronym for round-robin database tool) aims to handle time-series data like network bandwidth, temperatures, CPU load etc.

RRDtool (acronym for round-robin database tool) aims to handle time-series data like network bandwidth, temperatures, CPU load etc. This time series data is then automatically compressed based on the RRA (acronym for round-robin archive) defined at the time of creation. This allows the data to be retrieved at a high rate, but the storage footprint remains the same over time. The downside to this is granularity is lost over time. See the RRDtool documentation for more details.

http://oss.oetiker.ch/rrdtool/doc/index.en.html

http://en.wikipedia.org/wiki/RRDtool

417 questions
0
votes
1 answer

Mailgraph.cgi script error

I have installed rrdtool 1.4.7 and on testing with http://localhost/mailgraph.cgi.I get the error below: Premature end of script headers: mailgraph.cgi, referer: http://localhost/mailgraph.cgi. How can i get over this.Thanx in advance
0
votes
1 answer

average hourly traffic over the year

After hours of searching the web (including SO), I am requesting advice from the community. RRD seems to be the right tool for this, but I could not get a straight answer until now. My question is : Is it possible to get RRD output a graph for the…
Justin T.
  • 3,643
  • 1
  • 22
  • 43
0
votes
2 answers

rrdtool Holt-Winters feature

I mainly write because I'm using the rrdtool holt-winters feature, but sadly it does not work as I would, starting I'll write for you the rrd file command line creation: `/usr/bin/rrdtool create /home/spread/httphw/rrd/httpr.rrd --start $_[7]-60…
arrrrgv
  • 141
  • 1
  • 4
0
votes
1 answer

RRDTool for php in Windows

I want to use the rrdtool extension for php to create graphs in windows. I need an php_rrdtools.dll or something like that. Can anyone help me to create the php extensions to work with rrdtools or tell me where i can download such extensions ?
João Nunes
  • 711
  • 4
  • 11
  • 22
0
votes
2 answers

VDEF core dumps?

I have an rrd that contains a series of ping roundtrip times collected at one minute intervals: DEF:roundtrip=$TARGET.rrd:rtt:LAST when a try to extract the maximum value of this series in a VDEF, rrdgraph dumps…
wsanders
  • 300
  • 5
  • 9
0
votes
2 answers

PHP: Group timestamps in days, weeks, months, years

In my application I am using RRD, but in several specific scenarios I want to fetch and group data (by days, weeks, months, years based on timestamps). Here is an example to understand me better: We have array with two data sources (all, active). In…
Davosss
  • 61
  • 1
  • 7
0
votes
0 answers

Cacti change template to print half of current value

How to create a graph template in cacti that would show the graph with half of their values (divided by 2). I.e: Current, Average, Maximum I m currently using the default Interface bit/sec 64-bit counters. With regards, Jan
janbegjan
  • 1
  • 1
0
votes
0 answers

RRDtool create compute data source difference betweeen 2 last values

I have code to get bandwidth: counter = psutil.net_io_counters(pernic=True, nowrap=True).bytes_received while True: bytes_received = psutil.net_io_counters(pernic=True, nowrap=True).bytes_received result = counter - bytes_received …
antl
  • 3
  • 2
0
votes
1 answer

RRD database does not store historical data

I don't think it's a bug but it's tough to find the correct answer on the Internet to understand what's happening. So I create an RRD(1minute step) database with 3 RRAs: RRA:AVERAGE:0.5:1m:1d RRA:AVERAGE:0.5:1h:6M RRA:AVERAGE:0.5:1d:1y So I assume…
0
votes
1 answer

RRD Database have no Data after 3 days (everything is truncated)

i have create a rrd databasew (under php) with this code: $opts = array( "--step", "60", "DS:wattmin:GAUGE:300:0:8000", "RRA:AVERAGE:0.5:1:2160", "RRA:AVERAGE:0.5:5:2016", "RRA:AVERAGE:0.5:15:2880", "RRA:AVERAGE:0.5:60:8760", …
user1912399
  • 7
  • 2
  • 9
0
votes
1 answer

rrdtool: Display 2 values with correct size on y-axis

I want to display 2 values on the Y axis correctly with rrdtool. The first value has a range of 0-70, the second from 0-800. The scale of values should be appropriate. With --right-axis=0.1:0 I can adjust the naming on the right side, but the value…
Sven Kavon
  • 11
  • 3
0
votes
1 answer

How to read rrd files using rrdtool

I need to get specific data field from rrdtool. Here I have xml output of my rrdfile. gauge1 COUNTER 600 0.0000000000e+00
Shehan
  • 417
  • 2
  • 11
0
votes
1 answer

How to convert a directory of XML files in to RRD Files

I need to restore rrd files from my exisiting xml files. So I have used following simple bash script. #!/bin/bash for i in /home/dump_xml/*.xml; do rrdtool restore $i /home/rrd_new/"${i%.xml}".rrd; done I could not execute following script due to…
Shehan
  • 417
  • 2
  • 11
0
votes
1 answer

How to export many rrd files to xml files

I have set of old rrd files, so I need to convert them to xml files and again to rrd files in a new server. In order to create xml files from whole directory, I have used following simple bash script. #!/bin/bash cd /varcacti/rra for i in…
Shehan
  • 417
  • 2
  • 11
0
votes
1 answer

RRDtool cannot find in python

I have a remote server which have installed RHEL 5 and Python2. OS Version: Red Hat Enterprise Linux Server release 5 (Tikanga) Python Version: Python 2.4.3 I could find the rrdtool have installed on following path as…
Shehan
  • 417
  • 2
  • 11