[rrd-users] Data expires after 24 hours...?
Edward Butler
Edward.Butler at nildram.net
Thu Jun 9 14:58:12 MEST 2005
Hello everyone,
I am new to this list and also fairly new with RRD! I am having
difficulty extracting data from my RRD databases more than 24 hours old
fundamentally and AFAICS the RRD files are setup correctly and do work
perfectly within an ongoing 24 hour period.
I am actually developing a router monitoring system and have opted for
Cricket as the 'backend' element of the system although the front end is
bespoke using php 4.3.8, mysql 4.0.20 and php4-rrdtool-1.05 (I
appreciate that as I am using this php module I could negate using
cricket but need to learn to walk with RRD before I can run!).
At present the graphs are being generated by php using the rrdgraph
function and are being updated (cron'd) by a perl script ran by cricket
called collect-subtrees.... the OS is FreeBSD 4.7 and is a standard
build.
It would seem that my RRD files are being populated correctly and when
dumping and fetching all of the data seems to be inplace for the
relevant data sources.
As I understand it if I specify 'start' and 'end' parameters this should
control the length of my graphs and display the relevant data (for
example start being 'end-5w' and end being 'now' or using UNIX
timestamps which I prefer) However although the scale of the graph
reflects these parameters the graph is void of any information apart
from the last 24 hours??
My RRA dictionary entries appear to be correct (are actually the default
for cricket) and upon checking some other standard cricket servers would
appear to be correct.
- Do RRD files on store 24 hours worth of data?
- Thus do I need to access an archive of data?
rra 5minAve AVERAGE:0.5:1:600
rra 30minAve AVERAGE:0.5:6:600
rra 2hrAve AVERAGE:0.5:24:600
rra 2hrMax MAX:0.5:24:600
rra 1dayAve AVERAGE:0.5:288:600
rra 1dayMax MAX:0.5:288:600
I enclose a typical rrd info dump of one of the RRD files - if anyone
has any pointers or would like me to submit any additional information
their help would be greatly received!
I apologies in advance if this is somewhat a 'simpleton' question I have
endeavoured to go through all of the relevant documentaion but to no
avail....
filename = "x.x.x.x_serial0_0.rrd"
rrd_version = "0001"
step = 1
last_update = 1118320826
ds[ds0].type = "DERIVE"
ds[ds0].minimal_heartbeat = 1800
ds[ds0].min = 0.0000000000e+00
ds[ds0].max = NaN
ds[ds0].last_ds = "259242997"
ds[ds0].value = 0.0000000000e+00
ds[ds0].unknown_sec = 0
ds[ds1].type = "DERIVE"
ds[ds1].minimal_heartbeat = 1800
ds[ds1].min = 0.0000000000e+00
ds[ds1].max = NaN
ds[ds1].last_ds = "77932340"
ds[ds1].value = 0.0000000000e+00
ds[ds1].unknown_sec = 0
ds[ds2].type = "DERIVE"
ds[ds2].minimal_heartbeat = 1800
ds[ds2].min = 0.0000000000e+00
ds[ds2].max = NaN
ds[ds2].last_ds = "104028"
ds[ds2].value = 0.0000000000e+00
ds[ds2].unknown_sec = 0
ds[ds3].type = "DERIVE"
ds[ds3].minimal_heartbeat = 1800
ds[ds3].min = 0.0000000000e+00
ds[ds3].max = NaN
ds[ds3].last_ds = "0"
ds[ds3].value = 0.0000000000e+00
ds[ds3].unknown_sec = 0
ds[ds4].type = "DERIVE"
ds[ds4].minimal_heartbeat = 1800
ds[ds4].min = 0.0000000000e+00
ds[ds4].max = NaN
ds[ds4].last_ds = "2038980"
ds[ds4].value = 0.0000000000e+00
ds[ds4].unknown_sec = 0
ds[ds5].type = "DERIVE"
ds[ds5].minimal_heartbeat = 1800
ds[ds5].min = 0.0000000000e+00
ds[ds5].max = NaN
ds[ds5].last_ds = "677723"
ds[ds5].value = 0.0000000000e+00
ds[ds5].unknown_sec = 0
rra[0].cf = "AVERAGE"
rra[0].rows = 600
rra[0].pdp_per_row = 1
rra[0].xff = 5.0000000000e-01
rra[0].cdp_prep[0].value = NaN
rra[0].cdp_prep[0].unknown_datapoints = 0
rra[0].cdp_prep[1].value = NaN
rra[0].cdp_prep[1].unknown_datapoints = 0
rra[0].cdp_prep[2].value = NaN
rra[0].cdp_prep[2].unknown_datapoints = 0
rra[0].cdp_prep[3].value = NaN
rra[0].cdp_prep[3].unknown_datapoints = 0
rra[0].cdp_prep[4].value = NaN
rra[0].cdp_prep[4].unknown_datapoints = 0
rra[0].cdp_prep[5].value = NaN
rra[0].cdp_prep[5].unknown_datapoints = 0
rra[1].cf = "AVERAGE"
rra[1].rows = 600
rra[1].pdp_per_row = 6
rra[1].xff = 5.0000000000e-01
rra[1].cdp_prep[0].value = 5.3558000000e+02
rra[1].cdp_prep[0].unknown_datapoints = 0
rra[1].cdp_prep[1].value = 3.5613333333e+01
rra[1].cdp_prep[1].unknown_datapoints = 0
rra[1].cdp_prep[2].value = 0.0000000000e+00
rra[1].cdp_prep[2].unknown_datapoints = 0
rra[1].cdp_prep[3].value = 0.0000000000e+00
rra[1].cdp_prep[3].unknown_datapoints = 0
rra[1].cdp_prep[4].value = 4.9733333333e+00
rra[1].cdp_prep[4].unknown_datapoints = 0
rra[1].cdp_prep[5].value = 4.3333333333e-01
rra[1].cdp_prep[5].unknown_datapoints = 0
rra[2].cf = "AVERAGE"
rra[2].rows = 600
rra[2].pdp_per_row = 24
rra[2].xff = 5.0000000000e-01
rra[2].cdp_prep[0].value = 5.3558000000e+02
rra[2].cdp_prep[0].unknown_datapoints = 0
rra[2].cdp_prep[1].value = 3.5613333333e+01
rra[2].cdp_prep[1].unknown_datapoints = 0
rra[2].cdp_prep[2].value = 0.0000000000e+00
rra[2].cdp_prep[2].unknown_datapoints = 0
rra[2].cdp_prep[3].value = 0.0000000000e+00
rra[2].cdp_prep[3].unknown_datapoints = 0
rra[2].cdp_prep[4].value = 4.9733333333e+00
rra[2].cdp_prep[4].unknown_datapoints = 0
rra[2].cdp_prep[5].value = 4.3333333333e-01
rra[2].cdp_prep[5].unknown_datapoints = 0
rra[3].cf = "MAX"
rra[3].rows = 600
rra[3].pdp_per_row = 24
rra[3].xff = 5.0000000000e-01
rra[3].cdp_prep[0].value = 2.6779000000e+02
rra[3].cdp_prep[0].unknown_datapoints = 0
rra[3].cdp_prep[1].value = 1.7806666667e+01
rra[3].cdp_prep[1].unknown_datapoints = 0
rra[3].cdp_prep[2].value = 0.0000000000e+00
rra[3].cdp_prep[2].unknown_datapoints = 0
rra[3].cdp_prep[3].value = 0.0000000000e+00
rra[3].cdp_prep[3].unknown_datapoints = 0
rra[3].cdp_prep[4].value = 2.4866666667e+00
rra[3].cdp_prep[4].unknown_datapoints = 0
rra[3].cdp_prep[5].value = 2.1666666667e-01
rra[3].cdp_prep[5].unknown_datapoints = 0
rra[4].cf = "AVERAGE"
rra[4].rows = 600
rra[4].pdp_per_row = 288
rra[4].xff = 5.0000000000e-01
rra[4].cdp_prep[0].value = 3.2670380000e+04
rra[4].cdp_prep[0].unknown_datapoints = 0
rra[4].cdp_prep[1].value = 2.1724133333e+03
rra[4].cdp_prep[1].unknown_datapoints = 0
rra[4].cdp_prep[2].value = 0.0000000000e+00
rra[4].cdp_prep[2].unknown_datapoints = 0
rra[4].cdp_prep[3].value = 0.0000000000e+00
rra[4].cdp_prep[3].unknown_datapoints = 0
rra[4].cdp_prep[4].value = 3.0337333333e+02
rra[4].cdp_prep[4].unknown_datapoints = 0
rra[4].cdp_prep[5].value = 2.6433333333e+01
rra[4].cdp_prep[5].unknown_datapoints = 0
rra[5].cf = "MAX"
rra[5].rows = 600
rra[5].pdp_per_row = 288
rra[5].xff = 5.0000000000e-01
rra[5].cdp_prep[0].value = 2.6779000000e+02
rra[5].cdp_prep[0].unknown_datapoints = 0
rra[5].cdp_prep[1].value = 1.7806666667e+01
rra[5].cdp_prep[1].unknown_datapoints = 0
rra[5].cdp_prep[2].value = 0.0000000000e+00
rra[5].cdp_prep[2].unknown_datapoints = 0
rra[5].cdp_prep[3].value = 0.0000000000e+00
rra[5].cdp_prep[3].unknown_datapoints = 0
rra[5].cdp_prep[4].value = 2.4866666667e+00
rra[5].cdp_prep[4].unknown_datapoints = 0
rra[5].cdp_prep[5].value = 2.1666666667e-01
rra[5].cdp_prep[5].unknown_datapoints = 0
Here is an example of such a graph using the RRgrapher script....
http://routermon.nildram.co.uk/cgi/RRGrapher.cgi?A_label=62.3.235.176_at
m0+AVE+ds0&A_type=LINE1&A_color=%230000FF&B_label=62.3.235.176_atm0+AVE+
ds1&B_type=LINE1&B_color=%2300FFFF&C_label=62.3.235.176_atm0+AVE+ds2&C_t
ype=LINE1&C_color=%2300FF00&D_label=62.3.235.176_atm0+AVE+ds3&D_type=LIN
E1&D_color=%23A0522D&E_label=62.3.235.176_atm0+AVE+ds4&E_type=LINE1&E_co
lor=%23FFA500&F_label=62.3.235.176_atm0+AVE+ds5&F_type=LINE1&F_color=%23
FF7F50&action_type=all&add_chr=G&DS=A%3A%2Fhome%2Fcricket%2Fcricket-data
%2Fcustomer-routers%2F62.3.235.176_atm0.rrd%3A62.3.235.176_atm0%3AAVERAG
E%3Ads0%3A%3ALINE1%3A%230000FF&DS=B%3A%2Fhome%2Fcricket%2Fcricket-data%2
Fcustomer-routers%2F62.3.235.176_atm0.rrd%3A62.3.235.176_atm0%3AAVERAGE%
3Ads1%3A%3ALINE1%3A%2300FFFF&DS=C%3A%2Fhome%2Fcricket%2Fcricket-data%2Fc
ustomer-routers%2F62.3.235.176_atm0.rrd%3A62.3.235.176_atm0%3AAVERAGE%3A
ds2%3A%3ALINE1%3A%2300FF00&DS=D%3A%2Fhome%2Fcricket%2Fcricket-data%2Fcus
tomer-routers%2F62.3.235.176_atm0.rrd%3A62.3.235.176_atm0%3AAVERAGE%3Ads
3%3A%3ALINE1%3A%23A0522D&DS=E%3A%2Fhome%2Fcricket%2Fcricket-data%2Fcusto
mer-routers%2F62.3.235.176_atm0.rrd%3A62.3.235.176_atm0%3AAVERAGE%3Ads4%
3A%3ALINE1%3A%23FFA500&DS=F%3A%2Fhome%2Fcricket%2Fcricket-data%2Fcustome
r-routers%2F62.3.235.176_atm0.rrd%3A62.3.235.176_atm0%3AAVERAGE%3Ads5%3A
%3ALINE1%3A%23FF7F50&add_rpn=0&CF=AVERAGE&source_regexp=&graph=Graph+Dat
a+Sources+to+PNG&title=&vertical-label=&start=end-5w&end=now&width=&heig
ht=&statfmt=%25.0lf&.cgifields=statistics&.cgifields=E_selected&.cgifiel
ds=F_selected&.cgifields=C_selected&.cgifields=action_type&.cgifields=D_
selected&.cgifields=database&.cgifields=A_selected&.cgifields=CF&.cgifie
lds=B_selected
TIA,
--
Edward Butler
Third Line Engineer
Nildram LTD
edward.butler at nildram.net
www.nildram.net
IMPORTANT NOTICE for Nildram Broadband Customers!
We are pleased to announce some major changes to our Broadband services! If you are still unsure how this will affect you please visit the website now at www.nildram.net/regrades for updated information - simply enter the current product code shown on your monthly invoice. If you would like to re-grade - simply log into your My Controls area of the Nildram website and click on the Regrade Banner on the left of the screen. Former Trinite customers can log into the User Area
This electronic message contains information from Nildram, which may be privileged or confidential. The information is intended for use only by the individual(s) or entity named above. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this information is strictly prohibited. If you have received this electronic message in error, please notify me by telephone or e-mail (to the number or e-mail address above) immediately.
Activity and use of the Nildram e-mail system is monitored to secure its effective operation and for other lawful business purposes.
A member of the PIPEX group. Registered Office: Carlton House, 27A Carlton Drive, Putney, London SW15 2BS Registered in England No. 05306519
--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://lists.ee.ethz.ch/rrd-users
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
More information about the rrd-users
mailing list