RRD graph explain


 
Thread Tools Search this Thread
Special Forums IP Networking RRD graph explain
# 1  
Old 02-26-2010
RRD graph explain

Hi all,

I have a graph sent from customer.
And i just know this is created using rrdtool after search the web.
Based on this graph,
1. I read that it can be set, but is it possible to know what is the time step for each point in this graph? is it 5 minutes or something?
2. Let says it is 5 minutes, then is it true if I say RRD tool measures the average value every 5 minutes?

Image

Thanks for the help.

Last edited by wilsonSurya; 02-26-2010 at 07:59 AM..
# 2  
Old 02-26-2010
Hi.

You can find the step using:

Code:
rrdtool info yourdbname.rrd | grep step

If the step is 300 (5 minutes) then rrdtool will average data (or whatever consolidation function your db is created with) given over any five minute period.

Unless I'm mistaken, the only way to change the step is to:
Code:
rrdtool dump yourdbname.rrd > yourdbname.xml
(edit the XML file)
rrdtool restore yourdbname.xml yourdbname.rrd

This link explains quite well how the step works.

Of course, this is all on the understanding that they provided you with the RRD database file, and not just the PNG graph file.
This User Gave Thanks to Scott For This Post:
# 3  
Old 02-26-2010
Hi Scottn,

Thanks a lot for your info.
The problem is I have nothing but a graph Smilie
And I don't have the environment.

Ok, so can you tell me generally what will be the consolidation function used?
Is it average value? And is it possible (or is it common) if the consolidation function is set only to capture the data for each time step?

I mean like :
at 00.05 : capture the value at 00.05
at 00.10 : capture the value at 00.10

Do you think that is common?
# 4  
Old 02-26-2010
I would say it's (probably) the average value in graph.

There is a LAST consolidation function which gets (as the name suggests) the last value for each step. I don't know if it's common - I've never used it.

It would be nice if they included some info in the graph explaining what the data means.
This User Gave Thanks to Scott For This Post:
# 5  
Old 02-26-2010
Hi Scottn,

Ok, I got it.
Many thanks for your clear explaination.
Say hi to Zurich citizen Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Rrdtool fetch traffic.rrd

Hi, i'm beginer in programmer I need a script for read file.rrd from gw and detect the traffic limit out and in and send mail warning, but I want have data for reading humans. I need convert numbers In, Out in Mbps/s I found this command with awk, but a want in shell Ex: > rrdtool... (4 Replies)
Discussion started by: tigo17
4 Replies

2. Programming

Graph in java

Hello, Please how can represent this graph in java ? i have to apply an algorithm on this graphe, the first instruction of the algorithm is to verify if the three last vertices are dependent or not ? Thank you. (1 Reply)
Discussion started by: chercheur857
1 Replies

3. Infrastructure Monitoring

JFFNMS: RRD files for imterface id 2190 has not been created by the Poller Process yet

hi, When we tried to add host in jffnms and marked all interfaces, it worked well with newly added hosts for linux. However if its solaris, we cannot see CPU interface. The error in the graph is RRD files for interface id 2190 has not been created by the Poller Process yet. Pls advise. ... (0 Replies)
Discussion started by: lhareigh890
0 Replies

4. Shell Programming and Scripting

Script that will be a cron job to export rrd files for cacti server

I wrote a quick little script that will eventually end up as a cron job to export rrd files for my cacti server. Here is the script: #!/bin/bash rm -rf /backup/cacti_xml/* cd /var/www/html/rra ls -1 *.rrd | awk '{print "rrdtool dump "$1" > /backup/cacti_xml/"$1".xml"}' | sh -x Is there... (5 Replies)
Discussion started by: TheBigAmbulance
5 Replies

5. Infrastructure Monitoring

moving rrd data to mysql

All I currently run an application called OpenNMS. This is a free enterprise grade NMS. Its current framework uses RRDs to collect performance/node level data such as cpu load via snmp. all data is stored in these RRDs. I was wondering if anyone out there has had a chance or a need to move the... (2 Replies)
Discussion started by: pupp
2 Replies

6. AIX

Performance graph

Guru's I need to develop a graph which shows the CPU, memory and swap space utilization in a single graph against time I know of NMON but I am not able to make a single graph out of it. Does anyone know of any script or tool for data sampling and developing graph? Thanks in advance ... (1 Reply)
Discussion started by: balaji_prk
1 Replies

7. Shell Programming and Scripting

Graph generation

How can I generate graphs using perl in unix solaris environment? Please suggest. (2 Replies)
Discussion started by: wadhwa.pooja
2 Replies
Login or Register to Ask a Question