Brocade Fibre Channel templates.

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Post Reply
hades
Posts: 12
Joined: Mon Mar 13, 2006 6:15 pm
Location: Newcastle, Australia

Post by hades »

toe_cutter,

I've downloaded your templates from above and I'm getting issues with the traffic graphs. A debug shows

Code: Select all

RRDTool Command:

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="HON-DC-FS01 - FC I/O Traffic - port 1" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bytes per second" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:8: \
--font UNIT:8: \
DEF:a="/opt/cacti/rra/hon-dc-fs01_swfcportrxbadeofs_190.rrd":swFCPortRxWords:LAST \
DEF:b="/opt/cacti/rra/hon-dc-fs01_swfcportrxbadeofs_190.rrd":swFCPortTxWords:LAST \
CDEF:cdefa=a,4,* \
CDEF:cdefe=b,4,* \
AREA:cdefa#00BF47FF:"Received\:"  \
GPRINT:cdefa:LAST:"   Current\:%8.2lf %s"  \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n"  \
LINE1:cdefe#002A97FF:"Transmitted\:"  \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s"  \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s\n" 

RRDTool Says:

ERROR: the RRD does not contain an RRA matching the chosen CF
After scratching my head for a few minutes, i took a look at the rrd and I see that rrdtool is correct (funny that) and there is no LAST RRA:

Code: Select all

