Disk Space templates only displaying 2 months worth of data
Moderators: Developers, Moderators
Disk Space templates only displaying 2 months worth of data
I seem to have set something somewhere but I don't know where. It seems all of my "disk space" and "network" graphs are only displaying the past 2 months worth of data even though they have been monitored for the past 7 months.
My CPU graphs are displaying correctly with data going all the way back to december and january, but all my network and disk space graphs are only going back to the beginning of april.
What information can I provide to let you troubleshoot the reason this is happening?
My CPU graphs are displaying correctly with data going all the way back to december and january, but all my network and disk space graphs are only going back to the beginning of april.
What information can I provide to let you troubleshoot the reason this is happening?
Screenshots, graph debug text and "rrdtool fetch <rrd file> AVERAGE" to verify you really do have data going back that far.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
c:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="array1 - Used Space - E:" \
--rigid \
--base=1024 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bytes" \
--slope-mode \
--font TITLE:10: \
--font AXIS:8: \
--font LEGEND:8: \
--font UNIT:8: \
DEF:a="C\:/Inetpub/wwwroot/cacti/rra/array1_hdd_total_46.rrd":hdd_total:AVERAGE \
DEF:b="C\:/Inetpub/wwwroot/cacti/rra/array1_hdd_total_46.rrd":hdd_used:AVERAGE \
AREA:a#00CF00CC:"Total" \
GPRINTLAST:"Current\:%8.2lf %s" \
GPRINTAVERAGE:"Average\:%8.2lf %s" \
GPRINTMAX:"Maximum\:%8.2lf %s\n" \
AREA:b#000000FF:"Used" \
GPRINTLAST:" Current\:%8.2lf %s" \
GPRINTAVERAGE:"Average\:%8.2lf %s" \
GPRINTMAX:"Maximum\:%8.2lf %s\n"
- Attachments
-
- 1.jpg (85.5 KiB) Viewed 3533 times
-
- 2.jpg (64.86 KiB) Viewed 3533 times
-
- 3.jpg (76.42 KiB) Viewed 3533 times
-
- 4.jpg (135.58 KiB) Viewed 3533 times
-
- 5.jpg (149.63 KiB) Viewed 3533 times
Opps, forgot fetch defaults to only a day of data. Use rrdtool dump instead and manually look through the xml file to verify the data is/isn't there.
Also a rrdtool info would be handy.
Also a rrdtool info would be handy.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
"rrdtool dump"
"rrdtool info"
"rrdtool info"
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
C:\rrdtool>rrdtool info C:\Inetpub\wwwroot\cacti\rra\array1_hdd_total_46.rrd
filename = "C:\Inetpub\wwwroot\cacti\rra\array1_hdd_total_46.rrd"
rrd_version = "0003"
step = 300
last_update = 1244813401
ds[hdd_used].type = "GAUGE"
ds[hdd_used].minimal_heartbeat = 600
ds[hdd_used].min = 0.0000000000e+000
ds[hdd_used].max = NaN
ds[hdd_used].last_ds = "4131788861440"
ds[hdd_used].value = 4.1317888614e+012
ds[hdd_used].unknown_sec = 0
ds[hdd_total].type = "GAUGE"
ds[hdd_total].minimal_heartbeat = 600
ds[hdd_total].min = 0.0000000000e+000
ds[hdd_total].max = NaN
ds[hdd_total].last_ds = "5997853667330"
ds[hdd_total].value = 5.9978536673e+012
ds[hdd_total].unknown_sec = 0
rra[0].cf = "AVERAGE"
rra[0].rows = 600
rra[0].pdp_per_row = 1
rra[0].xff = 5.0000000000e-001
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[1].cf = "AVERAGE"
rra[1].rows = 700
rra[1].pdp_per_row = 6
rra[1].xff = 5.0000000000e-001
rra[1].cdp_prep[0].value = 0.0000000000e+000
rra[1].cdp_prep[0].unknown_datapoints = 0
rra[1].cdp_prep[1].value = 0.0000000000e+000
rra[1].cdp_prep[1].unknown_datapoints = 0
rra[2].cf = "AVERAGE"
rra[2].rows = 775
rra[2].pdp_per_row = 24
rra[2].xff = 5.0000000000e-001
rra[2].cdp_prep[0].value = 7.4354930868e+013
rra[2].cdp_prep[0].unknown_datapoints = 0
rra[2].cdp_prep[1].value = 1.0796136601e+014
rra[2].cdp_prep[1].unknown_datapoints = 0
rra[3].cf = "MIN"
rra[3].rows = 600
rra[3].pdp_per_row = 1
rra[3].xff = 5.0000000000e-001
rra[3].cdp_prep[0].value = NaN
rra[3].cdp_prep[0].unknown_datapoints = 0
rra[3].cdp_prep[1].value = NaN
rra[3].cdp_prep[1].unknown_datapoints = 0
rra[4].cf = "MIN"
rra[4].rows = 700
rra[4].pdp_per_row = 6
rra[4].xff = 5.0000000000e-001
rra[4].cdp_prep[0].value = 4.1317884658e+012
rra[4].cdp_prep[0].unknown_datapoints = 0
rra[4].cdp_prep[1].value = 5.9978536673e+012
rra[4].cdp_prep[1].unknown_datapoints = 0
rra[5].cf = "MIN"
rra[5].rows = 775
rra[5].pdp_per_row = 24
rra[5].xff = 5.0000000000e-001
rra[5].cdp_prep[0].value = 4.1299210502e+012
rra[5].cdp_prep[0].unknown_datapoints = 0
rra[5].cdp_prep[1].value = 5.9978536673e+012
rra[5].cdp_prep[1].unknown_datapoints = 0
rra[6].cf = "MAX"
rra[6].rows = 600
rra[6].pdp_per_row = 1
rra[6].xff = 5.0000000000e-001
rra[6].cdp_prep[0].value = NaN
rra[6].cdp_prep[0].unknown_datapoints = 0
rra[6].cdp_prep[1].value = NaN
rra[6].cdp_prep[1].unknown_datapoints = 0
rra[7].cf = "MAX"
rra[7].rows = 700
rra[7].pdp_per_row = 6
rra[7].xff = 5.0000000000e-001
rra[7].cdp_prep[0].value = 4.1317884658e+012
rra[7].cdp_prep[0].unknown_datapoints = 0
rra[7].cdp_prep[1].value = 5.9978536673e+012
rra[7].cdp_prep[1].unknown_datapoints = 0
rra[8].cf = "MAX"
rra[8].rows = 775
rra[8].pdp_per_row = 24
rra[8].xff = 5.0000000000e-001
rra[8].cdp_prep[0].value = 4.1317884658e+012
rra[8].cdp_prep[0].unknown_datapoints = 0
rra[8].cdp_prep[1].value = 5.9978536673e+012
rra[8].cdp_prep[1].unknown_datapoints = 0
rra[9].cf = "LAST"
rra[9].rows = 600
rra[9].pdp_per_row = 1
rra[9].xff = 5.0000000000e-001
rra[9].cdp_prep[0].value = NaN
rra[9].cdp_prep[0].unknown_datapoints = 0
rra[9].cdp_prep[1].value = NaN
rra[9].cdp_prep[1].unknown_datapoints = 0
rra[10].cf = "LAST"
rra[10].rows = 700
rra[10].pdp_per_row = 6
rra[10].xff = 5.0000000000e-001
rra[10].cdp_prep[0].value = 4.1317884658e+012
rra[10].cdp_prep[0].unknown_datapoints = 0
rra[10].cdp_prep[1].value = 5.9978536673e+012
rra[10].cdp_prep[1].unknown_datapoints = 0
rra[11].cf = "LAST"
rra[11].rows = 775
rra[11].pdp_per_row = 24
rra[11].xff = 5.0000000000e-001
rra[11].cdp_prep[0].value = 4.1317884658e+012
rra[11].cdp_prep[0].unknown_datapoints = 0
rra[11].cdp_prep[1].value = 5.9978536673e+012
rra[11].cdp_prep[1].unknown_datapoints = 0
- Attachments
-
- array1.xml
- (1.08 MiB) Downloaded 138 times
Because the rrdtool database sizing is one of the most complicated things, IMO. Please read the rrdtool manual regarding steps, rows, and timespans. Then do the calculations with the rrd file(s) you're having issues with.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Who is online
Users browsing this forum: No registered users and 1 guest