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
3
votes
1 answer

PHP output to img tag

I have this script that outputs the image to command line and if I redirect it to a file.png I can see correctly the graph, but if I try to do the same from the browser I can't see it on the fly. I tried to split the script in 2 parts too, but don't…
Radu Radu
  • 177
  • 16
3
votes
2 answers

RRD basics and more!

I'm trying to use rrdtool to monitor Access Points and what I'd like is to have separate rrd file for each access point, which is something I'm not sure how to do. Anyway if I can do that then for each site I'd be able to get a graph from different…
opensourcegeek
  • 5,552
  • 7
  • 43
  • 64
3
votes
0 answers

Loading PHP RRDTool extension not showing PHPinfo

I downloaded 5.5 Thread Safe (TS) x64 from http://pecl.php.net/package/rrd/1.1.3/windows Because I'm running Wamp 64bits PHP version 5.5.12 TS enabled from that folder I only took php_rrd.dll file and placed it on ext/ and loaded the extension on…
Donnie Darko
  • 509
  • 3
  • 15
3
votes
1 answer

Python path define / Python 2.7.3

I am trying to define a simple python path, but I always get an error. Can someone please tell me how to set the correct path. I am working on a Raspberry Pi. Here is the code that doesn't work: import re, os, rrdtool, time, sys # define pathes to…
User01
  • 31
  • 1
3
votes
1 answer

rrdtool: Compute 95th percentile of data within a sliding window

I'm using rrdtool to graph data about CPU usage as produced and stored by Munin. Munin (at least for us) stores each data-series in an .rrd file with 12 RRAs: "MIN", "MAX", and "AVERAGE" over each of the four periods "last 2d in 5m intervals", "last…
Quuxplusone
  • 23,928
  • 8
  • 94
  • 159
3
votes
2 answers

Converting str to dict in python

I got this from a process's output using subprocess.Popen() : { about: 'RRDtool xport JSON output', meta: { start: 1401778440, step: 60, end: 1401778440, legend: [ 'rta_MIN', 'rta_MAX', 'rta_AVERAGE' …
dotslash
  • 2,041
  • 2
  • 16
  • 15
3
votes
1 answer

Munin: What does the 'm' mean in the y-axis of nginx requests?

I have the following munin-generated graph of nginx requests: What does the 'm' in the y-axis mean? The nginx munin plugin at /usr/share/munin/plugins/nginx_request is extracting: if ($response->content =~ /^\s+(\d+)\s+(\d+)\s+(\d+)/m) { print…
Infofinity
  • 387
  • 3
  • 14
3
votes
1 answer

python-rrdtool, how to create graphs in UTC time zone

I am using python-rrdtool to generate graphs from rrd files, it is by default generating graphs in CST time zone. How can i change the default time zone to UTC. I found that setting the TZ env variable can do the trick. How can i do this using…
Ramesh Raithatha
  • 544
  • 1
  • 7
  • 18
3
votes
1 answer

rrd4j archive type

I can't manage to create an archive with the correct type. What am I missing? My example is very similar to the official example on https://code.google.com/p/rrd4j/wiki/Tutorial RRD creation: rrdDef.setStartTime(L -…
Jakabfi Attila
  • 367
  • 3
  • 16
3
votes
2 answers

PERL RRDTTOL: graph subroutine with conditional legend

Stupid thing I can't manage... in Perl, with RRDTool (rrds module), I create a common subroutine to create the graphs for the different time period (1 day, 1 week,...). I want to use some sub argument to also display optional legend. With the…
ThomasP
  • 93
  • 10
2
votes
1 answer

How can I query a single value, at a certain time, from rrdtool?

It seems that rrdtool comes with functionality to query a range of values at a certain resolution. But can I simply query the value for a certain point in time? How?
Ztyx
  • 14,100
  • 15
  • 78
  • 114
2
votes
1 answer

How to make RRDtool use commas instead of dots as decimal separators in graphs

I'm using RRDtool through a Perl script (RRDs) to visualize temperature readings. As I want everything in the graph to be shown in Swedish (weekdays etc), I set the locale to sv_SE.UTF-8 in my Perl script with: use POSIX…
John V.
  • 45
  • 5
2
votes
1 answer

Export/Import RRDtool database with differents RRA

I have a RRDTool database that has data inside and I want to be able to import this data into another RRDTool database that differs only by the RRAs. I want to increase the precision of historical data, so I tried how to grow the RRA via rrdresize…
Steve Schnepp
  • 4,620
  • 5
  • 39
  • 54
2
votes
1 answer

rrdtool graph slightly different graph

First I will say that even after setting up a system where I register the each minute total of http responses (200, 301, 302, etc) and I'm able to know how is going on the performance speaking about users, it happens to me that my boss is getting me…
unkown
  • 31
  • 4
2
votes
4 answers

Unable to import RRDtool in Python

I am trying to import RRDtool into Python as I want to access an RRD database using Python, but when I am trying to import rrdtool I am getting the following error. Python 2.6.5 (r265:79063, Apr 16 2010, 13:57:41) [GCC 4.4.3] on linux2 Type "help",…
Hunt
  • 8,215
  • 28
  • 116
  • 256
1 2
3
27 28