Code: Select all
RRDTool Command:
d:/cacti/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="qblab-camelot - Disk Stats - C:" \
--rigid \
--base=1000 \
--height=160 \
--width=675 \
--upper-limit=100 \
--lower-limit=1 \
--logarithmic \
--vertical-label="Unit (Percent / time slice)" \
--slope-mode \
--font TITLE:12:C:/Windows/Fonts/Arial.ttf \
--font AXIS:8:C:/Windows/Fonts/Cour.ttf \
--font LEGEND:8:C:/Windows/Fonts/Cour.ttf \
--font UNIT:8:C:/Windows/Fonts/Cour.ttf \
DEF:a="D\:/Cacti/cacti/rra/qblab-camelot_avgdiskwritequeuele_33.rrd":PercentFreeSpace:LAST \
DEF:b="D\:/Cacti/cacti/rra/qblab-camelot_avgdiskwritequeuele_33.rrd":PercentFreeSpace:AVERAGE \
DEF:c="D\:/Cacti/cacti/rra/qblab-camelot_avgdiskwritequeuele_33.rrd":FreeMegabytes:AVERAGE \
DEF:d="D\:/Cacti/cacti/rra/qblab-camelot_avgdiskwritequeuele_33.rrd":PercentDiskReadTime:LAST \
DEF:e="D\:/Cacti/cacti/rra/qblab-camelot_avgdiskwritequeuele_33.rrd":PercentDiskReadTime:AVERAGE \
DEF:f="D\:/Cacti/cacti/rra/qblab-camelot_avgdiskwritequeuele_33.rrd":PercentDiskWriteTim:LAST \
DEF:g="D\:/Cacti/cacti/rra/qblab-camelot_avgdiskwritequeuele_33.rrd":PercentDiskWriteTim:AVERAGE \
DEF:h="D\:/Cacti/cacti/rra/qblab-camelot_avgdiskwritequeuele_33.rrd":AvgDiskReadPerSec:LAST \
DEF:i="D\:/Cacti/cacti/rra/qblab-camelot_avgdiskwritequeuele_33.rrd":AvgDiskReadPerSec:AVERAGE \
DEF:j="D\:/Cacti/cacti/rra/qblab-camelot_avgdiskwritequeuele_33.rrd":AvgDiskWritePerSec:LAST \
DEF:ba="D\:/Cacti/cacti/rra/qblab-camelot_avgdiskwritequeuele_33.rrd":AvgDiskWritePerSec:AVERAGE \
DEF:bb="D\:/Cacti/cacti/rra/qblab-camelot_avgdiskwritequeuele_33.rrd":AvgDiskReadQueueLen:LAST \
DEF:bc="D\:/Cacti/cacti/rra/qblab-camelot_avgdiskwritequeuele_33.rrd":AvgDiskReadQueueLen:AVERAGE \
DEF:bd="D\:/Cacti/cacti/rra/qblab-camelot_avgdiskwritequeuele_33.rrd":AvgDiskWriteQueueLe:LAST \
DEF:be="D\:/Cacti/cacti/rra/qblab-camelot_avgdiskwritequeuele_33.rrd":AvgDiskWriteQueueLe:AVERAGE \
CDEF:cdefc=c,1024,/ \
AREA:a#E8CDEFFF:"Disk Usage\:" \
GPRINT:a:LAST:" Free Space\: (%1.1lf %%)" \
GPRINT:cdefc:LAST:"Available \: %5.2lf Gb\n" \
AREA:d#8D85F3FF:"Read Time(%)" \
GPRINT:d:LAST:" Current\: (%1.1lf %%)" \
GPRINT:e:AVERAGE:"Average\: (%1.1lf %%)" \
GPRINT:e:MAX:"Maximum\: (%1.1lf %%)\n" \
AREA:f#96E78AFF:"Write Time(%)" \
GPRINT:f:LAST:" Current\: (%1.1lf %%)" \
GPRINT:g:AVERAGE:"Average\: (%1.1lf %%)" \
GPRINT:g:MAX:"Maximum\: (%1.1lf %%)\n" \
LINE1:h#005199FF:"Disk Reads/sec\:" \
GPRINT:h:LAST:" Current\:%8.0lf" \
GPRINT:i:AVERAGE:"Average\:%8.0lf" \
GPRINT:i:MAX:"Maximum\:%8.0lf\n" \
LINE1:j#00BF47FF:"Disk Writes/sec\:" \
GPRINT:j:LAST:"Current\:%8.0lf" \
GPRINT:ba:AVERAGE:"Average\:%8.0lf" \
GPRINT:ba:MAX:"Maximum\:%8.0lf\n" \
LINE1:bb#FF0000FF:"Read Queue\:" \
GPRINT:bb:LAST:" Current\:%8.0lf" \
GPRINT:bc:AVERAGE:"Average\:%8.0lf" \
GPRINT:bc:MAX:"Maximum\:%8.0lf\n" \
LINE1:bd#EA8F00FF:"Write Queue\:" \
GPRINT:bd:LAST:" Current\:%8.0lf" \
GPRINT:be:AVERAGE:"Average\:%8.0lf" \
GPRINT:be:MAX:"Maximum\:%8.0lf\n"
RRDTool Says:
ERROR: the RRD does not contain an RRA matching the chosen CF
Code: Select all
D:\Program Files (x86)\Net-SNMP\bin>d:\cacti\rrdtool\rrdtool.exe info D:/Cacti/c
acti/rra/qblab-camelot_avgdiskwritequeuele_33.rrd|more
filename = "D:/Cacti/cacti/rra/qblab-camelot_avgdiskwritequeuele_33.rrd"
rrd_version = "0003"
step = 300
last_update = 1199674929
ds[AvgDiskWriteQueueLe].type = "GAUGE"
ds[AvgDiskWriteQueueLe].minimal_heartbeat = 600
ds[AvgDiskWriteQueueLe].min = 0.0000000000e+000
ds[AvgDiskWriteQueueLe].max = 1.0000000000e+002
ds[AvgDiskWriteQueueLe].last_ds = "0"
ds[AvgDiskWriteQueueLe].value = 0.0000000000e+000
ds[AvgDiskWriteQueueLe].unknown_sec = 119
ds[AvgDiskReadQueueLen].type = "GAUGE"
ds[AvgDiskReadQueueLen].minimal_heartbeat = 600
ds[AvgDiskReadQueueLen].min = 0.0000000000e+000
ds[AvgDiskReadQueueLen].max = 1.0000000000e+002
ds[AvgDiskReadQueueLen].last_ds = "0"
ds[AvgDiskReadQueueLen].value = 0.0000000000e+000
ds[AvgDiskReadQueueLen].unknown_sec = 119
ds[PercentFreeSpace].type = "GAUGE"
ds[PercentFreeSpace].minimal_heartbeat = 600
ds[PercentFreeSpace].min = 0.0000000000e+000
ds[PercentFreeSpace].max = 1.0000000000e+002
ds[PercentFreeSpace].last_ds = "20"
ds[PercentFreeSpace].value = 2.0976876000e+002
ds[PercentFreeSpace].unknown_sec = 119
ds[PercentDiskWriteTim].type = "GAUGE"
ds[PercentDiskWriteTim].minimal_heartbeat = 600
ds[PercentDiskWriteTim].min = 0.0000000000e+000
ds[PercentDiskWriteTim].max = 1.0000000000e+002
ds[PercentDiskWriteTim].last_ds = "0"
ds[PercentDiskWriteTim].value = 0.0000000000e+000
ds[PercentDiskWriteTim].unknown_sec = 119
ds[PercentDiskReadTime].type = "GAUGE"
ds[PercentDiskReadTime].minimal_heartbeat = 600
ds[PercentDiskReadTime].min = 0.0000000000e+000
ds[PercentDiskReadTime].max = 1.0000000000e+002
ds[PercentDiskReadTime].last_ds = "0"
ds[PercentDiskReadTime].value = 0.0000000000e+000
ds[PercentDiskReadTime].unknown_sec = 119
ds[AvgDiskReadPerSec].type = "GAUGE"
ds[AvgDiskReadPerSec].minimal_heartbeat = 600
ds[AvgDiskReadPerSec].min = 0.0000000000e+000
ds[AvgDiskReadPerSec].max = NaN
ds[AvgDiskReadPerSec].last_ds = "0"
ds[AvgDiskReadPerSec].value = 0.0000000000e+000
ds[AvgDiskReadPerSec].unknown_sec = 119
ds[AvgDiskWritePerSec].type = "GAUGE"
ds[AvgDiskWritePerSec].minimal_heartbeat = 600
ds[AvgDiskWritePerSec].min = 0.0000000000e+000
ds[AvgDiskWritePerSec].max = NaN
ds[AvgDiskWritePerSec].last_ds = "0"
ds[AvgDiskWritePerSec].value = 0.0000000000e+000
ds[AvgDiskWritePerSec].unknown_sec = 119
ds[FreeMegabytes].type = "GAUGE"
ds[FreeMegabytes].minimal_heartbeat = 600
ds[FreeMegabytes].min = 0.0000000000e+000
ds[FreeMegabytes].max = NaN
ds[FreeMegabytes].last_ds = "1283"
ds[FreeMegabytes].value = 1.3456665954e+004
ds[FreeMegabytes].unknown_sec = 119
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[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[0].cdp_prep[6].value = NaN
rra[0].cdp_prep[6].unknown_datapoints = 0
rra[0].cdp_prep[7].value = NaN
rra[0].cdp_prep[7].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 = NaN
rra[1].cdp_prep[0].unknown_datapoints = 0
rra[1].cdp_prep[1].value = NaN
rra[1].cdp_prep[1].unknown_datapoints = 0
rra[1].cdp_prep[2].value = NaN
rra[1].cdp_prep[2].unknown_datapoints = 0
rra[1].cdp_prep[3].value = NaN
rra[1].cdp_prep[3].unknown_datapoints = 0
rra[1].cdp_prep[4].value = NaN
rra[1].cdp_prep[4].unknown_datapoints = 0
rra[1].cdp_prep[5].value = NaN
rra[1].cdp_prep[5].unknown_datapoints = 0
rra[1].cdp_prep[6].value = NaN
rra[1].cdp_prep[6].unknown_datapoints = 0
rra[1].cdp_prep[7].value = NaN
rra[1].cdp_prep[7].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 = NaN
rra[2].cdp_prep[0].unknown_datapoints = 12
rra[2].cdp_prep[1].value = NaN
rra[2].cdp_prep[1].unknown_datapoints = 12
rra[2].cdp_prep[2].value = NaN
rra[2].cdp_prep[2].unknown_datapoints = 12
rra[2].cdp_prep[3].value = NaN
rra[2].cdp_prep[3].unknown_datapoints = 12
rra[2].cdp_prep[4].value = NaN
rra[2].cdp_prep[4].unknown_datapoints = 12
rra[2].cdp_prep[5].value = NaN
rra[2].cdp_prep[5].unknown_datapoints = 12
rra[2].cdp_prep[6].value = NaN
rra[2].cdp_prep[6].unknown_datapoints = 12
rra[2].cdp_prep[7].value = NaN
rra[2].cdp_prep[7].unknown_datapoints = 12
rra[3].cf = "AVERAGE"
rra[3].rows = 797
rra[3].pdp_per_row = 288
rra[3].xff = 5.0000000000e-001
rra[3].cdp_prep[0].value = NaN
rra[3].cdp_prep[0].unknown_datapoints = 36
rra[3].cdp_prep[1].value = NaN
rra[3].cdp_prep[1].unknown_datapoints = 36
rra[3].cdp_prep[2].value = NaN
rra[3].cdp_prep[2].unknown_datapoints = 36
rra[3].cdp_prep[3].value = NaN
rra[3].cdp_prep[3].unknown_datapoints = 36
rra[3].cdp_prep[4].value = NaN
rra[3].cdp_prep[4].unknown_datapoints = 36
rra[3].cdp_prep[5].value = NaN
rra[3].cdp_prep[5].unknown_datapoints = 36
rra[3].cdp_prep[6].value = NaN
rra[3].cdp_prep[6].unknown_datapoints = 36
rra[3].cdp_prep[7].value = NaN
rra[3].cdp_prep[7].unknown_datapoints = 36
rra[4].cf = "MAX"
rra[4].rows = 600
rra[4].pdp_per_row = 1
rra[4].xff = 5.0000000000e-001
rra[4].cdp_prep[0].value = NaN
rra[4].cdp_prep[0].unknown_datapoints = 0
rra[4].cdp_prep[1].value = NaN
rra[4].cdp_prep[1].unknown_datapoints = 0
rra[4].cdp_prep[2].value = NaN
rra[4].cdp_prep[2].unknown_datapoints = 0
rra[4].cdp_prep[3].value = NaN
rra[4].cdp_prep[3].unknown_datapoints = 0
rra[4].cdp_prep[4].value = NaN
rra[4].cdp_prep[4].unknown_datapoints = 0
rra[4].cdp_prep[5].value = NaN
rra[4].cdp_prep[5].unknown_datapoints = 0
rra[4].cdp_prep[6].value = NaN
rra[4].cdp_prep[6].unknown_datapoints = 0
rra[4].cdp_prep[7].value = NaN
rra[4].cdp_prep[7].unknown_datapoints = 0
rra[5].cf = "MAX"
rra[5].rows = 700
rra[5].pdp_per_row = 6
rra[5].xff = 5.0000000000e-001
rra[5].cdp_prep[0].value = NaN
rra[5].cdp_prep[0].unknown_datapoints = 0
rra[5].cdp_prep[1].value = NaN
rra[5].cdp_prep[1].unknown_datapoints = 0
rra[5].cdp_prep[2].value = NaN
rra[5].cdp_prep[2].unknown_datapoints = 0
rra[5].cdp_prep[3].value = NaN
rra[5].cdp_prep[3].unknown_datapoints = 0
rra[5].cdp_prep[4].value = NaN
rra[5].cdp_prep[4].unknown_datapoints = 0
rra[5].cdp_prep[5].value = NaN
rra[5].cdp_prep[5].unknown_datapoints = 0
rra[5].cdp_prep[6].value = NaN
rra[5].cdp_prep[6].unknown_datapoints = 0
rra[5].cdp_prep[7].value = NaN
rra[5].cdp_prep[7].unknown_datapoints = 0
rra[6].cf = "MAX"
rra[6].rows = 775
rra[6].pdp_per_row = 24
rra[6].xff = 5.0000000000e-001
rra[6].cdp_prep[0].value = NaN
rra[6].cdp_prep[0].unknown_datapoints = 12
rra[6].cdp_prep[1].value = NaN
rra[6].cdp_prep[1].unknown_datapoints = 12
rra[6].cdp_prep[2].value = NaN
rra[6].cdp_prep[2].unknown_datapoints = 12
rra[6].cdp_prep[3].value = NaN
rra[6].cdp_prep[3].unknown_datapoints = 12
rra[6].cdp_prep[4].value = NaN
rra[6].cdp_prep[4].unknown_datapoints = 12
rra[6].cdp_prep[5].value = NaN
rra[6].cdp_prep[5].unknown_datapoints = 12
rra[6].cdp_prep[6].value = NaN
rra[6].cdp_prep[6].unknown_datapoints = 12
rra[6].cdp_prep[7].value = NaN
rra[6].cdp_prep[7].unknown_datapoints = 12
rra[7].cf = "MAX"
rra[7].rows = 797
rra[7].pdp_per_row = 288
rra[7].xff = 5.0000000000e-001
rra[7].cdp_prep[0].value = NaN
rra[7].cdp_prep[0].unknown_datapoints = 36
rra[7].cdp_prep[1].value = NaN
rra[7].cdp_prep[1].unknown_datapoints = 36
rra[7].cdp_prep[2].value = NaN
rra[7].cdp_prep[2].unknown_datapoints = 36
rra[7].cdp_prep[3].value = NaN
rra[7].cdp_prep[3].unknown_datapoints = 36
rra[7].cdp_prep[4].value = NaN
rra[7].cdp_prep[4].unknown_datapoints = 36
rra[7].cdp_prep[5].value = NaN
rra[7].cdp_prep[5].unknown_datapoints = 36
rra[7].cdp_prep[6].value = NaN
rra[7].cdp_prep[6].unknown_datapoints = 36
rra[7].cdp_prep[7].value = NaN
rra[7].cdp_prep[7].unknown_datapoints = 36
Code: Select all
Data Source Debug
d:/cacti/rrdtool/rrdtool.exe create \
D:/Cacti/cacti/rra/qblab-camelot_avgdiskwritequeuele_33.rrd \
--step 300 \
DS:AvgDiskWriteQueueLe:GAUGE:600:0:100 \
DS:AvgDiskReadQueueLen:GAUGE:600:0:100 \
DS:PercentFreeSpace:GAUGE:600:0:100 \
DS:PercentDiskWriteTim:GAUGE:600:0:100 \
DS:PercentDiskReadTime:GAUGE:600:0:100 \
DS:AvgDiskReadPerSec:GAUGE:600:0:U \
DS:AvgDiskWritePerSec:GAUGE:600:0:U \
DS:FreeMegabytes:GAUGE:600:0:U \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
Any thoughts or anything I can do to help?
Thanks!