Windows 2000 / 2k3 Disk Statistics

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

Moderators: Developers, Moderators

Post Reply
User avatar
Darwin
Posts: 27
Joined: Mon May 27, 2002 10:34 am
Location: Montreal, QC
Contact:

Post by Darwin »

Hmmm... I'm wondering if this is the same problem I encountered when trying out the templates on a fresh 0.8.7 installation.

Can you guys post a corresponding data source debug?
econ
Posts: 11
Joined: Fri Nov 16, 2007 7:20 pm

Post by econ »

econ wrote:I upgraded to 0.8.7a and now all my disk stats have a vertical axis of showing 1e+00 and etc. I have attached a screenshot of the problem. Has anyone run into anything similar?
Has anyone ever run into this after upgrading to 0.8.7a?
Attachments
cacti.jpg
cacti.jpg (37.66 KiB) Viewed 26986 times
slech
Cacti User
Posts: 90
Joined: Tue Nov 06, 2007 7:51 am

Post by slech »

its work from someone ?
[size=75]
[color=green]|Cacti 0.87|[/color][color=green]|PA 1.3|[/color][color=green]|Poller cmd.php|[/color][color=green]|IIS 6.0|[/color][color=green]|PHP Version 5.2.4|[/color][color=green]|MySQL 5.0.27|[/color][color=green]|RRDtool 1.2.15|[/color][/size]
[color=brown]|Thold 0.3.8 |[/color] [color=red]|Zond 0.34 |[/color]
[url=http://forums.cacti.net/viewtopic.php?t=15067][size=75]Complete List of Cacti Scripts and Templates[/size][/url]
[url=http://forums.cacti.net/viewtopic.php?t=14985][size=75]Currently Known Plugins[/size][/url]
JediRookie
Posts: 2
Joined: Tue Dec 11, 2007 12:34 pm

Post by JediRookie »

I have it working but the graph legends are all messed up. The error i am receiving is the following whenever i try and add the graph to another device.

No more variables left in this MIB View (It is past the end of the MIB tree)
User avatar
RCK
Cacti User
Posts: 54
Joined: Fri Jan 26, 2007 12:38 pm

Post by RCK »

econ wrote:I upgraded to 0.8.7a and now all my disk stats have a vertical axis of showing 1e+00 and etc. I have attached a screenshot of the problem. Has anyone run into anything similar?
After a fresh install of Darwin's scripts (nov 14, 2007) on a cacti 0.8.7a, I have exactly the same problem.
Last edited by RCK on Fri Jan 11, 2008 5:59 am, edited 1 time in total.
Cacti: 0.8.7g | Spine: 0.8.7g
Plugins: RRDclean - Weathermap - Thold - Realtime
My Template: ApacheStats 0.8.2 (multiple RRD, Low disk usage, Script Server)
User avatar
RCK
Cacti User
Posts: 54
Joined: Fri Jan 26, 2007 12:38 pm

Post by RCK »

econ wrote:I upgraded to 0.8.7a and now all my disk stats have a vertical axis of showing 1e+00 and etc. I have attached a screenshot of the problem. Has anyone run into anything similar?
After a fresh install of Darwin's scripts (nov 14, 2007) on a cacti 0.8.7a, I have exactly the same problem.
Darwin wrote:Hmmm... I'm wondering if this is the same problem I encountered when trying out the templates on a fresh 0.8.7 installation.
Did you find a solution ?
Darwin wrote:Can you guys post a corresponding data source debug?
Data Source Debug

/usr/bin/rrdtool create \
/var/www/cacti/cacti-0.8.7a/rra/ad1_avgdiskwritequeuele_382.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:FreeMegabytes:GAUGE:600:0:U \
DS:AvgDiskWritePerSec:GAUGE:600:0:U \
DS:AvgDiskReadPerSec:GAUGE:600:0:U \
RRA:AVERAGE:0.5:1:51840 \
RRA:AVERAGE:0.5:24:2160 \
RRA:AVERAGE:0.5:6:8736 \
RRA:AVERAGE:0.5:288:797 \
RRA:MIN:0.5:1:51840 \
RRA:MIN:0.5:24:2160 \
RRA:MIN:0.5:6:8736 \
RRA:MIN:0.5:288:797 \
RRA:MAX:0.5:1:51840 \
RRA:MAX:0.5:24:2160 \
RRA:MAX:0.5:6:8736 \
RRA:MAX:0.5:288:797 \
RRA:LAST:0.5:1:51840 \
RRA:LAST:0.5:24:2160 \
RRA:LAST:0.5:6:8736 \
RRA:LAST:0.5:288:797 \
Last edited by RCK on Fri Jan 11, 2008 5:59 am, edited 1 time in total.
Cacti: 0.8.7g | Spine: 0.8.7g
Plugins: RRDclean - Weathermap - Thold - Realtime
My Template: ApacheStats 0.8.2 (multiple RRD, Low disk usage, Script Server)
User avatar
RCK
Cacti User
Posts: 54
Joined: Fri Jan 26, 2007 12:38 pm

I found the solution !

Post by RCK »

I simply uncheck the "Logarithmic Scaling" option that was imported in the "Graph Templates" -> "W32 - Disk Statistics" :D
Last edited by RCK on Fri Jan 11, 2008 5:57 am, edited 1 time in total.
Cacti: 0.8.7g | Spine: 0.8.7g
Plugins: RRDclean - Weathermap - Thold - Realtime
My Template: ApacheStats 0.8.2 (multiple RRD, Low disk usage, Script Server)
slech
Cacti User
Posts: 90
Joined: Tue Nov 06, 2007 7:51 am

Post by slech »

Don't work for me

Image
[size=75]
[color=green]|Cacti 0.87|[/color][color=green]|PA 1.3|[/color][color=green]|Poller cmd.php|[/color][color=green]|IIS 6.0|[/color][color=green]|PHP Version 5.2.4|[/color][color=green]|MySQL 5.0.27|[/color][color=green]|RRDtool 1.2.15|[/color][/size]
[color=brown]|Thold 0.3.8 |[/color] [color=red]|Zond 0.34 |[/color]
[url=http://forums.cacti.net/viewtopic.php?t=15067][size=75]Complete List of Cacti Scripts and Templates[/size][/url]
[url=http://forums.cacti.net/viewtopic.php?t=14985][size=75]Currently Known Plugins[/size][/url]
cinergi
Posts: 10
Joined: Mon Jan 24, 2005 6:36 pm

Post by cinergi »

ABX wrote:After the upgrade to 0.8.7 I get the

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

Error.
This appears to be a bug in 0.8.7a. I've left a note here http://forums.cacti.net/viewtopic.php?p=122144#122144 -- but for now, you can change the graph template's AREA and LINE items from a CF of LAST to AVERAGE and that'll fix the problem.
[size=75]Cacti 0.8.7a|Spine 0.8.7a|RRDTool 1.2.26 (win32)|MySQL 5.0.45 (x64)|Net-SNMP 5.4.1-3 (win32)|PHP 5.2.5|Windows Server 2003 SE x64[/size]
cinergi
Posts: 10
Joined: Mon Jan 24, 2005 6:36 pm

Post by cinergi »

econ wrote:
econ wrote:I upgraded to 0.8.7a and now all my disk stats have a vertical axis of showing 1e+00 and etc. I have attached a screenshot of the problem. Has anyone run into anything similar?
Has anyone ever run into this after upgrading to 0.8.7a?
I have a NEW 0.8.7a installation, and I'm seeing it. What I did to fix that was to CHECK the "SI Units for Logarithmic Scaling" in the graph template.
[size=75]Cacti 0.8.7a|Spine 0.8.7a|RRDTool 1.2.26 (win32)|MySQL 5.0.45 (x64)|Net-SNMP 5.4.1-3 (win32)|PHP 5.2.5|Windows Server 2003 SE x64[/size]
User avatar
Darwin
Posts: 27
Joined: Mon May 27, 2002 10:34 am
Location: Montreal, QC
Contact:

Post by Darwin »

Hmmm...

Okay, I've just tried the templates on a brand new 0.8.7a installation also.

---

To make it work, there's two things I had to do:

1a) Console -> Management -> Data Sources -> RRAs

Go into Daily/Weekly/Monthly/Yearly and enable MIN/LAST in all of these.

1b) As an alternative, select "Use custom RRA settings from the template" when importing the graph template, which will import the correct RRA settings.

(This step should correct the errors about "ERROR: the RRD does not contain an RRA matching the chosen CF ")

---

2) As mentionned already by some, in Console -> Templates -> Graph Templates -> W32 - Disk Statistics

Make sure "Logarithmic Scaling (--logarithmic)" is NOT enabled. The y-axis should show from 0-100 correctly afterwards.

With these two steps, it seems to me things should work okay. I've also uploaded the corrected/new version of the graph template in my previous post, which should at least remove the need to do step #2.
IRC: Verilium / irc.freenode.net
ABX
Cacti User
Posts: 68
Joined: Thu Mar 01, 2007 5:55 am

Post by ABX »

Darwin wrote:Hmmm...

Okay, I've just tried the templates on a brand new 0.8.7a installation also.

---

To make it work, there's two things I had to do:

1a) Console -> Management -> Data Sources -> RRAs