cacti01 /opt/cacti/rra $ rrdtool info hon-dc-fs01_swfcportrxbadeofs_190.rrd
filename = "hon-dc-fs01_swfcportrxbadeofs_190.rrd"
rrd_version = "0003"
step = 300
last_update = 1242314403
ds[swFCPortTxWords].type = "COUNTER"
ds[swFCPortTxWords].minimal_heartbeat = 600
ds[swFCPortTxWords].min = 0.0000000000e+00
ds[swFCPortTxWords].max = NaN
ds[swFCPortTxWords].last_ds = "3239967664"
ds[swFCPortTxWords].value = 2.9827156000e+05
ds[swFCPortTxWords].unknown_sec = 0
ds[swFCPortTxFrames].type = "COUNTER"
ds[swFCPortTxFrames].minimal_heartbeat = 600
ds[swFCPortTxFrames].min = 0.0000000000e+00
ds[swFCPortTxFrames].max = NaN
ds[swFCPortTxFrames].last_ds = "U"
ds[swFCPortTxFrames].value = NaN
ds[swFCPortTxFrames].unknown_sec = 3
ds[swFCPortRxWords].type = "COUNTER"
ds[swFCPortRxWords].minimal_heartbeat = 600
ds[swFCPortRxWords].min = 0.0000000000e+00
ds[swFCPortRxWords].max = NaN
ds[swFCPortRxWords].last_ds = "4199003604"
ds[swFCPortRxWords].value = 1.7783552400e+06
ds[swFCPortRxWords].unknown_sec = 0
ds[swFCPortRxFrames].type = "COUNTER"
ds[swFCPortRxFrames].minimal_heartbeat = 600
ds[swFCPortRxFrames].min = 0.0000000000e+00
ds[swFCPortRxFrames].max = NaN
ds[swFCPortRxFrames].last_ds = "U"
ds[swFCPortRxFrames].value = NaN
ds[swFCPortRxFrames].unknown_sec = 3
ds[swFCPortTxC2Frames].type = "COUNTER"
ds[swFCPortTxC2Frames].minimal_heartbeat = 600
ds[swFCPortTxC2Frames].min = 0.0000000000e+00
ds[swFCPortTxC2Frames].max = NaN
ds[swFCPortTxC2Frames].last_ds = "U"
ds[swFCPortTxC2Frames].value = NaN
ds[swFCPortTxC2Frames].unknown_sec = 3
ds[swFCPortRxC3Frames].type = "COUNTER"
ds[swFCPortRxC3Frames].minimal_heartbeat = 600
ds[swFCPortRxC3Frames].min = 0.0000000000e+00
ds[swFCPortRxC3Frames].max = NaN
ds[swFCPortRxC3Frames].last_ds = "U"
ds[swFCPortRxC3Frames].value = NaN
ds[swFCPortRxC3Frames].unknown_sec = 3
ds[swFCPortRxMcasts].type = "COUNTER"
ds[swFCPortRxMcasts].minimal_heartbeat = 600
ds[swFCPortRxMcasts].min = 0.0000000000e+00
ds[swFCPortRxMcasts].max = NaN
ds[swFCPortRxMcasts].last_ds = "U"
ds[swFCPortRxMcasts].value = NaN
ds[swFCPortRxMcasts].unknown_sec = 3
ds[swFCPortRxEncInFrs].type = "COUNTER"
ds[swFCPortRxEncInFrs].minimal_heartbeat = 600
ds[swFCPortRxEncInFrs].min = 0.0000000000e+00
ds[swFCPortRxEncInFrs].max = NaN
ds[swFCPortRxEncInFrs].last_ds = "U"
ds[swFCPortRxEncInFrs].value = NaN
ds[swFCPortRxEncInFrs].unknown_sec = 3
ds[swFCPortRxCrcs].type = "COUNTER"
ds[swFCPortRxCrcs].minimal_heartbeat = 600
ds[swFCPortRxCrcs].min = 0.0000000000e+00
ds[swFCPortRxCrcs].max = NaN
ds[swFCPortRxCrcs].last_ds = "U"
ds[swFCPortRxCrcs].value = NaN
ds[swFCPortRxCrcs].unknown_sec = 3
ds[swFCPortRxTruncs].type = "COUNTER"
ds[swFCPortRxTruncs].minimal_heartbeat = 600
ds[swFCPortRxTruncs].min = 0.0000000000e+00
ds[swFCPortRxTruncs].max = NaN
ds[swFCPortRxTruncs].last_ds = "U"
ds[swFCPortRxTruncs].value = NaN
ds[swFCPortRxTruncs].unknown_sec = 3
ds[swFCPortRxTooLongs].type = "COUNTER"
ds[swFCPortRxTooLongs].minimal_heartbeat = 600
ds[swFCPortRxTooLongs].min = 0.0000000000e+00
ds[swFCPortRxTooLongs].max = NaN
ds[swFCPortRxTooLongs].last_ds = "U"
ds[swFCPortRxTooLongs].value = NaN
ds[swFCPortRxTooLongs].unknown_sec = 3
ds[swFCPortRxBadEofs].type = "COUNTER"
ds[swFCPortRxBadEofs].minimal_heartbeat = 600
ds[swFCPortRxBadEofs].min = 0.0000000000e+00
ds[swFCPortRxBadEofs].max = NaN
ds[swFCPortRxBadEofs].last_ds = "U"
ds[swFCPortRxBadEofs].value = NaN
ds[swFCPortRxBadEofs].unknown_sec = 3
rra[0].cf = "AVERAGE"
rra[0].rows = 500
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[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[0].cdp_prep[8].value = NaN
rra[0].cdp_prep[8].unknown_datapoints = 0
rra[0].cdp_prep[9].value = NaN
rra[0].cdp_prep[9].unknown_datapoints = 0
rra[0].cdp_prep[10].value = NaN
rra[0].cdp_prep[10].unknown_datapoints = 0
rra[0].cdp_prep[11].value = NaN
rra[0].cdp_prep[11].unknown_datapoints = 0
rra[1].cf = "AVERAGE"
rra[1].rows = 600
rra[1].pdp_per_row = 1
rra[1].xff = 5.0000000000e-01
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[1].cdp_prep[8].value = NaN
rra[1].cdp_prep[8].unknown_datapoints = 0
rra[1].cdp_prep[9].value = NaN
rra[1].cdp_prep[9].unknown_datapoints = 0
rra[1].cdp_prep[10].value = NaN
rra[1].cdp_prep[10].unknown_datapoints = 0
rra[1].cdp_prep[11].value = NaN
rra[1].cdp_prep[11].unknown_datapoints = 0
rra[2].cf = "AVERAGE"
rra[2].rows = 700
rra[2].pdp_per_row = 6
rra[2].xff = 5.0000000000e-01
rra[2].cdp_prep[0].value = 3.9779923560e+05
rra[2].cdp_prep[0].unknown_datapoints = 0
rra[2].cdp_prep[1].value = NaN
rra[2].cdp_prep[1].unknown_datapoints = 4
rra[2].cdp_prep[2].value = 2.3706696301e+06
rra[2].cdp_prep[2].unknown_datapoints = 0
rra[2].cdp_prep[3].value = NaN
rra[2].cdp_prep[3].unknown_datapoints = 4
rra[2].cdp_prep[4].value = NaN
rra[2].cdp_prep[4].unknown_datapoints = 4
rra[2].cdp_prep[5].value = NaN
rra[2].cdp_prep[5].unknown_datapoints = 4
rra[2].cdp_prep[6].value = NaN
rra[2].cdp_prep[6].unknown_datapoints = 4
rra[2].cdp_prep[7].value = NaN
rra[2].cdp_prep[7].unknown_datapoints = 4
rra[2].cdp_prep[8].value = NaN
rra[2].cdp_prep[8].unknown_datapoints = 4
rra[2].cdp_prep[9].value = NaN
rra[2].cdp_prep[9].unknown_datapoints = 4
rra[2].cdp_prep[10].value = NaN
rra[2].cdp_prep[10].unknown_datapoints = 4
rra[2].cdp_prep[11].value = NaN
rra[2].cdp_prep[11].unknown_datapoints = 4
rra[3].cf = "AVERAGE"
rra[3].rows = 775
rra[3].pdp_per_row = 24
rra[3].xff = 5.0000000000e-01
rra[3].cdp_prep[0].value = 4.9707464893e+05
rra[3].cdp_prep[0].unknown_datapoints = 11
rra[3].cdp_prep[1].value = NaN
rra[3].cdp_prep[1].unknown_datapoints = 16
rra[3].cdp_prep[2].value = 2.9645817235e+06
rra[3].cdp_prep[2].unknown_datapoints = 11
rra[3].cdp_prep[3].value = NaN
rra[3].cdp_prep[3].unknown_datapoints = 16
rra[3].cdp_prep[4].value = NaN
rra[3].cdp_prep[4].unknown_datapoints = 16
rra[3].cdp_prep[5].value = NaN
rra[3].cdp_prep[5].unknown_datapoints = 16
rra[3].cdp_prep[6].value = NaN
rra[3].cdp_prep[6].unknown_datapoints = 16
rra[3].cdp_prep[7].value = NaN
rra[3].cdp_prep[7].unknown_datapoints = 16
rra[3].cdp_prep[8].value = NaN
rra[3].cdp_prep[8].unknown_datapoints = 16
rra[3].cdp_prep[9].value = NaN
rra[3].cdp_prep[9].unknown_datapoints = 16
rra[3].cdp_prep[10].value = NaN
rra[3].cdp_prep[10].unknown_datapoints = 16
rra[3].cdp_prep[11].value = NaN
rra[3].cdp_prep[11].unknown_datapoints = 16
rra[4].cf = "AVERAGE"
rra[4].rows = 797
rra[4].pdp_per_row = 288
rra[4].xff = 5.0000000000e-01
rra[4].cdp_prep[0].value = 4.9707464893e+05
rra[4].cdp_prep[0].unknown_datapoints = 179
rra[4].cdp_prep[1].value = NaN
rra[4].cdp_prep[1].unknown_datapoints = 184
rra[4].cdp_prep[2].value = 2.9645817235e+06
rra[4].cdp_prep[2].unknown_datapoints = 179
rra[4].cdp_prep[3].value = NaN
rra[4].cdp_prep[3].unknown_datapoints = 184
rra[4].cdp_prep[4].value = NaN
rra[4].cdp_prep[4].unknown_datapoints = 184
rra[4].cdp_prep[5].value = NaN
rra[4].cdp_prep[5].unknown_datapoints = 184
rra[4].cdp_prep[6].value = NaN
rra[4].cdp_prep[6].unknown_datapoints = 184
rra[4].cdp_prep[7].value = NaN
rra[4].cdp_prep[7].unknown_datapoints = 184
rra[4].cdp_prep[8].value = NaN
rra[4].cdp_prep[8].unknown_datapoints = 184
rra[4].cdp_prep[9].value = NaN
rra[4].cdp_prep[9].unknown_datapoints = 184
rra[4].cdp_prep[10].value = NaN
rra[4].cdp_prep[10].unknown_datapoints = 184
rra[4].cdp_prep[11].value = NaN
rra[4].cdp_prep[11].unknown_datapoints = 184
rra[5].cf = "MAX"
rra[5].rows = 500
rra[5].pdp_per_row = 1
rra[5].xff = 5.0000000000e-01
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[5].cdp_prep[8].value = NaN
rra[5].cdp_prep[8].unknown_datapoints = 0
rra[5].cdp_prep[9].value = NaN
rra[5].cdp_prep[9].unknown_datapoints = 0
rra[5].cdp_prep[10].value = NaN
rra[5].cdp_prep[10].unknown_datapoints = 0
rra[5].cdp_prep[11].value = NaN
rra[5].cdp_prep[11].unknown_datapoints = 0
rra[6].cf = "MAX"
rra[6].rows = 600
rra[6].pdp_per_row = 1
rra[6].xff = 5.0000000000e-01
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[6].cdp_prep[2].value = NaN
rra[6].cdp_prep[2].unknown_datapoints = 0
rra[6].cdp_prep[3].value = NaN
rra[6].cdp_prep[3].unknown_datapoints = 0
rra[6].cdp_prep[4].value = NaN
rra[6].cdp_prep[4].unknown_datapoints = 0
rra[6].cdp_prep[5].value = NaN
rra[6].cdp_prep[5].unknown_datapoints = 0
rra[6].cdp_prep[6].value = NaN
rra[6].cdp_prep[6].unknown_datapoints = 0
rra[6].cdp_prep[7].value = NaN
rra[6].cdp_prep[7].unknown_datapoints = 0
rra[6].cdp_prep[8].value = NaN
rra[6].cdp_prep[8].unknown_datapoints = 0
rra[6].cdp_prep[9].value = NaN
rra[6].cdp_prep[9].unknown_datapoints = 0
rra[6].cdp_prep[10].value = NaN
rra[6].cdp_prep[10].unknown_datapoints = 0
rra[6].cdp_prep[11].value = NaN
rra[6].cdp_prep[11].unknown_datapoints = 0
rra[7].cf = "MAX"
rra[7].rows = 700
rra[7].pdp_per_row = 6
rra[7].xff = 5.0000000000e-01
rra[7].cdp_prep[0].value = 1.0007883067e+05
rra[7].cdp_prep[0].unknown_datapoints = 0
rra[7].cdp_prep[1].value = NaN
rra[7].cdp_prep[1].unknown_datapoints = 4
rra[7].cdp_prep[2].value = 5.9617619693e+05
rra[7].cdp_prep[2].unknown_datapoints = 0
rra[7].cdp_prep[3].value = NaN
rra[7].cdp_prep[3].unknown_datapoints = 4
rra[7].cdp_prep[4].value = NaN
rra[7].cdp_prep[4].unknown_datapoints = 4
rra[7].cdp_prep[5].value = NaN
rra[7].cdp_prep[5].unknown_datapoints = 4
rra[7].cdp_prep[6].value = NaN
rra[7].cdp_prep[6].unknown_datapoints = 4
rra[7].cdp_prep[7].value = NaN
rra[7].cdp_prep[7].unknown_datapoints = 4
rra[7].cdp_prep[8].value = NaN
rra[7].cdp_prep[8].unknown_datapoints = 4
rra[7].cdp_prep[9].value = NaN
rra[7].cdp_prep[9].unknown_datapoints = 4
rra[7].cdp_prep[10].value = NaN
rra[7].cdp_prep[10].unknown_datapoints = 4
rra[7].cdp_prep[11].value = NaN
rra[7].cdp_prep[11].unknown_datapoints = 4
rra[8].cf = "MAX"
rra[8].rows = 775
rra[8].pdp_per_row = 24
rra[8].xff = 5.0000000000e-01
rra[8].cdp_prep[0].value = 1.0007883067e+05
rra[8].cdp_prep[0].unknown_datapoints = 11
rra[8].cdp_prep[1].value = NaN
rra[8].cdp_prep[1].unknown_datapoints = 16
rra[8].cdp_prep[2].value = 5.9617619693e+05
rra[8].cdp_prep[2].unknown_datapoints = 11
rra[8].cdp_prep[3].value = NaN
rra[8].cdp_prep[3].unknown_datapoints = 16
rra[8].cdp_prep[4].value = NaN
rra[8].cdp_prep[4].unknown_datapoints = 16
rra[8].cdp_prep[5].value = NaN
rra[8].cdp_prep[5].unknown_datapoints = 16
rra[8].cdp_prep[6].value = NaN
rra[8].cdp_prep[6].unknown_datapoints = 16
rra[8].cdp_prep[7].value = NaN
rra[8].cdp_prep[7].unknown_datapoints = 16
rra[8].cdp_prep[8].value = NaN
rra[8].cdp_prep[8].unknown_datapoints = 16
rra[8].cdp_prep[9].value = NaN
rra[8].cdp_prep[9].unknown_datapoints = 16
rra[8].cdp_prep[10].value = NaN
rra[8].cdp_prep[10].unknown_datapoints = 16
rra[8].cdp_prep[11].value = NaN
rra[8].cdp_prep[11].unknown_datapoints = 16
rra[9].cf = "MAX"
rra[9].rows = 797
rra[9].pdp_per_row = 288
rra[9].xff = 5.0000000000e-01
rra[9].cdp_prep[0].value = 1.0007883067e+05
rra[9].cdp_prep[0].unknown_datapoints = 179
rra[9].cdp_prep[1].value = NaN
rra[9].cdp_prep[1].unknown_datapoints = 184
rra[9].cdp_prep[2].value = 5.9617619693e+05
rra[9].cdp_prep[2].unknown_datapoints = 179
rra[9].cdp_prep[3].value = NaN
rra[9].cdp_prep[3].unknown_datapoints = 184
rra[9].cdp_prep[4].value = NaN
rra[9].cdp_prep[4].unknown_datapoints = 184
rra[9].cdp_prep[5].value = NaN
rra[9].cdp_prep[5].unknown_datapoints = 184
rra[9].cdp_prep[6].value = NaN
rra[9].cdp_prep[6].unknown_datapoints = 184
rra[9].cdp_prep[7].value = NaN
rra[9].cdp_prep[7].unknown_datapoints = 184
rra[9].cdp_prep[8].value = NaN
rra[9].cdp_prep[8].unknown_datapoints = 184
rra[9].cdp_prep[9].value = NaN
rra[9].cdp_prep[9].unknown_datapoints = 184
rra[9].cdp_prep[10].value = NaN
rra[9].cdp_prep[10].unknown_datapoints = 184
rra[9].cdp_prep[11].value = NaN
rra[9].cdp_prep[11].unknown_datapoints = 184
cacti01 /opt/cacti/rra $
Now, I can change CF function in the graph to MAX, but I don't see anyone else making a comment, so am I missing something??

Wayne.
toe_cutter
Cacti User
Posts: 168
Joined: Fri Sep 12, 2008 2:41 am
Location: Sweden

Post by toe_cutter »

Only way i can see this happening is that you imported one of the old templates and created the graphs, then overwrote those templates with mine.

Youll have to either change your .rrd-files, or simply delete the .rrd-files.
As i dont know how to tune the files to add LAST, i would delete the files (and lose the history i know :/). But you could always check rrdtools documentation and see if you cant tune them.

Thanks for pointing this out to me, i am actually going to change my graph template to use AVERAGE instead and add a MAX line/area to better understand the longer time graphs (week/month/year).
regispar
Posts: 1
Joined: Tue May 26, 2009 7:34 am
Location: Brazil

Ports 12 to 32 showing status "Testing"

Post by regispar »

Hi Guys,

I downloaded the templates and graphs works well but I can not monitor ports from 12 to 32. When I try create a new graph, ports 15 and 16 for example, still with status Testing.
Any idea about this error ?

cacti 0.8.7d All patches applied.

Tks.
five0.4tluv
Posts: 18
Joined: Wed Mar 19, 2008 2:42 pm

no graphs

Post by five0.4tluv »

I'm seeing this also

ERROR: the RRD does not contain an RRA matching the chosen CF

I previously had no Brocade Templates and used the files in the post from toe_cutter Posted: Tue Apr 14, 2009 8:03 am. Anyone using these? I'm on 0.8.7d

my graph debug

RRDTool Command:

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="c1sw0 - FC I/O Traffic - port 1" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bytes per second" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/var/www/cacti/rra/c1sw0_swfcporttxwords_524.rrd":swFCPortRxWords:LAST \
DEF:b="/var/www/cacti/rra/c1sw0_swfcporttxwords_524.rrd":swFCPortTxWords:LAST \
CDEF:cdefa=a,4,* \
CDEF:cdefe=b,4,* \
AREA:cdefa#00BF47FF:"Received\:" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:cdefe#002A97FF:"Transmitted\:" \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s\n"
RRDTool Says:

ERROR: the RRD does not contain an RRA matching the chosen CF
toe_cutter
Cacti User
Posts: 168
Joined: Fri Sep 12, 2008 2:41 am
Location: Sweden

Post by toe_cutter »

Try going to the Brocade Interface graph template and edit the colored line/area and choose AVERAGE instead of LAST.
See if that helps.
five0.4tluv
Posts: 18
Joined: Wed Mar 19, 2008 2:42 pm

Post by five0.4tluv »

that makes them graph, but don't we want "last" data?
toe_cutter
Cacti User
Posts: 168
Joined: Fri Sep 12, 2008 2:41 am
Location: Sweden

Post by toe_cutter »

five0.4tluv wrote:that makes them graph, but don't we want "last" data?
Well, if you really want to use LAST, im not sure why it doesnt work.
Check your RRA's and see if its selected there? The Data Templates aswell.
Also, do post a new template if you fix it...
Did searching the rest of the forum help any?
Other than that, i dont know, earlier i thought removing the .rrd-file would fix it, but since you just now imported my templates im not sure.

Also, view the historical graphs (week/month/year) and test out the different CF's available and see the difference.
A real nice and useful addition to a graph template is to create another traffic_in/out LINE1 (give them a nice color too) and choose MAX for it, just remember to sort it underneath the other maximums and to fix the Hard return on them. Using that new line with the regular AVERAGE line will hand out the correct average for the Yearly graph (1day average iirc), AND show you the max value for that day! This is for all historical graphs except the Daily (5min or other polling time).
gatorfreak
Posts: 16
Joined: Fri Mar 27, 2009 11:09 am

Post by gatorfreak »

Below was my dumb question. Works fine for Brocade 5300. My problem was with my network blocking SNMP.
Does anyone know how to get this to work on a Brocade 5300 (branded by HP as 8/80 SAN Switch)? Works great on older 2 and 4 Gb switches.

The problem with the Brocade 5300 is that the Data Queries (Brocade FC Switch and SNMP - Interface Statistics) both return "Success [0 Items, 0 Rows]".
Different question: The graph templates have a datasource that is in words (i.e. "TX Words") with a CDEF that multiplies by 4. I want my graphs to be in bits per second.

My thinking is that the source data is in words but the author of these templates multiplied by 4 to make the resulting graphs show "bytes per second". So I changed the CDEF to multiply by 32 (4*8) to make it "bits per second". Does this sound right?
Share
Posts: 4
Joined: Wed Sep 02, 2009 5:58 am

NaNQ values in the graph and the data doesn't show up

Post by Share »

gandalf wrote:
royce wrote:Hm...
So setting Maximum Value to some higher than 100. or 0 might help us out? I cant really tell. Please investigate further, ...
Christofer,

back in the office again. Just converted all my 192 brocade rrds:

Code: Select all

rrdtool tune <dsn> --maximum <ds1>:U --maximum <ds2>:U ...
for all ds. Here's the result (see graph below, the blue areas!).
I checked all Ports on all switches: no more NaN's. So everything seems to be fine. Now will check the Data Templates. Only swFCPortTxWords has no maximum defined, all other ds have a max value of 100 (which is the default, if you create a Data Template DS).
Thank you again for your templates.

Reinhard


This is my first post and please excuse, if am missing any information.
I installed cacti 0.8.7e and trying to graph brocade equipment. Downloaded the xml templates for brocade from this thread. The issue is,

a. I see NaNQ values.
b. No Data in the graph.

Also , the year in the graph all the grapsh shows up as 0000. What do I do to fix this?

Can you please help me with this.
what other information do you need so you can help.

Share
Share
Posts: 4
Joined: Wed Sep 02, 2009 5:58 am

Post by Share »

I fixed the NaNQ and the data issues in the graph.
But, can someone help me with this graph:-

wrong year
No Max values.
I think the data that is being graphed is wrong compared to the actual throupgh through this port. this is a brocade switch.

-Share.
Share
Posts: 4
Joined: Wed Sep 02, 2009 5:58 am

Post by Share »

Sorry Forgot to attach earlier.....
Attachments
fcm1.PNG
fcm1.PNG (41.63 KiB) Viewed 8204 times
toe_cutter
Cacti User
Posts: 168
Joined: Fri Sep 12, 2008 2:41 am
Location: Sweden

Post by toe_cutter »

Share wrote:I fixed the NaNQ and the data issues in the graph.
But, can someone help me with this graph:-

wrong year
No Max values.
I think the data that is being graphed is wrong compared to the actual throupgh through this port. this is a brocade switch.

-Share.
- No max values: Youll have to change the width of the graph, theyre there, just not visible :)
- wrong year: dunno why that is, are the other graphs showing the correct year?
- wrong throughput: what kind of values should you be getting do you think? Remember that the graphs shows per 'byte', not per 'bit', so bytes*8 would give the graph a max throughput of about 480Mbit/s

Edit: I dont have access to any Brocade switches or this installation of Cacti (which is iirc 0.8.7d), so i dont know how the templates would react to 0.8.7e.
If anyone fixes them for 0.8.7e, please post them here.
Last edited by toe_cutter on Sat Sep 05, 2009 4:54 pm, edited 1 time in total.
toe_cutter
Cacti User
Posts: 168
Joined: Fri Sep 12, 2008 2:41 am
Location: Sweden

Post by toe_cutter »

gatorfreak wrote:Different question: The graph templates have a datasource that is in words (i.e. "TX Words") with a CDEF that multiplies by 4. I want my graphs to be in bits per second.

My thinking is that the source data is in words but the author of these templates multiplied by 4 to make the resulting graphs show "bytes per second". So I changed the CDEF to multiply by 32 (4*8 ) to make it "bits per second". Does this sound right?
Sounds about right, to make sure just open Calculator and do Mbyte value*8 and see if you get the same number :)
Share
Posts: 4
Joined: Wed Sep 02, 2009 5:58 am

Graphs are empty again

Post by Share »

Last night I was trying to fix the data presented by the graphs and ALl I changed was the CDEF. The graphs worked fine afterwards. But this morning, when I checked, the graphs are all empty. Poller is working fine. No errors. But the graphs wont show any data and the NaNQ's are back.

Can someone please help?


-Share
corch
Posts: 7
Joined: Wed Jul 02, 2008 6:36 pm

Post by corch »

Toe_cutter I tried importing your templates in the GUI but I get an error saying:

Error: XML: Hash version does not exist.

Any ideas?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests