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
1
vote
0 answers

RRDTool archives storing only NaN

I have a RRDB on raspberry Pi. The rrdb was created using //RRA1: Archive point is saved every 5min, archive is kept for 1hour back. //RRA2-4: Archive point is saved every 1hour, archive is kept for 30day back. //RRA5: Archive point is saved every…
Adarsha
  • 2,267
  • 22
  • 29
1
vote
1 answer

rrdtool - amend a HWPREDICT rra

I am using rrdtool to collect and process some system metrics. I have been experimenting with the rather marvelous HWPREDICT feature, that allow you to do Holt-Winters seasonal forecasting for aberration detection. However I've now hit a problem,…
Sobrique
  • 52,974
  • 7
  • 60
  • 101
1
vote
1 answer

How to view RRD graph data

What I am trying to do is get alerts when my bandwidth goes above a limit. I am using Cacti to graph my bandwidth usage, but I currently get no alerts if my usage goes up. So I think the best way to do this would be to write a script to check the…
user4990003
1
vote
1 answer

How can I add RRA's to an existing RRD?

I am using RRD for monitoring. In the current RRD files are not all archives present that I want to use in the future. How do I add RRA's to an existing RRD? I'm writing a Python (1.4.7) script using rrdpython. I only find the option for dumping it…
Iris1100
  • 41
  • 3
1
vote
1 answer

RRDTOOL one second logging, values missing

I spent more than two months with RRDTOOL to find out how to store and visualize data on graph. I'm very close now to my goal, but for some reason I don't understand why it is happening that some data are considered to be NaN in my case. I counting…
Jaki
  • 55
  • 1
  • 5
1
vote
1 answer

How to use RRDTool/Cacti to count "user activities" in apache access logs?

Goal I wish to use RRDTool to count logical "user activity" from our web application's apache/tomcat access logs. Specifically we want to count, for a period, occurrences of several url patterns. Example We have two applications (call them 'foo'…
user331465
  • 2,984
  • 13
  • 47
  • 77
1
vote
1 answer

Display warning and critical with RRDTool

Is it possible to display the warning and critical treshold for example with a HLINE in RRDTool, without using PNP4Nagios? I only found examples using PNP4Nagios to access the warning and critical values saved, but I am calling RRDTool from the…
Naturjoghurt
  • 541
  • 6
  • 21
1
vote
1 answer

RRD DB fake value generator

I want to generate fake values in RRD DB for a period of 1 month and with 5 seconds as a frequency for data collection. Is there any tool which would fill RRD DB with fake data for given time duration. I Googled a lot but did not find any such…
openstk
  • 137
  • 9
1
vote
1 answer

How to make rrdtool start over from some arbitrary point in time?

Say, I was writing values to a database, then stopped doing so, and now I want to continue starting from current point in time. As far as I can see, if I fail to write something within heartbeat seconds, it stops writing to the…
x-yuri
  • 16,722
  • 15
  • 114
  • 161
1
vote
4 answers

Why is Cacti showing an empty graph, even though the rrd file is created?

I have developed my own SNMP service, and i want to plot a graph of an OID provided. So, i have created a graph in Cacti. -) It is showing device up. -) It is creating rrd file. (RRDTool says OK). -) Showing the graph, but it's empty. But when I…
Divya mohan Singh
  • 485
  • 2
  • 7
  • 18
1
vote
1 answer

graphite not displaying rrd files in the ui

After Graphite Installation the follwoing folder structure is being created in the /opt/graphite directory Under the rrd folder location, i have copied all the rrd files bash # ls -l /opt/graphite/storage/rrd/BulkData/device01-test/ and the…
anish
  • 6,884
  • 13
  • 74
  • 140
1
vote
1 answer

ld unable to find librrd under Raspbian

I try to use the rrdtools library in a C program under Raspbian (The Debian variant for the Raspberry Pi). The linker keeps complaining that it can not find the rrd library: tos@pi ~/work/reader $ gcc -o reader -lwiringPi -lrrd *.c …
Thomas Stets
  • 3,015
  • 4
  • 17
  • 29
1
vote
2 answers

RRDtool and left horizontal scale formatting

Im learning RRDtool. I created a graph: #!/bin/bash rrdtool graph /home/pi/rrd/test.png \ --end now --start now-6000s --width 500 --height 400 \ DEF:ds0a=/home/pi/rrd/temperature.rrd:temperature:AVERAGE \ AREA:ds0a#0000FF:"Temperature…
Kamil
  • 13,363
  • 24
  • 88
  • 183
1
vote
1 answer

Getting average value for a period with RRDTool

I am using RRDTool to fetch data from RRD DB's, but have problem to get average/max number for a period (e.g. 12 hours). I want only one number representins the average/max of the period as GPRINT does in the graph function.
rs.
  • 81
  • 1
  • 8
1
vote
1 answer

rrdtool print (not graph) on same lines?

Is there a way to PRINT: everything on 1 line? Using: PRINT:e:LAST:"Current\:%8.2lf" \ PRINT:e:AVERAGE:"Avg\:%8.2lf" \ PRINT:e:MAX:"Max\:%8.2lf \n" \ I get output that looks like: Current: 32.56 Avg: 44.41 Max: 131.90 \n Current: 28.15 Avg:…
Douglas
  • 379
  • 4
  • 16