Go into Daily/Weekly/Monthly/Yearly and enable MIN/LAST in all of these.
This solved all my problems.
Huzzahh!
sp1r1t
Posts: 1
Joined: Tue Mar 04, 2008 8:29 am
Location: Russia

Post by sp1r1t »

for me not work :(

Code: Select all

+ Running data query [10].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/usr/local/www/cacti/resource/snmp_queries/snmp_informant_disk.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.9600.1.1.1.1.1'
+ No SNMP data returned
+ Found data query XML file at '/usr/local/www/cacti/resource/snmp_queries/snmp_informant_disk.xml'
+ Found data query XML file at '/usr/local/www/cacti/resource/snmp_queries/snmp_informant_disk.xml'
+ Found data query XML file at '/usr/local/www/cacti/resource/snmp_queries/snmp_informant_disk.xml'

Code: Select all

snmpwalk -v 2c -c public 192.168.2.50 .1.3.6.1.4.1.9600.1.1.1.1.1
enterprises.9600.1.1.1.1.1.2.67.58 = "C:"
enterprises.9600.1.1.1.1.1.6.95.84.111.116.97.108 = "_Total"
WinXP (or 2003) and cacti Version 0.8.7b
flame_bug
Posts: 1
Joined: Fri Nov 11, 2005 1:20 am

help me

Post by flame_bug »

RRDTool Command:

/usr/local/rrdtool/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="syslog - 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: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/www/htdocs/cacti/rra/syslog_avgdiskreadpersec_177.rrd":PercentDiskReadTime:LAST \
DEF:b="/www/htdocs/cacti/rra/syslog_avgdiskreadpersec_177.rrd":PercentDiskReadTime:MAX \
DEF:c="/www/htdocs/cacti/rra/syslog_avgdiskreadpersec_177.rrd":PercentDiskWriteTim:LAST \
DEF:d="/www/htdocs/cacti/rra/syslog_avgdiskreadpersec_177.rrd":PercentDiskWriteTim:MAX \
DEF:e="/www/htdocs/cacti/rra/syslog_avgdiskreadpersec_177.rrd":AvgDiskReadPerSec:LAST \
DEF:f="/www/htdocs/cacti/rra/syslog_avgdiskreadpersec_177.rrd":AvgDiskReadPerSec:MAX \
DEF:g="/www/htdocs/cacti/rra/syslog_avgdiskreadpersec_177.rrd":AvgDiskWritePerSec:LAST \
DEF:h="/www/htdocs/cacti/rra/syslog_avgdiskreadpersec_177.rrd":AvgDiskWritePerSec:MAX \
DEF:i="/www/htdocs/cacti/rra/syslog_avgdiskreadpersec_177.rrd":AvgDiskReadQueueLen:LAST \
DEF:j="/www/htdocs/cacti/rra/syslog_avgdiskreadpersec_177.rrd":AvgDiskReadQueueLen:MAX \
DEF:ba="/www/htdocs/cacti/rra/syslog_avgdiskreadpersec_177.rrd":AvgDiskWriteQueueLe:LAST \
DEF:bb="/www/htdocs/cacti/rra/syslog_avgdiskreadpersec_177.rrd":AvgDiskWriteQueueLe:MAX \
AREA:a#8D85F3FF:"Read Time(%)" \
GPRINT:a:LAST:" Current\: (%1.1lf %%)" \
GPRINT:b:AVERAGE:"Average\: (%1.1lf %%)" \
GPRINT:b:MAX:"Maximum\: (%1.1lf %%)\n" \
AREA:c#96E78AFF:"Write Time(%)" \
GPRINT:c:LAST:" Current\: (%1.1lf %%)" \
GPRINT:d:AVERAGE:"Average\: (%1.1lf %%)" \
GPRINT:d:MAX:"Maximum\: (%1.1lf %%)\n" \
LINE1:e#005199FF:"Disk Reads/sec\:" \
GPRINT:e:LAST:" Current\:%8.0lf" \
GPRINT:f:AVERAGE:"Average\:%8.0lf" \
GPRINT:f:MAX:"Maximum\:%8.0lf\n" \
LINE1:g#00BF47FF:"Disk Writes/sec\:" \
GPRINT:g:LAST:"Current\:%8.0lf" \
GPRINT:h:AVERAGE:"Average\:%8.0lf" \
GPRINT:h:MAX:"Maximum\:%8.0lf\n" \
LINE1:i#FF0000FF:"Read Queue\:" \
GPRINT:i:LAST:" Current\:%8.0lf" \
GPRINT:j:AVERAGE:"Average\:%8.0lf" \
GPRINT:j:MAX:"Maximum\:%8.0lf\n" \
LINE1:ba#EA8F00FF:"Write Queue\:" \
GPRINT:ba:LAST:" Current\:%8.0lf" \
GPRINT:bb:AVERAGE:"Average\:%8.0lf" \
GPRINT:bb:MAX:"Maximum\:%8.0lf\n"
RRDTool Says:

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

cacti ver0.86b
techlog2007
Posts: 5
Joined: Thu Mar 06, 2008 3:56 am

Graph not working..

Post by techlog2007 »

I'm trying to monitor diskspace on WIN XP client from my cacti server - CentOS 5. I'm able to configure everything as the people says in this forum but not getting graph displayed.
==================================
GRAPH SOURCE

/usr/local/rrdtool-1.2/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="PC2 - Disk - C:" \
--rigid \
--base=1000 \
--height=160 \
--width=500 \
--upper-limit=100 \
--lower-limit=1 \
--vertical-label="Unit (Percent / time slice)" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/var/www/html/cacti/rra/pc2_avgdiskwritequeuele_37.rrd":PercentFreeSpace:LAST \
DEF:b="/var/www/html/cacti/rra/pc2_avgdiskwritequeuele_37.rrd":PercentFreeSpace:AVERAGE \
DEF:c="/var/www/html/cacti/rra/pc2_avgdiskwritequeuele_37.rrd":FreeMegabytes:AVERAGE \
DEF:d="/var/www/html/cacti/rra/pc2_avgdiskwritequeuele_37.rrd":PercentDiskReadTime:LAST \
DEF:e="/var/www/html/cacti/rra/pc2_avgdiskwritequeuele_37.rrd":PercentDiskReadTime:AVERAGE \
DEF:f="/var/www/html/cacti/rra/pc2_avgdiskwritequeuele_37.rrd":PercentDiskReadTime:MAX \
DEF:g="/var/www/html/cacti/rra/pc2_avgdiskwritequeuele_37.rrd":PercentDiskWriteTim:LAST \
DEF:h="/var/www/html/cacti/rra/pc2_avgdiskwritequeuele_37.rrd":PercentDiskWriteTim:AVERAGE \
DEF:i="/var/www/html/cacti/rra/pc2_avgdiskwritequeuele_37.rrd":PercentDiskWriteTim:MAX \
DEF:j="/var/www/html/cacti/rra/pc2_avgdiskwritequeuele_37.rrd":AvgDiskReadPerSec:LAST \
DEF:ba="/var/www/html/cacti/rra/pc2_avgdiskwritequeuele_37.rrd":AvgDiskReadPerSec:AVERAGE \
DEF:bb="/var/www/html/cacti/rra/pc2_avgdiskwritequeuele_37.rrd":FreeMegabytes:LAST \
DEF:bc="/var/www/html/cacti/rra/pc2_avgdiskwritequeuele_37.rrd":AvgDiskReadPerSec:MAX \
DEF:bd="/var/www/html/cacti/rra/pc2_avgdiskwritequeuele_37.rrd":AvgDiskWritePerSec:LAST \
DEF:be="/var/www/html/cacti/rra/pc2_avgdiskwritequeuele_37.rrd":AvgDiskWritePerSec:AVERAGE \
DEF:bf="/var/www/html/cacti/rra/pc2_avgdiskwritequeuele_37.rrd":AvgDiskWritePerSec:MAX \
DEF:bg="/var/www/html/cacti/rra/pc2_avgdiskwritequeuele_37.rrd":AvgDiskReadQueueLen:LAST \
DEF:bh="/var/www/html/cacti/rra/pc2_avgdiskwritequeuele_37.rrd":AvgDiskReadQueueLen:AVERAGE \
DEF:bi="/var/www/html/cacti/rra/pc2_avgdiskwritequeuele_37.rrd":AvgDiskReadQueueLen:MAX \
DEF:bj="/var/www/html/cacti/rra/pc2_avgdiskwritequeuele_37.rrd":AvgDiskWriteQueueLe:LAST \
DEF:ca="/var/www/html/cacti/rra/pc2_avgdiskwritequeuele_37.rrd":AvgDiskWriteQueueLe:AVERAGE \
DEF:cb="/var/www/html/cacti/rra/pc2_avgdiskwritequeuele_37.rrd":AvgDiskWriteQueueLe:MAX \
CDEF:cdefc=bb,1024,/ \
CDEF:cdefdg=a,0,*,100,+ \
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(%)" \
LINE2:a#000000FF:"" \
GPRINT:d:LAST:" Current\: (%1.1lf %%)" \
GPRINT:e:AVERAGE:"Average\: (%1.1lf %%)" \
LINE1:d#000000FF:"" \
GPRINT:f:MAX:" Maximum\: (%1.1lf %%)\n" \
AREA:g#96E78AFF:"Write Time(%)" \
COMMENT:"Statistics" \
GPRINT:g:LAST:" Current\: (%1.1lf %%)" \
GPRINT:h:AVERAGE:"Average\: (%1.1lf %%)" \
GPRINT:i:MAX:"Maximum\: (%1.1lf %%)\n" \
LINE1:j#005199FF:"Disk Reads/sec\:" \
GPRINT:j:LAST:" Current\:%8.0lf" \
LINE1:bb:"Available\:" \
GPRINT:ba:AVERAGE:" Average\:%8.0lf" \
GPRINT:bc:MAX:"Maximum\:%8.0lf\n" \
COMMENT:"Read IO / sec\:" \
LINE1:bd#00BF47FF:"Disk Writes/sec\:" \
GPRINT:bd:LAST:"Current\:%8.0lf" \
GPRINT:be:AVERAGE:"Average\:%8.0lf" \
GPRINT:bf:MAX:"Maximum\:%8.0lf\n" \
LINE1:bg#FF0000FF:"Read Queue\:" \
GPRINT:bg:LAST:" Current\:%8.0lf" \
COMMENT:"Write IO / sec\:" \
GPRINT:bh:AVERAGE:" Average\:%8.0lf" \
GPRINT:bi:MAX:"Maximum\:%8.0lf\n" \
LINE1:bj#EA8F00FF:"Write Queue\:" \
GPRINT:bj:LAST:" Current\:%8.0lf" \
GPRINT:ca:AVERAGE:"Average\:%8.0lf" \
LINE1::"Free Space (Mb)" \
COMMENT:"Read Queue\:" \
GPRINT:cb:MAX:" Maximum\:%8.0lf\n" \
COMMENT:"Write Queue\:" \
LINE1:cdefdg#FFFFFFFF:""
============================================
VERBOSE QUERY
Data Query Debug Information

+ Running data query [10].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/snmp_informant_disk.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.9600.1.1.1.1.1'
+ Located input field 'diskInstance' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.9600.1.1.1.1.1'
+ Found item [diskInstance='C:'] index: 2.67.58 [from value]
+ Found item [diskInstance='D:'] index: 2.68.58 [from value]
+ Found item [diskInstance='E:'] index: 2.69.58 [from value]
+ Found item [diskInstance='F:'] index: 2.70.58 [from value]
+ Found item [diskInstance='G:'] index: 2.71.58 [from value]
+ Found item [diskInstance='_Total'] index: 6.95.84.111.116.97.108 [from value]
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/snmp_informant_disk.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/snmp_informant_disk.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/snmp_informant_disk.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/snmp_informant_disk.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/snmp_informant_disk.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/snmp_informant_disk.xml'

===============================================
Other details
Associated Data Queries

Data Query Name Debugging Re-Index Method Status
1) SNMP - Informant Disk Statistics (Verbose Query) Uptime Goes Backwards Success [6 Items, 6 Rows]

=============
Data Query [SNMP - Informant Disk Statistics]

Disk Instance
G:
F:
E:
D:
C:
_Total

Please help to get this problem solved,
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests