rrdtool

Concurrent Access to RRD (RRDTool)

I am using RRDTool (http://oss.oetiker.ch/rrdtool/) as a graphing back-end for storing performance metrics. This is done via the RRDTool CLI from a Python script. My problem is that the script is multithreaded and each thread updates the RRD at a pretty rapid pace. Sometimes an update fails because one thread is accessing the RRD file...

Creating a new rrd database based on an existing one

I have some old rrdtool databases, for which the exact creation recipe has long been since lost. I need to create a new database with the same characteristics as the current ones. I've dumped a couple of old databases and pored over the contents but I'm not sure how to interpret the metadata. I think it appears in the following stanzas ...

Make recommendations on building (or setting up) an RRD Tool based web app for website monitoring that is simpler than Cacti?

I think Cacti is great except for the fact that it takes hours to configure it. There is a lot that you can do with it but I find it a little overly complicated. A script collecting disk utilization recently broke on me (for no apparent reason), I spent 3 hours and got no where. I would like a tool like Cacti but super easy to setup. I ...

How can I update data with RRDtool?

I am using RRDtool for storing data for displaying graphs. I update the RRD by RRDs::update and this fails when trying to rewrite the information, means update data for a time in the past (e.g. someone moved the system timer back). The error I get is: ERROR: Cannot update /opt/dashboard/rrd/Disk/192.168.120.168_disk_1.rrd with '12280...

Pure PHP rrdtool

hello all, does anyone know a pure-php implementation of rrdtool? I googled this question, but only found answers about interfacing PHP & rrd... ...

rrd tool alternative for high volume

I am interested in knowing if there is any alternative to rrdtool for logging time series data. I am looking at something that can scale for a large number of devices to monitor. From what I read on this subject, rrdtool is I/O bound when you hit it with large amounts of data. Since I envision this to scale to a very large number of dev...

Is there a RRDTool .net equivalent

I need to monitor a lot of data, and i know that RRDTool is a good option, but entire app is c# so ill prefer some Microsoft way or .net port. Is there a .net way of doing the same as RRDTool? ...

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 but it doesn't recompute the added rows. That means I get strange results when graphing as...

Alternatives to rrdtool?

I'm looking for an alternative to the rrdtool It need to be fast, reliable, able to handle large amounts of data and have a Java interface. One possibilty I'm investigating is KDB+ Any other ideas? ...

CDEF Function to find % value in Cacti

I am trying to figure out how to find the % based on two data sources from an RRD graph. Below is the code used to create the graph (generated by Cacti) /usr/bin/rrdtool graph - \ --imgformat=PNG \ --start=1256445701 \ --end=1256532101 \ --title="Message Size" \ --base=1000 \ --height=120 \ --width=500 \ --alt-autoscale-max \ --lower-li...

How to seed RRDtool from file with timestamps?

I have a file with timestamps for hits on a system. How can I feed this into the RRDtool database (or other similar solution), so that I can plot a time graph? ...

Can I use rrdtool with Perl to make graphs from CSV files?

Below is the sample data format in my CSV file. date,<options> YYYY-MM-DD,<values> Every next morning this CSV file has been updated with next date values. Can I use rrdtool to create graphs, and if so how? ...

Store total online users in RRDtool given login/logout, checkin/checkout logs

Given a log file with clear check-in and check-out messages per user, how can I feed this data into RRDtool to track the total users logged in to the site? (At this time, I do not care about unique users, but that would be nice too of course!) I read about the DERIVE data source type. How do I get a hypothetical INTEGRAL type instead? C...

How can I create RRD files in Perl?

I have a separate application printing logs in every 10 seconds. I need to create RRD files from the log files. I need some Perl code to read the log files and create the RRD only without the graphs. I have also gone through the available Perl module in CPAN, i.e. RRD::Simple and RRD::Simple::Examples, but I still need help. ...

Is RRDtool good for monitoring website user actions?

Client wants graphical representation of users online, registrations/logins/logouts graphics etc. Is RRDtool ok for it? ...

How to calculate given time average only

Curretly I am using below CDEF settings in my rrdcgi to show day time i.e. 7AM to 11 PM. Is there any setting to calculate the average of perticular time period only. I need to show the 7 day graphs so the average should be of 7 day, day time (7AM to 11 PM) only. <h3>7 Day Performance</h3> <RRD::GRAPH <RRD::GETVAR PATH>/rrdimg/7...

How can I find long term trends using RRD?

Newbie in rrdtool. I want to look at efforts required to establish a line of best fit on RRD charts so that we can detect long term trends - i.e. value is increasing over time. I have been recently using the Perl module Statistics::LineFit to help establish regression trends. Maybe there is a tool in RRD itself which makes it easier to ...

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. ...

RRDTool - fetching data based on several RRD'S

Is it possible to fetch data by RRDTool based on several RRD DBs, for example getting values which are sum of all values fecthed from each RRD? ...

How can I create PDF output from rrdcgi?

I have created a rrdcgi script to display information about the system performance with graphs. Now I would like to add an option for the users to create PDF on the fly with the details on current page (images and information) and header and footer. I also want the generated PDF files to be saved in some location so that that can be easi...