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

Trouble updating an RRDtool database

I created a database with the following syntax. rrdtool create mydatabase.rrd -s 60 \ DS:users:COUNTER:600:0:U \ DS:activeusers:GAUGE:600:0:U \ RRA:AVERAGE:0.5:360:576 \ RRA:AVERAGE:0.5:8640:672 \ RRA:AVERAGE:0.5:259200:732…
InitHello
  • 13
  • 6
1
vote
0 answers

./graph_rules.sh: line 86: 2: unbound variable - Can't make this work

I'm a totaly begginer when it comes with bash scripting, I'm still learning the first steps. Now trying to export an graph rule o cacti with this script, but for some reason it gives me a variable error.. Here is the code source:…
Jhonatan M
  • 31
  • 2
1
vote
2 answers

Cannot create temporary file at /usr/local/share/perl/5.22.1/RRDTool/OO.pm

I was trying to create RRD database for SNMP queries and as code shown below... Code : # Constructor my $rrd = RRDTool::OO->new(file => "myrrdfile.rrd" ); # Create a round-robin database # one-second intervals $rrd->create( step =>…
Nayana
  • 11
  • 1
1
vote
1 answer

RRD to measure CPU and Memory usage

I would like to measure CPU and Memory usages for a server during continuous integration, And I would represent them into several graphs. I use Round Robin Database files (*.rrd) to do it in java with RRD4J library. I don't know how to define Round…
Fabien
  • 105
  • 9
1
vote
0 answers

One hour graphs generated one hour before UK BST -> GMT show 'nan'

During the last UK BST/GMT changeover I observed an odd thing happen on a production box where the 1 hour graphs generated by rrdtool where showing -nan and querying the rrd directly also returned the same which then lead to a load of alerts being…
user3788685
  • 2,943
  • 5
  • 26
  • 45
1
vote
1 answer

rrdtool help for simple step graph

I'm trying to trace the status of a line, I have two values, the signal strength 0-5 and the connection status (connected = 3, disconnected = 1), the values are read every minute and I want to keep track of a year. Currently when there is a change…
Alex
  • 3,264
  • 1
  • 25
  • 40
1
vote
1 answer

How to make two lines appear on the same height in RRDtool?

I'm using RRDtool to greate graphs. Now, this command: rrdtool graph temp.png \ -w 600 -h 200 \ --zoom 1 \ --title "last 24 hours temperature" \ --vertical-label "temperature (°C)" \ --alt-autoscale \ --alt-y-grid \ …
polemon
  • 4,722
  • 3
  • 37
  • 48
1
vote
2 answers

Round Robin Database in Python 3.6+

I want to build a Round Robin Database in Python for some time series data. I've looked at several Python modules (PyRRD, py-rrdtool, python-rrdtool, rrdtool), but as far as I can see, none of them offer support for Python 3.6+. Any suggestions as…
C.Acarbay
  • 424
  • 5
  • 17
1
vote
1 answer

Is the rrdtool RRA XFF value useless if RRA step is 1?

According to rrdcreate manual, the RRA definition has the following syntax: RRA:{AVERAGE | MIN | MAX | LAST}:xff:steps:rows XFF(xfiles factor) defines what part of a consolidation interval may be made up from UNKNOWN data while the consolidated…
Martin
  • 957
  • 7
  • 25
  • 38
1
vote
0 answers

How to get MIN MAX used nagios perf data with rrdtool command?

I need to get the rrdtool MIN and MAX perf data from all the service. Unable to use pnp4nagios and xport for all the services. How can I get the MIN and MAX perf data with rrdtool fetch command? Used below command give many lines rrdtool fetch…
1
vote
2 answers

Ganglia Metric Value Decay To Zero

I am sending metrics to Ganglia using Gmetric once every 5 minutes. But if the cron task that is sending the metrics is not working, I would expect the metric value on the Ganglia graph to go to zero, whereas it stays at its last updated value. Is…
daniyalzade
  • 981
  • 3
  • 8
  • 19
1
vote
1 answer

RRDTOOL: How to sum multiple file using CDEF for MAX, MIN and LAST ouptut

I have 3 rrd file (File1.rrd, File2.rdd and File3.rrd). I am getting MAX, MIN and LAST values from three files. To illustrate more on this, File1.rrd have 3 output (max, min & current) similarly File2.rrd and File3.rrd will have 3 each total (9)…
1
vote
1 answer

Python RRDTool update error Function update_pdp_prep, case DST_GAUGE - Cannot convert '' to float

def updateRRD(self,fname,value): PATH_TO_RRD_FILES = "/home/nms/SNMP-DATA/RRD-DB/" rrdtool.update(str(PATH_TO_RRD_FILES)+str(fname)+".rrd","N:"+str(value)) Above is my rrdtool update function that takes value returned by snmp…
Varun Singh
  • 444
  • 6
  • 21
1
vote
0 answers

proc_open not working when pass command as variable

I am trying to execute command using php . when I pass command into proc_open function directly it can be executed fine like this $descriptorspec = array( 0 => array("pipe", "r"), 1 => array("pipe", "w"), 2 => array("pipe",…
Muhammad
  • 101
  • 1
  • 11
1
vote
0 answers

Cacti - Poller stopped after data source template changed - Old but gold

I'm new here and this is my first post :) I will try to explain, sorry ahead about my grammar We moved to GPDR few months ago, and my job is to fix all the graph which Stopped working, we notice it was due to a change in data-source, in this case it…
Xantuz
  • 11
  • 2