Windows 2000 / 2k3 Disk Statistics
Moderators: Developers, Moderators
Cacti Version
0.8.6g
Here is the verbose query when trying to add this to the host.
Data Query Debug Information
+ Running data query [11].
+ Unknown type = '1'
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/snmp_informant_disk.xml'
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/snmp_informant_disk.xml'
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/snmp_informant_disk.xml'
0.8.6g
Here is the verbose query when trying to add this to the host.
Data Query Debug Information
+ Running data query [11].
+ Unknown type = '1'
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/snmp_informant_disk.xml'
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/snmp_informant_disk.xml'
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/snmp_informant_disk.xml'
Pls Look out this Graph
Plz Look out this Graph,
In X-axis and Y-axis no variables are there.
How to Resolve this problem or send it to graph_query.png file.
[/url]
In X-axis and Y-axis no variables are there.
How to Resolve this problem or send it to graph_query.png file.
[/url]
- Attachments
-
- graph.doc
- (140.5 KiB) Downloaded 800 times
Pls Look out this Graph
Plz Look out this Graph,
In X-axis and Y-axis no variables are there.
How to Resolve this problem or send it to graph_query.png file.
[/url]
In X-axis and Y-axis no variables are there.
How to Resolve this problem or send it to graph_query.png file.
[/url]
- Attachments
-
- graph.doc
- (140.5 KiB) Downloaded 599 times
No rrd file
Hi all,
I have followed each of the several different "solutions" in this thread. And I have reached the point where no errors turn up in "Date Source Debug Mode" or "Graph debug mode"... Except: No rrd data is ever created.
The "Data Source Debug" gives tells me:
/usr/bin/rrdtool create \
/usr/share/cacti/rra/test_avgdiskreadqueuelen_76.rrd \
--step 300 \
DS:AvgDiskWriteQueueLe:GAUGE:600:0:100 \
DS:AvgDiskWritePerSec:GAUGE:600:0:U \
DS:AvgDiskReadPerSec:GAUGE:600:0:U \
DS:PercentDiskWriteTim:GAUGE:600:0:100 \
DS:FreeMegabytes:GAUGE:600:0:U \
DS:PercentFreeSpace:GAUGE:600:0:100 \
DS:PercentDiskReadTime:GAUGE:600:0:100 \
DS:AvgDiskReadQueueLen:GAUGE:600:0:100 \
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:MIN:0.5:1:600 \
RRA:MIN:0.5:6:700 \
RRA:MIN:0.5:24:775 \
RRA:MIN: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 \
RRA:LAST:0.5:1:600 \
RRA:LAST:0.5:6:700 \
RRA:LAST:0.5:24:775 \
RRA:LAST:0.5:288:797 \
Just for fun I tried running the rrdtool command by hand, but then Graph debug mode" tells me:
ERROR: RPN stack underflow
Help is appreciated. I really would like a way to monitor disk om my win2k servers without having to user hobbit or other tools.
Do you know of any other methods or templates than the one descriped here?
Thanks
/Henrik
I have followed each of the several different "solutions" in this thread. And I have reached the point where no errors turn up in "Date Source Debug Mode" or "Graph debug mode"... Except: No rrd data is ever created.
The "Data Source Debug" gives tells me:
/usr/bin/rrdtool create \
/usr/share/cacti/rra/test_avgdiskreadqueuelen_76.rrd \
--step 300 \
DS:AvgDiskWriteQueueLe:GAUGE:600:0:100 \
DS:AvgDiskWritePerSec:GAUGE:600:0:U \
DS:AvgDiskReadPerSec:GAUGE:600:0:U \
DS:PercentDiskWriteTim:GAUGE:600:0:100 \
DS:FreeMegabytes:GAUGE:600:0:U \
DS:PercentFreeSpace:GAUGE:600:0:100 \
DS:PercentDiskReadTime:GAUGE:600:0:100 \
DS:AvgDiskReadQueueLen:GAUGE:600:0:100 \
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:MIN:0.5:1:600 \
RRA:MIN:0.5:6:700 \
RRA:MIN:0.5:24:775 \
RRA:MIN: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 \
RRA:LAST:0.5:1:600 \
RRA:LAST:0.5:6:700 \
RRA:LAST:0.5:24:775 \
RRA:LAST:0.5:288:797 \
Just for fun I tried running the rrdtool command by hand, but then Graph debug mode" tells me:
ERROR: RPN stack underflow
Help is appreciated. I really would like a way to monitor disk om my win2k servers without having to user hobbit or other tools.
Do you know of any other methods or templates than the one descriped here?
Thanks
/Henrik
kokkers, in your post you wrote:
My Data Source Debug says:
Anyone know how to fix this?
Thanks
- Andrew
I am having this problem too, how did you fix it? (Or does anyone else know how to fix this issue?)- Cacti would somehow not create the corresponding RRD's (even after waiting a few cycles, fiddled some more and got it fixed)
My Data Source Debug says:
and the Graph Debug says/usr/bin/rrdtool create \
/var/www/localhost/htdocs/cacti/rra/ard682_avgdiskwritequeuele_380.rrd \
--step 300 \
DS:AvgDiskWritePerSec:GAUGE:600:0:U \
DS:FreeMegabytes:GAUGE:600:0:U \
DS:AvgDiskReadPerSec:GAUGE:600:0:U \
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 \
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:MIN:0.5:1:600 \
RRA:MIN:0.5:6:700 \
RRA:MIN:0.5:24:775 \
RRA:MIN: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 \
RRA:LAST:0.5:1:600 \
RRA:LAST:0.5:6:700 \
RRA:LAST:0.5:24:775 \
RRA:LAST:0.5:288:797 \
and sure enough if I go to that directory, there is no *avgdiskwritequeuele* file there.ERROR: opening '/var/www/localhost/htdocs/cacti/rra/ard682_avgdiskwritequeuele_380.rrd': No such file or directory
Anyone know how to fix this?
Thanks
- Andrew
Never mind, I figured it out myself.
I had to go to "Data Queries", click "SNMP - Informant Disk Statistics"
Under "Associated Graph Templates" I clicked on "Disk Statistics"
Then under "Associated Data Templates", I matched all the drop down boxes to their correct values, and placed ticks in all the checkboxes too.
Clicked Save.
I then deleted the graph I had already created for my device (along with its data sources) and recreated it.
After a few minutes it was drawing the graph nicely.
Hope this helps anyone else who has this same problem about the rrds not being created.
- Andrew
I had to go to "Data Queries", click "SNMP - Informant Disk Statistics"
Under "Associated Graph Templates" I clicked on "Disk Statistics"
Then under "Associated Data Templates", I matched all the drop down boxes to their correct values, and placed ticks in all the checkboxes too.
Clicked Save.
I then deleted the graph I had already created for my device (along with its data sources) and recreated it.
After a few minutes it was drawing the graph nicely.
Hope this helps anyone else who has this same problem about the rrds not being created.
- Andrew
-
- Posts: 35
- Joined: Sat May 13, 2006 2:07 am
- Location: Philadelphia Area
Does anyone have this working correctly?
I have this:
cacti 0.8.6h + patched files
cactid 0.8.6g
mysql 5.0.21
php 5.1.4
rrdtool 1.2.12
For some reason, my graph will display freespace (mb), and nothing else.
I have tried every graph template in this thread, but the only thing my graph will display is freespace information.
Disk reads and writes (which is what I really want) will never display (I have tried this many times, fully removing all templates and deleting the rrd's, rebuilding poller cache, etc.....
I could really use some help in troubleshooting this. Thanks.
rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="DGTDC01 - Disk Stats E:" \
--rigid \
--base=1000 \
--height=200 \
--width=1000 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="Unit (Percent / time slice)" \
--slope-mode \
--font TITLE:10:c:\rrdtool\fonts\trebucbd.ttf \
--font AXIS:8.8:c:\rrdtool\fonts\trebucbd.ttf \
--font LEGEND:9:c:\rrdtool\fonts\trebuc.ttf \
--font UNIT:8.5:c:\rrdtool\fonts\trebuc.ttf \
DEF:a="c\:/Inetpub/wwwroot/cacti/rra/dgtdc01_freemegabytes_131.rrd":PercentDiskReadTime:LAST \
DEF:b="c\:/Inetpub/wwwroot/cacti/rra/dgtdc01_freemegabytes_131.rrd":PercentDiskWriteTim:LAST \
DEF:c="c\:/Inetpub/wwwroot/cacti/rra/dgtdc01_freemegabytes_131.rrd":AvgDiskReadQueueLen:LAST \
DEF:d="c\:/Inetpub/wwwroot/cacti/rra/dgtdc01_freemegabytes_131.rrd":AvgDiskWriteQueueLe:LAST \
DEF:e="c\:/Inetpub/wwwroot/cacti/rra/dgtdc01_freemegabytes_131.rrd":PercentFreeSpace:LAST \
DEF:f="c\:/Inetpub/wwwroot/cacti/rra/dgtdc01_freemegabytes_131.rrd":PercentDiskReadTime:LAST \
DEF:g="c\:/Inetpub/wwwroot/cacti/rra/dgtdc01_freemegabytes_131.rrd":AvgDiskReadPerSec:LAST \
DEF:h="c\:/Inetpub/wwwroot/cacti/rra/dgtdc01_freemegabytes_131.rrd":AvgDiskWritePerSec:LAST \
DEF:i="c\:/Inetpub/wwwroot/cacti/rra/dgtdc01_freemegabytes_131.rrd":PercentFreeSpace:LAST \
DEF:j="c\:/Inetpub/wwwroot/cacti/rra/dgtdc01_freemegabytes_131.rrd":FreeMegabytes:LAST \
DEF:ba="c\:/Inetpub/wwwroot/cacti/rra/dgtdc01_freemegabytes_131.rrd":FreeMegabytes:LAST \
DEF:bb="c\:/Inetpub/wwwroot/cacti/rra/dgtdc01_freemegabytes_131.rrd":FreeMegabytes:LAST \
CDEF:cdefbd=bb,1024,/ \
CDEF:cdefdc=bb,1048576,/ \
CDEF:cdefdd=a,0,*,100,+ \
AREA:f#FF6044:"Read Time(%)" \
AREA:b#00BED9:"Write Time(%)" \
LINE1:c#F5F800:"Read Queue\:" \
LINE1:d#00FF00:"Write Queue\:\n" \
LINE2:i#000000:"" \
LINE1:f#000000:"" \
LINE1:g#0000FF:"Read /s\:" \
LINE1:h#DE0056:"Write /s" \
LINE1:i#000000:"Free Space (%)\n" \
COMMENT:"Statistics" \
GPRINT:f:LAST:" Read\: (%1.1lf %%)" \
GPRINTLAST:"Write\: (%1.1lf %%)" \
GPRINT:i:LAST:"Free\: (%1.1lf %%)" \
GPRINT:cdefbd:LAST:"Available \: %5.2lf Gb\n" \
LINE1:bb#FAFD9E:"Available\:" \
COMMENT:"Read IO / sec\:" \
GPRINT:g:LAST:" Current\:%8.0lf" \
GPRINT:g:AVERAGE:"Average\:%8.0lf" \
GPRINT:g:MAX:"Maximum\:%8.0lf\n" \
COMMENT:"Write IO / sec\:" \
GPRINT:h:LAST:" Current\:%8.0lf" \
GPRINT:h:AVERAGE:"Average\:%8.0lf" \
GPRINT:h: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" \
LINE1:bb#FF00FF:"Free Space (Mb)" \
COMMENT:"Write Queue\:" \
GPRINT:d:LAST:" Current\:%8.0lf" \
GPRINT:d:AVERAGE:"Average\:%8.0lf" \
GPRINT:d:MAX:"Maximum\:%8.0lf\n" \
LINE1:cdefdc#FF6044:"" \
LINE1:cdefdd#FFFFFF:""
Thanks
Jesse
I have this:
cacti 0.8.6h + patched files
cactid 0.8.6g
mysql 5.0.21
php 5.1.4
rrdtool 1.2.12
For some reason, my graph will display freespace (mb), and nothing else.
I have tried every graph template in this thread, but the only thing my graph will display is freespace information.
Disk reads and writes (which is what I really want) will never display (I have tried this many times, fully removing all templates and deleting the rrd's, rebuilding poller cache, etc.....
I could really use some help in troubleshooting this. Thanks.
rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="DGTDC01 - Disk Stats E:" \
--rigid \
--base=1000 \
--height=200 \
--width=1000 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="Unit (Percent / time slice)" \
--slope-mode \
--font TITLE:10:c:\rrdtool\fonts\trebucbd.ttf \
--font AXIS:8.8:c:\rrdtool\fonts\trebucbd.ttf \
--font LEGEND:9:c:\rrdtool\fonts\trebuc.ttf \
--font UNIT:8.5:c:\rrdtool\fonts\trebuc.ttf \
DEF:a="c\:/Inetpub/wwwroot/cacti/rra/dgtdc01_freemegabytes_131.rrd":PercentDiskReadTime:LAST \
DEF:b="c\:/Inetpub/wwwroot/cacti/rra/dgtdc01_freemegabytes_131.rrd":PercentDiskWriteTim:LAST \
DEF:c="c\:/Inetpub/wwwroot/cacti/rra/dgtdc01_freemegabytes_131.rrd":AvgDiskReadQueueLen:LAST \
DEF:d="c\:/Inetpub/wwwroot/cacti/rra/dgtdc01_freemegabytes_131.rrd":AvgDiskWriteQueueLe:LAST \
DEF:e="c\:/Inetpub/wwwroot/cacti/rra/dgtdc01_freemegabytes_131.rrd":PercentFreeSpace:LAST \
DEF:f="c\:/Inetpub/wwwroot/cacti/rra/dgtdc01_freemegabytes_131.rrd":PercentDiskReadTime:LAST \
DEF:g="c\:/Inetpub/wwwroot/cacti/rra/dgtdc01_freemegabytes_131.rrd":AvgDiskReadPerSec:LAST \
DEF:h="c\:/Inetpub/wwwroot/cacti/rra/dgtdc01_freemegabytes_131.rrd":AvgDiskWritePerSec:LAST \
DEF:i="c\:/Inetpub/wwwroot/cacti/rra/dgtdc01_freemegabytes_131.rrd":PercentFreeSpace:LAST \
DEF:j="c\:/Inetpub/wwwroot/cacti/rra/dgtdc01_freemegabytes_131.rrd":FreeMegabytes:LAST \
DEF:ba="c\:/Inetpub/wwwroot/cacti/rra/dgtdc01_freemegabytes_131.rrd":FreeMegabytes:LAST \
DEF:bb="c\:/Inetpub/wwwroot/cacti/rra/dgtdc01_freemegabytes_131.rrd":FreeMegabytes:LAST \
CDEF:cdefbd=bb,1024,/ \
CDEF:cdefdc=bb,1048576,/ \
CDEF:cdefdd=a,0,*,100,+ \
AREA:f#FF6044:"Read Time(%)" \
AREA:b#00BED9:"Write Time(%)" \
LINE1:c#F5F800:"Read Queue\:" \
LINE1:d#00FF00:"Write Queue\:\n" \
LINE2:i#000000:"" \
LINE1:f#000000:"" \
LINE1:g#0000FF:"Read /s\:" \
LINE1:h#DE0056:"Write /s" \
LINE1:i#000000:"Free Space (%)\n" \
COMMENT:"Statistics" \
GPRINT:f:LAST:" Read\: (%1.1lf %%)" \
GPRINTLAST:"Write\: (%1.1lf %%)" \
GPRINT:i:LAST:"Free\: (%1.1lf %%)" \
GPRINT:cdefbd:LAST:"Available \: %5.2lf Gb\n" \
LINE1:bb#FAFD9E:"Available\:" \
COMMENT:"Read IO / sec\:" \
GPRINT:g:LAST:" Current\:%8.0lf" \
GPRINT:g:AVERAGE:"Average\:%8.0lf" \
GPRINT:g:MAX:"Maximum\:%8.0lf\n" \
COMMENT:"Write IO / sec\:" \
GPRINT:h:LAST:" Current\:%8.0lf" \
GPRINT:h:AVERAGE:"Average\:%8.0lf" \
GPRINT:h: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" \
LINE1:bb#FF00FF:"Free Space (Mb)" \
COMMENT:"Write Queue\:" \
GPRINT:d:LAST:" Current\:%8.0lf" \
GPRINT:d:AVERAGE:"Average\:%8.0lf" \
GPRINT:d:MAX:"Maximum\:%8.0lf\n" \
LINE1:cdefdc#FF6044:"" \
LINE1:cdefdd#FFFFFF:""
Thanks
Jesse
-
- Posts: 35
- Joined: Sat May 13, 2006 2:07 am
- Location: Philadelphia Area
-
- Posts: 35
- Joined: Sat May 13, 2006 2:07 am
- Location: Philadelphia Area
I found the answer here:
http://forums.cacti.net/about12468.html
The part about;
auto scale = off , alt-sclae-max = on
yesss! |,,|
http://forums.cacti.net/about12468.html
The part about;
auto scale = off , alt-sclae-max = on
yesss! |,,|
- Attachments
-
- win32DiskStats_working.png (61.46 KiB) Viewed 17744 times
-
- Posts: 35
- Joined: Sat May 13, 2006 2:07 am
- Location: Philadelphia Area
OK.. Great so it builds Graphs for C: and E:.....
It also builds the Total graph...only its blank....NO lines or areas at all.
RRDTool Command:
rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="DGTDC01 - Disk Stats _Total" \
--rigid \
--base=1000 \
--height=250 \
--width=1100 \
--upper-limit=100 \
--lower-limit=0 \
--vertical-label="Unit (Percent / time slice)" \
--slope-mode \
--font TITLE:10:c:\rrdtool\fonts\trebucbd.ttf \
--font AXIS:8.8:c:\rrdtool\fonts\trebucbd.ttf \
--font LEGEND:9:c:\rrdtool\fonts\trebuc.ttf \
--font UNIT:8.5:c:\rrdtool\fonts\trebuc.ttf \
DEF:a="c\:/Inetpub/wwwroot/cacti/rra/dgtdc01_freemegabytes_130.rrd":PercentFreeSpace:LAST \
DEF:b="c\:/Inetpub/wwwroot/cacti/rra/dgtdc01_freemegabytes_130.rrd":PercentDiskReadTime:LAST \
DEF:c="c\:/Inetpub/wwwroot/cacti/rra/dgtdc01_freemegabytes_130.rrd":PercentDiskReadTime:LAST \
DEF:d="c\:/Inetpub/wwwroot/cacti/rra/dgtdc01_freemegabytes_130.rrd":AvgDiskReadPerSec:LAST \
DEF:e="c\:/Inetpub/wwwroot/cacti/rra/dgtdc01_freemegabytes_130.rrd":PercentDiskWriteTim:LAST \
DEF:f="c\:/Inetpub/wwwroot/cacti/rra/dgtdc01_freemegabytes_130.rrd":PercentDiskWriteTim:LAST \
DEF:g="c\:/Inetpub/wwwroot/cacti/rra/dgtdc01_freemegabytes_130.rrd":AvgDiskWritePerSec:LAST \
DEF:h="c\:/Inetpub/wwwroot/cacti/rra/dgtdc01_freemegabytes_130.rrd":FreeMegabytes:LAST \
DEF:i="c\:/Inetpub/wwwroot/cacti/rra/dgtdc01_freemegabytes_130.rrd":PercentFreeSpace:LAST \
DEF:j="c\:/Inetpub/wwwroot/cacti/rra/dgtdc01_freemegabytes_130.rrd":AvgDiskReadQueueLen:LAST \
DEF:ba="c\:/Inetpub/wwwroot/cacti/rra/dgtdc01_freemegabytes_130.rrd":AvgDiskWriteQueueLe:LAST \
CDEF:cdefbj=h,1024,/ \
CDEF:cdefca=h,1048576,/ \
AREA:i#E8CDEF:"Free Space (%)\n" \
AREA:c#9FA4EE:"Read Time(%)" \
LINE1:c#6557D0:"" \
LINE2:d#4668E4:"Read per second\n" \
AREA:f#74C366:"Write Time(%)" \
LINE1:f#6EA100:"" \
LINE2:g#00BF47:"Write per second\n" \
COMMENT:"Read IO / sec\:" \
GPRINT:d:LAST:"Current\:%8.0lf" \
GPRINT:d:AVERAGE:"Average\:%8.0lf" \
GPRINT:d:MAX:"Maximum\:%8.0lf\n" \
COMMENT:"Write IO / sec\:" \
GPRINT:g:LAST:"Current\:%8.0lf" \
GPRINT:g:AVERAGE:"Average\:%8.0lf" \
GPRINT:g:MAX:"Maximum\:%8.0lf\n" \
COMMENT:"Quick Disk Statistics\:" \
GPRINT:c:LAST:"Read\: (%1.1lf %%)" \
GPRINT:f:LAST:"Write\: (%1.1lf %%)" \
GPRINT:i:LAST:"Free\: (%1.1lf %%)" \
GPRINT:cdefbj:LAST:"Available\: %5.2lf Gb\n" \
LINE1:cdefca#DE0056:"Free Space" \
LINE1:i#ED5394:"Free Space (%)" \
LINE1:j#FFFF00:"" \
LINE1:ba#FFC73B:""
RRDTool Says:
OK
Data Source Debug
rrdtool.exe create \
c:/Inetpub/wwwroot/cacti/rra/dgtdc01_freemegabytes_130.rrd \
--step 300 \
DS:AvgDiskReadPerSec:GAUGE:600:0:U \
DS:AvgDiskWritePerSec:GAUGE:600:0:U \
DS:FreeMegabytes:GAUGE:600:0:U \
DS:AvgDiskWriteQueueLe:GAUGE:600:0:100 \
DS:AvgDiskReadQueueLen:GAUGE:600:0:100 \
DS:PercentFreeSpace:GAUGE:600:0:100 \
DS:PercentDiskReadTime:GAUGE:600:0:100 \
DS:PercentDiskWriteTim:GAUGE:600:0:100 \
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:MIN:0.5:1:600 \
RRA:MIN:0.5:6:700 \
RRA:MIN:0.5:24:775 \
RRA:MIN: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 \
RRA:LAST:0.5:1:600 \
RRA:LAST:0.5:6:700 \
RRA:LAST:0.5:24:775 \
RRA:LAST:0.5:288:797 \
It also builds the Total graph...only its blank....NO lines or areas at all.
RRDTool Command:
rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="DGTDC01 - Disk Stats _Total" \
--rigid \
--base=1000 \
--height=250 \
--width=1100 \
--upper-limit=100 \
--lower-limit=0 \
--vertical-label="Unit (Percent / time slice)" \
--slope-mode \
--font TITLE:10:c:\rrdtool\fonts\trebucbd.ttf \
--font AXIS:8.8:c:\rrdtool\fonts\trebucbd.ttf \
--font LEGEND:9:c:\rrdtool\fonts\trebuc.ttf \
--font UNIT:8.5:c:\rrdtool\fonts\trebuc.ttf \
DEF:a="c\:/Inetpub/wwwroot/cacti/rra/dgtdc01_freemegabytes_130.rrd":PercentFreeSpace:LAST \
DEF:b="c\:/Inetpub/wwwroot/cacti/rra/dgtdc01_freemegabytes_130.rrd":PercentDiskReadTime:LAST \
DEF:c="c\:/Inetpub/wwwroot/cacti/rra/dgtdc01_freemegabytes_130.rrd":PercentDiskReadTime:LAST \
DEF:d="c\:/Inetpub/wwwroot/cacti/rra/dgtdc01_freemegabytes_130.rrd":AvgDiskReadPerSec:LAST \
DEF:e="c\:/Inetpub/wwwroot/cacti/rra/dgtdc01_freemegabytes_130.rrd":PercentDiskWriteTim:LAST \
DEF:f="c\:/Inetpub/wwwroot/cacti/rra/dgtdc01_freemegabytes_130.rrd":PercentDiskWriteTim:LAST \
DEF:g="c\:/Inetpub/wwwroot/cacti/rra/dgtdc01_freemegabytes_130.rrd":AvgDiskWritePerSec:LAST \
DEF:h="c\:/Inetpub/wwwroot/cacti/rra/dgtdc01_freemegabytes_130.rrd":FreeMegabytes:LAST \
DEF:i="c\:/Inetpub/wwwroot/cacti/rra/dgtdc01_freemegabytes_130.rrd":PercentFreeSpace:LAST \
DEF:j="c\:/Inetpub/wwwroot/cacti/rra/dgtdc01_freemegabytes_130.rrd":AvgDiskReadQueueLen:LAST \
DEF:ba="c\:/Inetpub/wwwroot/cacti/rra/dgtdc01_freemegabytes_130.rrd":AvgDiskWriteQueueLe:LAST \
CDEF:cdefbj=h,1024,/ \
CDEF:cdefca=h,1048576,/ \
AREA:i#E8CDEF:"Free Space (%)\n" \
AREA:c#9FA4EE:"Read Time(%)" \
LINE1:c#6557D0:"" \
LINE2:d#4668E4:"Read per second\n" \
AREA:f#74C366:"Write Time(%)" \
LINE1:f#6EA100:"" \
LINE2:g#00BF47:"Write per second\n" \
COMMENT:"Read IO / sec\:" \
GPRINT:d:LAST:"Current\:%8.0lf" \
GPRINT:d:AVERAGE:"Average\:%8.0lf" \
GPRINT:d:MAX:"Maximum\:%8.0lf\n" \
COMMENT:"Write IO / sec\:" \
GPRINT:g:LAST:"Current\:%8.0lf" \
GPRINT:g:AVERAGE:"Average\:%8.0lf" \
GPRINT:g:MAX:"Maximum\:%8.0lf\n" \
COMMENT:"Quick Disk Statistics\:" \
GPRINT:c:LAST:"Read\: (%1.1lf %%)" \
GPRINT:f:LAST:"Write\: (%1.1lf %%)" \
GPRINT:i:LAST:"Free\: (%1.1lf %%)" \
GPRINT:cdefbj:LAST:"Available\: %5.2lf Gb\n" \
LINE1:cdefca#DE0056:"Free Space" \
LINE1:i#ED5394:"Free Space (%)" \
LINE1:j#FFFF00:"" \
LINE1:ba#FFC73B:""
RRDTool Says:
OK
Data Source Debug
rrdtool.exe create \
c:/Inetpub/wwwroot/cacti/rra/dgtdc01_freemegabytes_130.rrd \
--step 300 \
DS:AvgDiskReadPerSec:GAUGE:600:0:U \
DS:AvgDiskWritePerSec:GAUGE:600:0:U \
DS:FreeMegabytes:GAUGE:600:0:U \
DS:AvgDiskWriteQueueLe:GAUGE:600:0:100 \
DS:AvgDiskReadQueueLen:GAUGE:600:0:100 \
DS:PercentFreeSpace:GAUGE:600:0:100 \
DS:PercentDiskReadTime:GAUGE:600:0:100 \
DS:PercentDiskWriteTim:GAUGE:600:0:100 \
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:MIN:0.5:1:600 \
RRA:MIN:0.5:6:700 \
RRA:MIN:0.5:24:775 \
RRA:MIN: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 \
RRA:LAST:0.5:1:600 \
RRA:LAST:0.5:6:700 \
RRA:LAST:0.5:24:775 \
RRA:LAST:0.5:288:797 \
- Attachments
-
- win32DiskStat_Total.png (31.85 KiB) Viewed 17729 times
A little help please :
I run my Cacti Version 0.8.6f on a Windows 2000 server .
After I imported the "cacti_graph_template_w32_disk_statistics.xml" and "cacti_data_query_snmp_informant_disk_statistics.xml" .
I found the error message, which is "Error: XML: Hash version does not exist."
Is there any where I should modified ?
I run my Cacti Version 0.8.6f on a Windows 2000 server .
After I imported the "cacti_graph_template_w32_disk_statistics.xml" and "cacti_data_query_snmp_informant_disk_statistics.xml" .
I found the error message, which is "Error: XML: Hash version does not exist."
Is there any where I should modified ?
Hi
I have this error:
c:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Server - Disk - C:" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="Unit (Percent / time slice)" \
--slope-mode \
DEF:a="C\:/wwwroot/cacti/rra/server_avgdiskwritequeuele_75.rrd":PercentDiskReadTime:LAST \
DEF:b="C\:/wwwroot/cacti/rra/server_avgdiskwritequeuele_75.rrd":PercentDiskWriteTim:LAST \
DEF:c="C\:/wwwroot/cacti/rra/server_avgdiskwritequeuele_75.rrd":AvgDiskReadQueueLen:LAST \
DEF:d="C\:/wwwroot/cacti/rra/server_avgdiskwritequeuele_75.rrd":AvgDiskWriteQueueLe:LAST \
DEF:e="C\:/wwwroot/cacti/rra/server_avgdiskwritequeuele_75.rrd":PercentFreeSpace:LAST \
DEF:f="C\:/wwwroot/cacti/rra/server_avgdiskwritequeuele_75.rrd":PercentDiskReadTime:LAST \
DEF:g="C\:/wwwroot/cacti/rra/server_avgdiskwritequeuele_75.rrd":AvgDiskReadPerSec:LAST \
DEF:h="C\:/wwwroot/cacti/rra/server_avgdiskwritequeuele_75.rrd":AvgDiskWritePerSec:LAST \
DEF:i="C\:/wwwroot/cacti/rra/server_avgdiskwritequeuele_75.rrd":PercentFreeSpace:LAST \
DEF:j="C\:/wwwroot/cacti/rra/server_avgdiskwritequeuele_75.rrd":FreeMegabytes:LAST \
DEF:ba="C\:/wwwroot/cacti/rra/server_avgdiskwritequeuele_75.rrd":FreeMegabytes:LAST \
CDEF:cdefbe=ba,1024,/ \
CDEF:cdefdc=ba,1048576,/ \
CDEF:cdefdd=a,0,*,100,+ \
AREA:f#FF6044:"Read Time(%)" \
AREA:b#00BED9:"Write Time(%)" \
LINE1:c#F5F800:"Read Queue\:" \
LINE1:d#00FF00:"Write Queue\:\n" \
LINE2:i#000000:"" \
LINE1:f#000000:"" \
LINE1:g#0000FF:"Read /s\:" \
LINE1:h#DE0056:"Write /s" \
LINE1:i#000000:"Free Space (%)\n" \
COMMENT:"Statistics" \
GPRINT:f:LAST:" Read\: (%1.1lf %%)" \
GPRINTLAST:"Write\: (%1.1lf %%)" \
GPRINT:i:LAST:"Free\: (%1.1lf %%)" \
LINE1:ba:"Available\:" \
GPRINT:cdefbe:AVERAGE:" Available \: %5.2lf Gb\n" \
COMMENT:"Read IO / sec\:" \
GPRINT:g:LAST:" Current\:%8.0lf" \
GPRINT:g:AVERAGE:"Average\:%8.0lf" \
GPRINT:g:MAX:"Maximum\:%8.0lf\n" \
COMMENT:"Write IO / sec\:" \
GPRINT:h:LAST:" Current\:%8.0lf" \
GPRINT:h:AVERAGE:"Average\:%8.0lf" \
GPRINT:h:MAX:"Maximum\:%8.0lf\n" \
COMMENT:"Read Queue\:" \
GPRINT:c:LAST:" Current\:%8.0lf" \
GPRINT:c:AVERAGE:"Average\:%8.0lf" \
LINE1::"Free Space (Mb)" \
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:"" \
LINE1:cdefdd#FFFFFF:""
RRDTool Says:
ERROR: Legend set but no color: Available\:
I have this error:
c:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Server - Disk - C:" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="Unit (Percent / time slice)" \
--slope-mode \
DEF:a="C\:/wwwroot/cacti/rra/server_avgdiskwritequeuele_75.rrd":PercentDiskReadTime:LAST \
DEF:b="C\:/wwwroot/cacti/rra/server_avgdiskwritequeuele_75.rrd":PercentDiskWriteTim:LAST \
DEF:c="C\:/wwwroot/cacti/rra/server_avgdiskwritequeuele_75.rrd":AvgDiskReadQueueLen:LAST \
DEF:d="C\:/wwwroot/cacti/rra/server_avgdiskwritequeuele_75.rrd":AvgDiskWriteQueueLe:LAST \
DEF:e="C\:/wwwroot/cacti/rra/server_avgdiskwritequeuele_75.rrd":PercentFreeSpace:LAST \
DEF:f="C\:/wwwroot/cacti/rra/server_avgdiskwritequeuele_75.rrd":PercentDiskReadTime:LAST \
DEF:g="C\:/wwwroot/cacti/rra/server_avgdiskwritequeuele_75.rrd":AvgDiskReadPerSec:LAST \
DEF:h="C\:/wwwroot/cacti/rra/server_avgdiskwritequeuele_75.rrd":AvgDiskWritePerSec:LAST \
DEF:i="C\:/wwwroot/cacti/rra/server_avgdiskwritequeuele_75.rrd":PercentFreeSpace:LAST \
DEF:j="C\:/wwwroot/cacti/rra/server_avgdiskwritequeuele_75.rrd":FreeMegabytes:LAST \
DEF:ba="C\:/wwwroot/cacti/rra/server_avgdiskwritequeuele_75.rrd":FreeMegabytes:LAST \
CDEF:cdefbe=ba,1024,/ \
CDEF:cdefdc=ba,1048576,/ \
CDEF:cdefdd=a,0,*,100,+ \
AREA:f#FF6044:"Read Time(%)" \
AREA:b#00BED9:"Write Time(%)" \
LINE1:c#F5F800:"Read Queue\:" \
LINE1:d#00FF00:"Write Queue\:\n" \
LINE2:i#000000:"" \
LINE1:f#000000:"" \
LINE1:g#0000FF:"Read /s\:" \
LINE1:h#DE0056:"Write /s" \
LINE1:i#000000:"Free Space (%)\n" \
COMMENT:"Statistics" \
GPRINT:f:LAST:" Read\: (%1.1lf %%)" \
GPRINTLAST:"Write\: (%1.1lf %%)" \
GPRINT:i:LAST:"Free\: (%1.1lf %%)" \
LINE1:ba:"Available\:" \
GPRINT:cdefbe:AVERAGE:" Available \: %5.2lf Gb\n" \
COMMENT:"Read IO / sec\:" \
GPRINT:g:LAST:" Current\:%8.0lf" \
GPRINT:g:AVERAGE:"Average\:%8.0lf" \
GPRINT:g:MAX:"Maximum\:%8.0lf\n" \
COMMENT:"Write IO / sec\:" \
GPRINT:h:LAST:" Current\:%8.0lf" \
GPRINT:h:AVERAGE:"Average\:%8.0lf" \
GPRINT:h:MAX:"Maximum\:%8.0lf\n" \
COMMENT:"Read Queue\:" \
GPRINT:c:LAST:" Current\:%8.0lf" \
GPRINT:c:AVERAGE:"Average\:%8.0lf" \
LINE1::"Free Space (Mb)" \
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:"" \
LINE1:cdefdd#FFFFFF:""
RRDTool Says:
ERROR: Legend set but no color: Available\:
Visit my web site: http://www.websat-telecom.com
ERROR: can't parse ':Free Space (Mb)'
All,
Your help would be wonderful in this. I have uploaded all the information, cacti actually creates my graphs, but the graph is not displayed on the page. Looking at my apached logs I see this error.
ERROR: can't parse ':Free Space (Mb)'
Any Ideas
Also when when I add my SNMP Informant Disk statistics I only see 5 rows. I am running 0.8.6h cacti on Linux.
Thanks in advance.
Your help would be wonderful in this. I have uploaded all the information, cacti actually creates my graphs, but the graph is not displayed on the page. Looking at my apached logs I see this error.
ERROR: can't parse ':Free Space (Mb)'
Any Ideas
Also when when I add my SNMP Informant Disk statistics I only see 5 rows. I am running 0.8.6h cacti on Linux.
Thanks in advance.
graph not show
Does anyone encounter this when doing this?
Does this mean the graph won't show ?
Does this mean the graph won't show ?
- Attachments
-
- SNMP-informant.jpg (33.98 KiB) Viewed 17046 times
Who is online
Users browsing this forum: No registered users and 6 guests