Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Windows 2000 / 2k3 Disk Statistics
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next
 
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates
Author Message
Darwin



Joined: 27 May 2002
Posts: 27
Location: Montreal, QC

PostPosted: Sun Nov 25, 2007 6:55 pm    Post subject: Reply with quote

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?
Back to top
econ



Joined: 16 Nov 2007
Posts: 10

PostPosted: Tue Nov 27, 2007 10:53 am    Post subject: Reply with quote

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?



cacti.jpg
 Description:
 Filesize:  37.66 KB
 Viewed:  5278 Time(s)

cacti.jpg


Back to top
slech
Cacti User


Joined: 06 Nov 2007
Posts: 90

PostPosted: Wed Dec 05, 2007 8:05 am    Post subject: Reply with quote

its work from someone ?
Back to top
JediRookie



Joined: 11 Dec 2007
Posts: 2

PostPosted: Wed Dec 12, 2007 9:46 am    Post subject: Reply with quote

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)
Back to top
RCK



Joined: 26 Jan 2007
Posts: 40

PostPosted: Fri Dec 28, 2007 8:21 am    Post subject: Reply with quote

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
Back to top
RCK



Joined: 26 Jan 2007
Posts: 40

PostPosted: Fri Dec 28, 2007 8:22 am    Post subject: Reply with quote

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
Back to top
RCK



Joined: 26 Jan 2007
Posts: 40

PostPosted: Fri Dec 28, 2007 9:13 am    Post subject: I found the solution ! Reply with quote

I simply uncheck the "Logarithmic Scaling" option that was imported in the "Graph Templates" -> "W32 - Disk Statistics"

Last edited by RCK on Fri Jan 11, 2008 5:57 am; edited 1 time in total
Back to top
slech
Cacti User


Joined: 06 Nov 2007
Posts: 90

PostPosted: Fri Dec 28, 2007 2:49 pm    Post subject: Reply with quote

Don't work for me

Back to top
cinergi



Joined: 24 Jan 2005
Posts: 10

PostPosted: Mon Jan 07, 2008 10:18 pm    Post subject: Reply with quote

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.
Back to top
cinergi



Joined: 24 Jan 2005
Posts: 10

PostPosted: Mon Jan 07, 2008 10:19 pm    Post subject: Reply with quote

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.
Back to top
Darwin



Joined: 27 May 2002
Posts: 27
Location: Montreal, QC

PostPosted: Wed Jan 30, 2008 11:31 am    Post subject: Reply with quote

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.
Back to top
ABX
Cacti User


Joined: 01 Mar 2007
Posts: 61

PostPosted: Wed Feb 06, 2008 7:55 am    Post subject: Reply with quote

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!
Back to top
sp1r1t



Joined: 04 Mar 2008
Posts: 1
Location: Russia

PostPosted: Tue Mar 04, 2008 11:17 am    Post subject: Reply with quote

for me not work

Code:
+ 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:
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
Back to top
flame_bug



Joined: 11 Nov 2005
Posts: 1

PostPosted: Wed Mar 26, 2008 11:17 pm    Post subject: help me Reply with quote

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
Back to top
techlog2007



Joined: 06 Mar 2008
Posts: 5

PostPosted: Fri Jul 11, 2008 5:45 am    Post subject: Graph not working.. Reply with quote

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,
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates All times are GMT - 5 Hours
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next
Page 8 of 9

 



Powered by phpBB © 2001, 2005 phpBB Group