I had the same problems, must be something wrong.joshm wrote:Just upgraded to H and it seems to have killed all existing graphs for this template.... Any ideas? At a glance it appears everything else went ok with the upgrade.
-Josh
Windows 2000 / 2k3 Disk Statistics
Moderators: Developers, Moderators
Upgrade to H killed stats
Good morning,
I upgraded to version H over the weekend and the dist stats seems to be having an issue.
when I turn on Graph Debug Mode, I get the following error.
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="db1caldca - Disk - C:" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="Unit" \
DEF:a="/var/www/cacti/rra/db1caldca_avgdiskwritepersec_375.rrd":PercentDiskWriteTim:LAST \
DEF:b="/var/www/cacti/rra/db1caldca_avgdiskwritepersec_375.rrd":PercentDiskReadTime:LAST \
DEF:c="/var/www/cacti/rra/db1caldca_avgdiskwritepersec_375.rrd":AvgDiskReadQueueLen:LAST \
DEF:d="/var/www/cacti/rra/db1caldca_avgdiskwritepersec_375.rrd":AvgDiskWriteQueueLe:LAST \
DEF:e="/var/www/cacti/rra/db1caldca_avgdiskwritepersec_375.rrd":PercentFreeSpace:LAST \
DEF:f="/var/www/cacti/rra/db1caldca_avgdiskwritepersec_375.rrd":PercentDiskReadTime:LAST \
DEF:g="/var/www/cacti/rra/db1caldca_avgdiskwritepersec_375.rrd":PercentFreeSpace:LAST \
DEF:h="/var/www/cacti/rra/db1caldca_avgdiskwritepersec_375.rrd":FreeMegabytes:LAST \
DEF:i="/var/www/cacti/rra/db1caldca_avgdiskwritepersec_375.rrd":AvgDiskReadPerSec:LAST \
DEF:j="/var/www/cacti/rra/db1caldca_avgdiskwritepersec_375.rrd":AvgDiskWritePerSec:LAST \
CDEF:cdefbc=h,1024,/ \
CDEF:cdefdc=a,0,*,100,+ \
AREA:a#2175D9:"Write Time(%)" \
AREA:f#8D85F3:"Read Time(%)" \
LINE1:c#FF0000:"Read Queue\:" \
LINE1:d#00FF00:"Write Queue\:" \
LINE2:g#000000:"" \
LINE1:f#000000:"" \
LINE1:g#FF5F00:"Free Space (%)\n" \
COMMENT:"Statistics" \
GPRINT:f:LAST:" Read\: (%1.1lf %%)" \
GPRINTLAST:"Write\: (%1.1lf %%)" \
GPRINT:g:LAST:"Free\: (%1.1lf %%)" \
LINE1:h:"Available\:" \
GPRINT:cdefbc:LAST:" Available\: %5.2lf Gb\n" \
COMMENT:"Read IO / sec:" \
LINE1:i:"Read /s\:\n" \
GPRINT:i:LAST:" Current\:%8.0lf" \
GPRINT:i:AVERAGE:"Average\:%8.0lf" \
GPRINT:i:MAX:"Maximum\:%8.0lf\n" \
COMMENT:"Write IO / sec:" \
LINE1:j:"Write /s" \
GPRINT:j:LAST:" Current\:%8.0lf" \
GPRINT:j:AVERAGE:"Average\:%8.0lf" \
GPRINT:j:MAX:"Maximum\:%8.0lf\n" \
LINE1::"Free Space (Mb)" \
COMMENT:"Read Queue:" \
GPRINT:c:LAST:" Current\:%8.0lf" \
GPRINT:c:AVERAGE:"Average\:%8.0lf" \
GPRINT:c:MAX:"Maximum\:%8.0lf\n" \
COMMENT:"Write Queue:" \
GPRINT:d:LAST:" Current\:%8.0lf" \
GPRINT:d:AVERAGE:"Average\:%8.0lf" \
GPRINT:d:MAX:"Maximum\:%8.0lf\n" \
LINE1:cdefdc#FFFFFF:""
RRDTool Says:
ERROR: can't parse ':Free Space (Mb)'
I upgraded to version H over the weekend and the dist stats seems to be having an issue.
when I turn on Graph Debug Mode, I get the following error.
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="db1caldca - Disk - C:" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="Unit" \
DEF:a="/var/www/cacti/rra/db1caldca_avgdiskwritepersec_375.rrd":PercentDiskWriteTim:LAST \
DEF:b="/var/www/cacti/rra/db1caldca_avgdiskwritepersec_375.rrd":PercentDiskReadTime:LAST \
DEF:c="/var/www/cacti/rra/db1caldca_avgdiskwritepersec_375.rrd":AvgDiskReadQueueLen:LAST \
DEF:d="/var/www/cacti/rra/db1caldca_avgdiskwritepersec_375.rrd":AvgDiskWriteQueueLe:LAST \
DEF:e="/var/www/cacti/rra/db1caldca_avgdiskwritepersec_375.rrd":PercentFreeSpace:LAST \
DEF:f="/var/www/cacti/rra/db1caldca_avgdiskwritepersec_375.rrd":PercentDiskReadTime:LAST \
DEF:g="/var/www/cacti/rra/db1caldca_avgdiskwritepersec_375.rrd":PercentFreeSpace:LAST \
DEF:h="/var/www/cacti/rra/db1caldca_avgdiskwritepersec_375.rrd":FreeMegabytes:LAST \
DEF:i="/var/www/cacti/rra/db1caldca_avgdiskwritepersec_375.rrd":AvgDiskReadPerSec:LAST \
DEF:j="/var/www/cacti/rra/db1caldca_avgdiskwritepersec_375.rrd":AvgDiskWritePerSec:LAST \
CDEF:cdefbc=h,1024,/ \
CDEF:cdefdc=a,0,*,100,+ \
AREA:a#2175D9:"Write Time(%)" \
AREA:f#8D85F3:"Read Time(%)" \
LINE1:c#FF0000:"Read Queue\:" \
LINE1:d#00FF00:"Write Queue\:" \
LINE2:g#000000:"" \
LINE1:f#000000:"" \
LINE1:g#FF5F00:"Free Space (%)\n" \
COMMENT:"Statistics" \
GPRINT:f:LAST:" Read\: (%1.1lf %%)" \
GPRINTLAST:"Write\: (%1.1lf %%)" \
GPRINT:g:LAST:"Free\: (%1.1lf %%)" \
LINE1:h:"Available\:" \
GPRINT:cdefbc:LAST:" Available\: %5.2lf Gb\n" \
COMMENT:"Read IO / sec:" \
LINE1:i:"Read /s\:\n" \
GPRINT:i:LAST:" Current\:%8.0lf" \
GPRINT:i:AVERAGE:"Average\:%8.0lf" \
GPRINT:i:MAX:"Maximum\:%8.0lf\n" \
COMMENT:"Write IO / sec:" \
LINE1:j:"Write /s" \
GPRINT:j:LAST:" Current\:%8.0lf" \
GPRINT:j:AVERAGE:"Average\:%8.0lf" \
GPRINT:j:MAX:"Maximum\:%8.0lf\n" \
LINE1::"Free Space (Mb)" \
COMMENT:"Read Queue:" \
GPRINT:c:LAST:" Current\:%8.0lf" \
GPRINT:c:AVERAGE:"Average\:%8.0lf" \
GPRINT:c:MAX:"Maximum\:%8.0lf\n" \
COMMENT:"Write Queue:" \
GPRINT:d:LAST:" Current\:%8.0lf" \
GPRINT:d:AVERAGE:"Average\:%8.0lf" \
GPRINT:d:MAX:"Maximum\:%8.0lf\n" \
LINE1:cdefdc#FFFFFF:""
RRDTool Says:
ERROR: can't parse ':Free Space (Mb)'
I apologize for not getting back sooner, it's been a busy new years.DEF:a="/var/www/cacti/rra/db1caldca_avgdiskwritepersec_375.rrd":PercentDiskWriteTim:LAST \
DEF:b="/var/www/cacti/rra/db1caldca_avgdiskwritepersec_375.rrd":PercentDiskReadTime:LAST \
DEF:c="/var/www/cacti/rra/db1caldca_avgdiskwritepersec_375.rrd":AvgDiskReadQueueLen:LAST \
DEF:d="/var/www/cacti/rra/db1caldca_avgdiskwritepersec_375.rrd":AvgDiskWriteQueueLe:LAST \
DEF:e="/var/www/cacti/rra/db1caldca_avgdiskwritepersec_375.rrd":PercentFreeSpace:LAST \
DEF:f="/var/www/cacti/rra/db1caldca_avgdiskwritepersec_375.rrd":PercentDiskReadTime:LAST \
DEF:g="/var/www/cacti/rra/db1caldca_avgdiskwritepersec_375.rrd":PercentFreeSpace:LAST \
DEF:h="/var/www/cacti/rra/db1caldca_avgdiskwritepersec_375.rrd":FreeMegabytes:LAST \
DEF:i="/var/www/cacti/rra/db1caldca_avgdiskwritepersec_375.rrd":AvgDiskReadPerSec:LAST \
DEF:j="/var/www/cacti/rra/db1caldca_avgdiskwritepersec_375.rrd":AvgDiskWritePerSec:LAST \
It looks like the Data Source matching for the graph got screwed up. I have not had any time to upgrade to the newest Cacti release. Off the top of my head, go into "Graph Management", click on the graph and question, and then set the Data Sources to the correct values. Like
Data Source [AvgDiskReadPerSec] = HOSTNAME - Disk Stats - E: (AvgDiskReadPerSec)
That should work.
[size=84][color=red] Electronic Frontier Foundation[/color]
[url]http://eff.org[/url][/size]
[url]http://eff.org[/url][/size]
Weired thing is I can't save them except FreeMegabytes, I used to change the graph template to see what's wrong, but I have already re-import the original one.
I think I found some problem, for whatever reason, new 0.8.6h version doesn't let those comments, Gprint graph item handle their index value like disk C, D, E, F ... this is caused graph doesn't display, so if u delete all these non area or line field, graph will be displayed, but I don't know how to fixed the original XML to get full graph displayed.
I think I found some problem, for whatever reason, new 0.8.6h version doesn't let those comments, Gprint graph item handle their index value like disk C, D, E, F ... this is caused graph doesn't display, so if u delete all these non area or line field, graph will be displayed, but I don't know how to fixed the original XML to get full graph displayed.
- Attachments
-
- Snap1.gif (8.99 KiB) Viewed 19600 times
-
- Snap2.gif (33.57 KiB) Viewed 19600 times
I have an interesting problem w/ this graph:
I have everything working, no errors, but the Free Space (Mb) comes back as 0 all the time.
I have checked the query .xml file for the OID and snmpwalked it to get the correct return value, I have also set the log to medium and watched it say it returned the correct value, but that value is not making it to my graph.
The data sources match up in the graph, and they match up in the query as well.. am I missing something?
I setup a separate data source/template for SNMP (unindexed) and pointed it to that oid, and it graphs fine.. but i still get a 0 value from the original graph..
I have everything working, no errors, but the Free Space (Mb) comes back as 0 all the time.
I have checked the query .xml file for the OID and snmpwalked it to get the correct return value, I have also set the log to medium and watched it say it returned the correct value, but that value is not making it to my graph.
The data sources match up in the graph, and they match up in the query as well.. am I missing something?
I setup a separate data source/template for SNMP (unindexed) and pointed it to that oid, and it graphs fine.. but i still get a 0 value from the original graph..
^
chkaotic
chkaotic
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Re: Upgrade to H killed stats
Just a note to the template developer. This is an issue, because in 0.8.6h, we change the way graph items are processed. Items which did not have a color in the past would not be rendered on the graph, this behavor has changed, they are now rendered. Also RRDTool 1.0.x is more forgiving in the syntax, but 1.2.x is not.s24sean wrote:Good morning,
I upgraded to version H over the weekend and the dist stats seems to be having an issue.
when I turn on Graph Debug Mode, I get the following error.
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="db1caldca - Disk - C:" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="Unit" \
DEF:a="/var/www/cacti/rra/db1caldca_avgdiskwritepersec_375.rrd":PercentDiskWriteTim:LAST \
DEF:b="/var/www/cacti/rra/db1caldca_avgdiskwritepersec_375.rrd":PercentDiskReadTime:LAST \
DEF:c="/var/www/cacti/rra/db1caldca_avgdiskwritepersec_375.rrd":AvgDiskReadQueueLen:LAST \
DEF:d="/var/www/cacti/rra/db1caldca_avgdiskwritepersec_375.rrd":AvgDiskWriteQueueLe:LAST \
DEF:e="/var/www/cacti/rra/db1caldca_avgdiskwritepersec_375.rrd":PercentFreeSpace:LAST \
DEF:f="/var/www/cacti/rra/db1caldca_avgdiskwritepersec_375.rrd":PercentDiskReadTime:LAST \
DEF:g="/var/www/cacti/rra/db1caldca_avgdiskwritepersec_375.rrd":PercentFreeSpace:LAST \
DEF:h="/var/www/cacti/rra/db1caldca_avgdiskwritepersec_375.rrd":FreeMegabytes:LAST \
DEF:i="/var/www/cacti/rra/db1caldca_avgdiskwritepersec_375.rrd":AvgDiskReadPerSec:LAST \
DEF:j="/var/www/cacti/rra/db1caldca_avgdiskwritepersec_375.rrd":AvgDiskWritePerSec:LAST \
CDEF:cdefbc=h,1024,/ \
CDEF:cdefdc=a,0,*,100,+ \
AREA:a#2175D9:"Write Time(%)" \
AREA:f#8D85F3:"Read Time(%)" \
LINE1:c#FF0000:"Read Queue\:" \
LINE1:d#00FF00:"Write Queue\:" \
LINE2:g#000000:"" \
LINE1:f#000000:"" \
LINE1:g#FF5F00:"Free Space (%)\n" \
COMMENT:"Statistics" \
GPRINT:f:LAST:" Read\: (%1.1lf %%)" \
GPRINTLAST:"Write\: (%1.1lf %%)" \
GPRINT:g:LAST:"Free\: (%1.1lf %%)" \
LINE1:h:"Available\:" \
GPRINT:cdefbc:LAST:" Available\: %5.2lf Gb\n" \
COMMENT:"Read IO / sec:" \
LINE1:i:"Read /s\:\n" \
GPRINT:i:LAST:" Current\:%8.0lf" \
GPRINT:i:AVERAGE:"Average\:%8.0lf" \
GPRINT:i:MAX:"Maximum\:%8.0lf\n" \
COMMENT:"Write IO / sec:" \
LINE1:j:"Write /s" \
GPRINT:j:LAST:" Current\:%8.0lf" \
GPRINT:j:AVERAGE:"Average\:%8.0lf" \
GPRINT:j:MAX:"Maximum\:%8.0lf\n" \
LINE1::"Free Space (Mb)" \
COMMENT:"Read Queue:" \
GPRINT:c:LAST:" Current\:%8.0lf" \
GPRINT:c:AVERAGE:"Average\:%8.0lf" \
GPRINT:c:MAX:"Maximum\:%8.0lf\n" \
COMMENT:"Write Queue:" \
GPRINT:d:LAST:" Current\:%8.0lf" \
GPRINT:d:AVERAGE:"Average\:%8.0lf" \
GPRINT:d:MAX:"Maximum\:%8.0lf\n" \
LINE1:cdefdc#FFFFFF:""
RRDTool Says:
ERROR: can't parse ':Free Space (Mb)'
Please contact me so that I can help with this situation.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Re: Upgrade to H killed stats
that's what I wanna know the changes between g and h, because everything point to version h for the problem of this graph, anyway, is that change is the only change for graph between those two version? I feel some other cross reference for subitem has been lost.rony wrote: Just a note to the template developer. This is an issue, because in 0.8.6h, we change the way graph items are processed. Items which did not have a color in the past would not be rendered on the graph, this behavor has changed, they are now rendered. Also RRDTool 1.0.x is more forgiving in the syntax, but 1.2.x is not.
Please contact me so that I can help with this situation.
I don't think rrdtool 1.2.x is the reason to cause this problem because previous 0.8.6g is using 1.2.x .
Just downloaded and tried out - got an error to do with no colour assigned to various graphed variables.
Went to the template and chose some colours for the line variables...
Also the FreeMB variable had no data source associated with it so had to associate the w32 - disk statistics (Free Megabytes) source, all done from graph template...
seems to be working... time will tell...
At least I've now worked out how to graph multiple CPUs on the same graph... I think...
Went to the template and chose some colours for the line variables...
Also the FreeMB variable had no data source associated with it so had to associate the w32 - disk statistics (Free Megabytes) source, all done from graph template...
seems to be working... time will tell...
At least I've now worked out how to graph multiple CPUs on the same graph... I think...
No longer a n00by, probably, by now an 0ldby
Now Head of Technology at RSCH, back to the prickly subject of Monitorring....
Now Head of Technology at RSCH, back to the prickly subject of Monitorring....
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Here's the scoop...
In version previous to 0.8.6h, graph items that did not have a color assigned, that where of the types: LINE123, AREA and STACK, where not passed to rrdtool as items on the graph, but the defs where still added.
In version after and including 0.8.6h, graph items that do have have a color are rendered on the graph. This change was to allow for more functional graphs to be created. I made some attempts to fix broken graphs, which did fix most issues for people. But this template, and they way it's written, don't play nice with the new constraints.
I can only suggest that the graph templates be updated to work properly with 0.8.6h, as this change will not be reversed.
In version previous to 0.8.6h, graph items that did not have a color assigned, that where of the types: LINE123, AREA and STACK, where not passed to rrdtool as items on the graph, but the defs where still added.
In version after and including 0.8.6h, graph items that do have have a color are rendered on the graph. This change was to allow for more functional graphs to be created. I made some attempts to fix broken graphs, which did fix most issues for people. But this template, and they way it's written, don't play nice with the new constraints.
I can only suggest that the graph templates be updated to work properly with 0.8.6h, as this change will not be reversed.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
sooner after adding on colors to all elements, everything go back to normal except the FreeMegabytes, I can't make it work because no matter what I put on, it always show 0.00Gb and the value of data is exist in rrd file, for some how the cacti just can't pick it up.
Found the problem
CACTI2RRD: D:/rrdtool_cygwin/rrdtool.exe graph - --imgformat=PNG --start=1138511460 --end=1138597860 --title="Mainserver - Disk Stats E:" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2006/01/29 16\:11\:00 To 2006/01/30 16\:11\:00\c" COMMENT:" \n" --vertical-label="Unit (Percent / time slice)" --slope-mode
DEF:a="G:\cacti/rra/mainserver_avgdiskwritequeuele_82.rrd":PercentDiskWriteTim:LAST
DEF:b="G:\cacti/rra/mainserver_avgdiskwritequeuele_82.rrd":PercentDiskReadTime:LAST
DEF:c="G:\cacti/rra/mainserver_avgdiskwritequeuele_82.rrd":AvgDiskReadQueueLen:LAST
DEF:d="G:\cacti/rra/mainserver_avgdiskwritequeuele_82.rrd":AvgDiskWriteQueueLe:LAST
DEF:e="G:\cacti/rra/mainserver_avgdiskwritequeuele_82.rrd":PercentFreeSpace:LAST
DEF:f="G:\cacti/rra/mainserver_avgdiskwritequeuele_82.rrd":PercentDiskReadTime:LAST
DEF:g="G:\cacti/rra/mainserver_avgdiskwritequeuele_82.rrd":PercentFreeSpace:LAST
DEF:h="G:\cacti/rra/mainserver_avgdiskwritequeuele_82.rrd":AvgDiskReadPerSec:LAST
DEF:i="G:\cacti/rra/mainserver_avgdiskwritequeuele_82.rrd":AvgDiskWritePerSec:LAST CDEF:cdefbb=a,1024,/ AREA:a#2175D9:"Write Time(%)" AREA:f#FF6044:"Read Time(%)" LINE1:c#F5F800:"Read Queue\:" LINE1:d#00FF00:"Write Queue\:" LINE2:g#000000:"" LINE1:f#00A348:"" LINE1:g#002A97:"Free Space (%)\n" COMMENT:"Statistics" GPRINT:f:LAST:" Read\: (%1.1lf %%)" GPRINTLAST:"Write\: (%1.1lf %%)" GPRINT:g:LAST:"Free\: (%1.1lf %%)" GPRINT:cdefbb:AVERAGE:"Available \: %5.2lf Gb\n" <---- (this should refer to FreeMegaBytes) COMMENT:"Read IO / sec\:" LINE1:h#8F9286:"Read /s\:" GPRINT:h:LAST:" Current\:%8.0lf" GPRINT:h:AVERAGE:"Average\:%8.0lf" GPRINT:h:MAX:"Maximum\:%8.0lf\n" COMMENT:"Write IO / sec\:" LINE1:i#FF6044:"Write /s" GPRINT:i:LAST:" Current\:%8.0lf" GPRINT:i:AVERAGE:"Average\:%8.0lf" GPRINT:i:MAX:"Maximum\:%8.0lf\n" COMMENT:"Read Queue\:" GPRINT:c:LAST:"Current\:%8.0lf" GPRINT:c:AVERAGE:"Average\:%8.0lf" GPRINT:c:MAX:"Maximum\:%8.0lf\n" COMMENT:"Write Queue\:" GPRINT:d:LAST:"Current\:%8.0lf" GPRINT:d:AVERAGE:"Average\:%8.0lf" GPRINT:d:MAX:"Maximum\:%8.0lf\n"
it's looks like a bug, if any item doesn't display by AREA, LINE, then it won't go to DEF lists, then any GPrint use the item will just reference the first DEF one, that's certainly not right. see the red color text you see what I mean.
Found the problem
CACTI2RRD: D:/rrdtool_cygwin/rrdtool.exe graph - --imgformat=PNG --start=1138511460 --end=1138597860 --title="Mainserver - Disk Stats E:" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2006/01/29 16\:11\:00 To 2006/01/30 16\:11\:00\c" COMMENT:" \n" --vertical-label="Unit (Percent / time slice)" --slope-mode
DEF:a="G:\cacti/rra/mainserver_avgdiskwritequeuele_82.rrd":PercentDiskWriteTim:LAST
DEF:b="G:\cacti/rra/mainserver_avgdiskwritequeuele_82.rrd":PercentDiskReadTime:LAST
DEF:c="G:\cacti/rra/mainserver_avgdiskwritequeuele_82.rrd":AvgDiskReadQueueLen:LAST
DEF:d="G:\cacti/rra/mainserver_avgdiskwritequeuele_82.rrd":AvgDiskWriteQueueLe:LAST
DEF:e="G:\cacti/rra/mainserver_avgdiskwritequeuele_82.rrd":PercentFreeSpace:LAST
DEF:f="G:\cacti/rra/mainserver_avgdiskwritequeuele_82.rrd":PercentDiskReadTime:LAST
DEF:g="G:\cacti/rra/mainserver_avgdiskwritequeuele_82.rrd":PercentFreeSpace:LAST
DEF:h="G:\cacti/rra/mainserver_avgdiskwritequeuele_82.rrd":AvgDiskReadPerSec:LAST
DEF:i="G:\cacti/rra/mainserver_avgdiskwritequeuele_82.rrd":AvgDiskWritePerSec:LAST CDEF:cdefbb=a,1024,/ AREA:a#2175D9:"Write Time(%)" AREA:f#FF6044:"Read Time(%)" LINE1:c#F5F800:"Read Queue\:" LINE1:d#00FF00:"Write Queue\:" LINE2:g#000000:"" LINE1:f#00A348:"" LINE1:g#002A97:"Free Space (%)\n" COMMENT:"Statistics" GPRINT:f:LAST:" Read\: (%1.1lf %%)" GPRINTLAST:"Write\: (%1.1lf %%)" GPRINT:g:LAST:"Free\: (%1.1lf %%)" GPRINT:cdefbb:AVERAGE:"Available \: %5.2lf Gb\n" <---- (this should refer to FreeMegaBytes) COMMENT:"Read IO / sec\:" LINE1:h#8F9286:"Read /s\:" GPRINT:h:LAST:" Current\:%8.0lf" GPRINT:h:AVERAGE:"Average\:%8.0lf" GPRINT:h:MAX:"Maximum\:%8.0lf\n" COMMENT:"Write IO / sec\:" LINE1:i#FF6044:"Write /s" GPRINT:i:LAST:" Current\:%8.0lf" GPRINT:i:AVERAGE:"Average\:%8.0lf" GPRINT:i:MAX:"Maximum\:%8.0lf\n" COMMENT:"Read Queue\:" GPRINT:c:LAST:"Current\:%8.0lf" GPRINT:c:AVERAGE:"Average\:%8.0lf" GPRINT:c:MAX:"Maximum\:%8.0lf\n" COMMENT:"Write Queue\:" GPRINT:d:LAST:"Current\:%8.0lf" GPRINT:d:AVERAGE:"Average\:%8.0lf" GPRINT:d:MAX:"Maximum\:%8.0lf\n"
it's looks like a bug, if any item doesn't display by AREA, LINE, then it won't go to DEF lists, then any GPrint use the item will just reference the first DEF one, that's certainly not right. see the red color text you see what I mean.
you need add a FreeMegabytes as a Line/Area/Stack item to your graph, then the number will shows correctlychkaotic wrote:I have an interesting problem w/ this graph:
I have everything working, no errors, but the Free Space (Mb) comes back as 0 all the time.
dust2k wrote:sooner after adding on colors to all elements, everything go back to normal except the FreeMegabytes, I can't make it work because no matter what I put on, it always show 0.00Gb and the value of data is exist in rrd file, for some how the cacti just can't pick it up.
Any chance you could export your now color selected and fixed template that u fixed yourself?
Thanks
-Josh
Who is online
Users browsing this forum: No registered users and 3 guests