rrd

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

Tracking/Monitoring sudden trend changes

I track alot of things with RRD, eg, uptime, network throughput, etc. This works well when you can fit all the graphs on a single page, however, once you scale beyond a page it becomes difficult to use graphs to catch issues, you need to look at them to see that there is an issue, and if there is hundreds or thousands of graphs, that obv...

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

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

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

Sum two graphs, when the second RRD file is started only now

I don't know how to explain my problem.... but I have two RRD files: a.rrd b.rrd I'm trying to sum both of the files and STACK them up in the graph. like: my $bla = RRDs::graph "-", "--title","Test", "--imgformat=PNG", "--width=680", "--height=200", "DEF:Default0_=a.rrd:default:AVERAGE", "DEF:Real0_=a.rrd:re...

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 use Perl and RRD to plot ping times?

I'm trying to do my first rrd graph through Perl. I have tried RRD::Simple and rrds and just can't get either one to work. Here's what I have so far: use strict; use RRD::Simple (); # Create an interface object my $rrd = RRD::Simple->new( file => "server.rrd" ); # Put some arbitary data values in the RRD file for the same # 3 data so...

C# Generate MRTG/RRD like Graphs Performance graphs?

I have a database with Performance counter data and i would like to show this on a ASP.net page but the thing is i don't want to use Flash based charting solution or a Javascript based solution i would like to just generate images and use those I want the images to be like those of RRD or MRTG. I'm trying to find out how i can create g...

Looking for a python library to parse RRD databases

I have an RRD database, and I want to parse some of the data in it. I found this: http://pypi.python.org/pypi/PyRRD/0.0.7 but it basically just calls the command line tools (no parsing). Does anyone know of a library that will actually parse the output of rrdtool dump? Thanks! ...

Rrd4j persistence

I am using rrd4j to do what rrd4j does, and it works great. However, if I shut down my app and start it back up again, the data from the previous session will be gone. I am using a normal file backend, like so: RrdDef rrdDef = new RrdDef( "/path/to/my/file", 3000 ); Is there a setting or something I need to trigger to make rrd4j loa...

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 rrd databases according to site location. However when I want to see a company level graph...

RRDtool bad format problem

I'm using RRDtool for graphing some monitoring information. One problem I faced when using rrd is using GRPINT directive. I use following command to graph networking Rx/Tx data: rrdtool graph out.png -v bytes -a PNG --start "-6 hour" --title "WLAN traffic" \ --vertical-label="Bit/s" \ 'DEF:_rx=/root/ppp0.rrd:rx:AVERAGE' \ 'D...

Error: "Cannot parse DS in" when trying to plot graph with RRDs::graph

Hi I am new to RRD and plotting graph with it. I am trying to plot a graph with following RRDs::graph ($wwwDir."graphs\\2mtotal$rrdname.png", "-l 0", "-w 500", "-h 200", "-v Size", "-s now-5184000" , "--base", "1024", "-x", "DAY:1:WEEK:1:WEEK:1:0:%d/%m", "-e now", "--title=$rrdheading" , "DEF:DriveCap=D\:\\xampp\\htdocs\...

Is it possible to access the Cacti RRD database over the network

Hi All, is it possible to access the Cacti RRD (Round Robin Database) from a different machine over the network? We want to be able to create our own custom graphs by querying the Cacti RRD database (e.g. given a router hostname, give me the bandwidth usage on all its interfaces for the past 4 hours). So all we really want from Cacti is...