|
|
| Author |
Message |
undeaddemon
Joined: 13 May 2006 Posts: 16 Location: Philadelphia Area
|
Posted: Thu May 03, 2007 11:38 pm Post subject: Re: updated graph templates for Version 0.8.6j |
|
|
| Wedgie wrote: | | Modified some of the graph details |
Did you get you _Total working? I tried the snmp_informant_disk.xml here:
| rfoust wrote: | you need to change it to be this:
<oid_index_parse>OID/REGEXP:.*\.1\.1\.1\.(.*)$</oid_index_parse>
otherwise _Total will never work. I don't know if thats the source of your errors or not, but without that change, _Total will be broken.
- Robbie |
But no luck.... still not sure why this one graph will not display...???
BTW... I am still running 8.6h....
|
|
| Back to top |
|
 |
undeaddemon
Joined: 13 May 2006 Posts: 16 Location: Philadelphia Area
|
|
| Back to top |
|
 |
tonzy0907
Joined: 30 May 2007 Posts: 18
|
Posted: Fri Jun 15, 2007 4:08 am Post subject: IMPORTING TEMPLATES |
|
|
I got these error when i tried to import xml templates...
ERROR : XML Parse error.
Please help..
Thnx in advance
|
|
| Back to top |
|
 |
cwalton
Joined: 10 May 2006 Posts: 15
|
Posted: Sun Jul 15, 2007 9:44 am Post subject: 64-bit |
|
|
| I'm guessing that I'll have to purchase the full version of SNMP-informant to monitor my 64-bit Storage Server systems, or is there a workaround?
|
|
| Back to top |
|
 |
oakfan52
Joined: 02 Jan 2006 Posts: 25 Location: Sacramento, CA
|
Posted: Sat Aug 25, 2007 5:14 pm Post subject: |
|
|
I keeping getting for the data query
"No more variables left in this MIB View"
|
|
| Back to top |
|
 |
jukke
Joined: 16 Feb 2005 Posts: 13
|
Posted: Wed Oct 24, 2007 10:04 am Post subject: Problems with Disk Statistics |
|
|
Problem SOLVED.
Hi,
I have some problems after installing these templates.
I get the message End Of Mib
See Attached file
Regards
+ Running data query [18].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/opt/csw/apache2/share/htdocs/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='End of MIB'] index: End of MIB [from value]
+ Found data query XML file at '/opt/csw/apache2/share/htdocs/cacti/resource/snmp_queries/snmp_informant_disk.xml'
+ Found data query XML file at '/opt/csw/apache2/share/htdocs/cacti/resource/snmp_queries/snmp_informant_disk.xml'
+ Found data query XML file at '/opt/csw/apache2/share/htdocs/cacti/resource/snmp_queries/snmp_informant_disk.xml'
+ Found data query XML file at '/opt/csw/apache2/share/htdocs/cacti/resource/snmp_queries/snmp_informant_disk.xml'
| Description: |
|
| Filesize: |
42.97 KB |
| Viewed: |
5864 Time(s) |

|
|
|
| Back to top |
|
 |
Ixne
Joined: 24 Oct 2007 Posts: 12
|
Posted: Fri Oct 26, 2007 6:55 am Post subject: |
|
|
I'm trying to monitor disk space on a Windows2003 server. I have SNMP-Informant installed on it and the templates imported into Cacti. I have configured the SNMP service to include our Community string.
When I add the device in Cacti, I have this line under Associated Data Queries:
1) SNMP - Informant Disk Statistics (Verbose Query) Uptime Goes Backwards Success [0 Items, 0 Rows]
Verbose Query returns this:
+ Running data query [11].
+ Found type = '3' [snmp query].
+ Found data query XML file at 'C:/Inetpub/wwwroot/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 'C:/Inetpub/wwwroot/cacti/resource/snmp_queries/snmp_informant_disk.xml'
+ Found data query XML file at 'C:/Inetpub/wwwroot/cacti/resource/snmp_queries/snmp_informant_disk.xml'
+ Found data query XML file at 'C:/Inetpub/wwwroot/cacti/resource/snmp_queries/snmp_informant_disk.xml'
What have I missed?
|
|
| Back to top |
|
 |
TheWitness Developer
Joined: 14 May 2002 Posts: 9723 Location: MI, USA
|
Posted: Fri Oct 26, 2007 7:23 am Post subject: |
|
|
Do you have SNMP Informant "Advanced" installed? If you don't, I think you are SOL.
TheWitness
|
|
| Back to top |
|
 |
Ixne
Joined: 24 Oct 2007 Posts: 12
|
Posted: Fri Oct 26, 2007 8:30 am Post subject: |
|
|
| I have Standard installed. I found the problem; the server wasn't able to resolve (DNS) the monitoring system which was entered under the SNMP Service > Security > Accept SNMP Packets from these hosts. So I put in the IP address instead.
|
|
| Back to top |
|
 |
bunglega
Joined: 12 Nov 2007 Posts: 6
|
Posted: Mon Nov 12, 2007 9:14 am Post subject: No Graph Data? |
|
|
Hello ... I have SNMP-Informant Std. running on my machine, I have added this script and the .xml files and a verbose query does not return any errors. However, when I view my graphs, cacti display the missing picture icon and no graphs are displayed at all.
Any suggestions as to what I should try next?
+ 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='_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'
This is the last piece in my Cacti install and I'll be quite happy with the product!
Thanks!
|
|
| Back to top |
|
 |
Darwin
Joined: 27 May 2002 Posts: 27 Location: Montreal, QC
|
Posted: Wed Nov 14, 2007 7:13 pm Post subject: |
|
|
Someone requested, a while back, an updated version of these templates, considering all that has been mentionned, fixes, modifications and all.
Here's my version, functional on 0.8.7 and all 4 necessary files included.
Layout is based on Wedgie's version, colors are inspired on undeaddemon screenshots.
| Description: |
|
| Filesize: |
108.35 KB |
| Viewed: |
4331 Time(s) |

|
| Description: |
Import Into Cacti via Import Templates
Updated 2008-01-30 |
|
 Download |
| Filename: |
cacti_graph_template_w32_-_disk_statistics.xml |
| Filesize: |
33.82 KB |
| Downloaded: |
736 Time(s) |
| Description: |
| Import Into Cacti via Import Templates |
|
 Download |
| Filename: |
cacti_data_template_w32_-_disk_statistics.xml |
| Filesize: |
13.67 KB |
| Downloaded: |
820 Time(s) |
| Description: |
| Import Into Cacti via Import Templates |
|
 Download |
| Filename: |
cacti_data_query_snmp_-_informant_disk_statistics.xml |
| Filesize: |
36.6 KB |
| Downloaded: |
856 Time(s) |
| Description: |
| Save under <CACTI_PATH>/resources/snmp-queries |
|
 Download |
| Filename: |
snmp_informant_disk.xml |
| Filesize: |
2.21 KB |
| Downloaded: |
890 Time(s) |
Last edited by Darwin on Wed Jan 30, 2008 2:19 pm; edited 3 times in total |
|
| Back to top |
|
 |
AndrewRobinson
Joined: 04 Dec 2006 Posts: 10
|
Posted: Thu Nov 15, 2007 11:38 am Post subject: |
|
|
RRDTool Command:
c:/cacti/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="LANDISA - Disk Stats C:" \
--rigid \
--base=1000 \
--height=160 \
--width=500 \
--upper-limit=100 \
--lower-limit=1 \
--vertical-label="Unit (Percent / time slice)" \
--slope-mode \
--font TITLE:10:c:/windows/fonts/calibri.ttf \
--font AXIS:8:c:/windows/fonts/calibri.ttf \
--font LEGEND:8:c:/windows/fonts/calibri.ttf \
--font UNIT:8:c:/windows/fonts/calibri.ttf \
DEF:a="C\:/htdocs/cacti/rra/landisa_avgdiskreadqueuelen_536.rrd":PercentFreeSpace:LAST \
DEF:b="C\:/htdocs/cacti/rra/landisa_avgdiskreadqueuelen_536.rrd":PercentFreeSpace:AVERAGE \
DEF:c="C\:/htdocs/cacti/rra/landisa_avgdiskreadqueuelen_536.rrd":FreeMegabytes:AVERAGE \
DEF:d="C\:/htdocs/cacti/rra/landisa_avgdiskreadqueuelen_536.rrd":PercentDiskReadTime:LAST \
DEF:e="C\:/htdocs/cacti/rra/landisa_avgdiskreadqueuelen_536.rrd":PercentDiskReadTime:AVERAGE \
DEF:f="C\:/htdocs/cacti/rra/landisa_avgdiskreadqueuelen_536.rrd":PercentDiskWriteTim:LAST \
DEF:g="C\:/htdocs/cacti/rra/landisa_avgdiskreadqueuelen_536.rrd":PercentDiskWriteTim:AVERAGE \
DEF:h="C\:/htdocs/cacti/rra/landisa_avgdiskreadqueuelen_536.rrd":AvgDiskReadPerSec:LAST \
DEF:i="C\:/htdocs/cacti/rra/landisa_avgdiskreadqueuelen_536.rrd":AvgDiskReadPerSec:AVERAGE \
DEF:j="C\:/htdocs/cacti/rra/landisa_avgdiskreadqueuelen_536.rrd":FreeMegabytes:LAST \
DEF:ba="C\:/htdocs/cacti/rra/landisa_avgdiskreadqueuelen_536.rrd":AvgDiskWritePerSec:LAST \
DEF:bb="C\:/htdocs/cacti/rra/landisa_avgdiskreadqueuelen_536.rrd":AvgDiskWritePerSec:AVERAGE \
DEF:bc="C\:/htdocs/cacti/rra/landisa_avgdiskreadqueuelen_536.rrd":AvgDiskReadQueueLen:LAST \
DEF:bd="C\:/htdocs/cacti/rra/landisa_avgdiskreadqueuelen_536.rrd":AvgDiskReadQueueLen:AVERAGE \
DEF:be="C\:/htdocs/cacti/rra/landisa_avgdiskreadqueuelen_536.rrd":AvgDiskWriteQueueLe:LAST \
DEF:bf="C\:/htdocs/cacti/rra/landisa_avgdiskreadqueuelen_536.rrd":AvgDiskWriteQueueLe:AVERAGE \
CDEF:cdefc=j,1024,/ \
CDEF:cdefdg=a,0,*,100,+ \
AREA:a#E8CDEF:"Disk Usage\:" \
GPRINT:a:LAST:" Free Space\: (%1.1lf %%)" \
GPRINT:cdefc:LAST:"Available \: %5.2lf Gb\n" \
AREA:d#8D85F3:"Read Time(%)" \
LINE2:a#000000:"" \
GPRINT:d:LAST:" Current\: (%1.1lf %%)" \
GPRINT:e:AVERAGE:"Average\: (%1.1lf %%)" \
LINE1:d#000000:"" \
GPRINT:e:MAX:" Maximum\: (%1.1lf %%)\n" \
AREA:f#96E78A:"Write Time(%)" \
COMMENT:"Statistics" \
GPRINT:f:LAST:" Current\: (%1.1lf %%)" \
GPRINT:g:AVERAGE:"Average\: (%1.1lf %%)" \
GPRINT:g:MAX:"Maximum\: (%1.1lf %%)\n" \
LINE1:h#005199:"Disk Reads/sec\:" \
GPRINT:h:LAST:" Current\:%8.0lf" \
LINE1:j#AAAAAA:"Available\:" \
GPRINT:i:AVERAGE:" Average\:%8.0lf" \
GPRINT:i:MAX:"Maximum\:%8.0lf\n" \
LINE1:ba#00BF47:"Disk Writes/sec\:" \
COMMENT:"Read IO / sec\:" \
GPRINT:ba:LAST:"Current\:%8.0lf" \
GPRINT:bb:AVERAGE:"Average\:%8.0lf" \
GPRINT:bb:MAX:"Maximum\:%8.0lf\n" \
LINE1:bc#FF0000:"Read Queue\:" \
GPRINT:bc:LAST:" Current\:%8.0lf" \
COMMENT:"Write IO / sec\:" \
GPRINT:bd:AVERAGE:" Average\:%8.0lf" \
GPRINT:bd:MAX:"Maximum\:%8.0lf\n" \
LINE1:be#EA8F00:"Write Queue\:" \
GPRINT:be:LAST:" Current\:%8.0lf" \
GPRINT:bf:AVERAGE:"Average\:%8.0lf" \
LINE1:#CDCFC4:"Free Space (Mb)" \
GPRINT:bf:MAX:" Maximum\:%8.0lf\n" \
COMMENT:"Read Queue\:" \
COMMENT:"Write Queue\:" \
LINE1:cdefdg#FFFFFF:""
RRDTool Says:
ERROR: parameter '#CDCFC4' does not represent a number in line LINE1:#CDCFC4:Free Space (Mb)
Any help please!
|
|
| Back to top |
|
 |
econ
Joined: 16 Nov 2007 Posts: 10
|
Posted: Tue Nov 20, 2007 4:56 pm Post subject: |
|
|
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?
| Description: |
|
| Filesize: |
37.66 KB |
| Viewed: |
5448 Time(s) |

|
|
|
| Back to top |
|
 |
ABX Cacti User
Joined: 01 Mar 2007 Posts: 61
|
Posted: Thu Nov 22, 2007 3:11 am Post subject: |
|
|
After the upgrade to 0.8.7 I get the
ERROR: the RRD does not contain an RRA matching the chosen CF
Error.
|
|
| Back to top |
|
 |
slech Cacti User
Joined: 06 Nov 2007 Posts: 90
|
Posted: Sun Nov 25, 2007 4:59 am Post subject: |
|
|
cacti 0.8.7a - the same problem.
RRDTool Command:
c:/cacti/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-10 \
--title="localhost - Disk Stats - E:" \
--rigid \
--base=1000 \
--height=160 \
--width=500 \
--upper-limit=100 \
--lower-limit=1 \
--logarithmic \
--vertical-label="Unit (Percent / time slice)" \
--slope-mode \
--font TITLE:11: \
--font AXIS:6: \
--font LEGEND:8: \
--font UNIT:6: \
DEF:a="E\:/cacti/rra/localhost_avgdiskreadqueuelen_49.rrd":PercentFreeSpace:LAST \
DEF:b="E\:/cacti/rra/localhost_avgdiskreadqueuelen_49.rrd":PercentFreeSpace:AVERAGE \
DEF:c="E\:/cacti/rra/localhost_avgdiskreadqueuelen_49.rrd":FreeMegabytes:AVERAGE \
DEF:d="E\:/cacti/rra/localhost_avgdiskreadqueuelen_49.rrd":PercentDiskReadTime:LAST \
DEF:e="E\:/cacti/rra/localhost_avgdiskreadqueuelen_49.rrd":PercentDiskReadTime:AVERAGE \
DEF:f="E\:/cacti/rra/localhost_avgdiskreadqueuelen_49.rrd":PercentDiskWriteTim:LAST \
DEF:g="E\:/cacti/rra/localhost_avgdiskreadqueuelen_49.rrd":PercentDiskWriteTim:AVERAGE \
DEF:h="E\:/cacti/rra/localhost_avgdiskreadqueuelen_49.rrd":AvgDiskReadPerSec:LAST \
DEF:i="E\:/cacti/rra/localhost_avgdiskreadqueuelen_49.rrd":AvgDiskReadPerSec:AVERAGE \
DEF:j="E\:/cacti/rra/localhost_avgdiskreadqueuelen_49.rrd":AvgDiskWritePerSec:LAST \
DEF:ba="E\:/cacti/rra/localhost_avgdiskreadqueuelen_49.rrd":AvgDiskWritePerSec:AVERAGE \
DEF:bb="E\:/cacti/rra/localhost_avgdiskreadqueuelen_49.rrd":AvgDiskReadQueueLen:LAST \
DEF:bc="E\:/cacti/rra/localhost_avgdiskreadqueuelen_49.rrd":AvgDiskReadQueueLen:AVERAGE \
DEF:bd="E\:/cacti/rra/localhost_avgdiskreadqueuelen_49.rrd":AvgDiskWriteQueueLe:LAST \
DEF:be="E\:/cacti/rra/localhost_avgdiskreadqueuelen_49.rrd":AvgDiskWriteQueueLe:AVERAGE \
CDEF:cdefc=c,1024,/ \
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(%)" \
GPRINT:d:LAST:" Current\: (%1.1lf %%)" \
GPRINT:e:AVERAGE:"Average\: (%1.1lf %%)" \
GPRINT:e:MAX:"Maximum\: (%1.1lf %%)\n" \
AREA:f#96E78AFF:"Write Time(%)" \
GPRINT:f:LAST:" Current\: (%1.1lf %%)" \
GPRINT:g:AVERAGE:"Average\: (%1.1lf %%)" \
GPRINT:g:MAX:"Maximum\: (%1.1lf %%)\n" \
LINE1:h#005199FF:"Disk Reads/sec\:" \
GPRINT:h:LAST:" Current\:%8.0lf" \
GPRINT:i:AVERAGE:"Average\:%8.0lf" \
GPRINT:i:MAX:"Maximum\:%8.0lf\n" \
LINE1:j#00BF47FF:"Disk Writes/sec\:" \
GPRINT:j:LAST:"Current\:%8.0lf" \
GPRINT:ba:AVERAGE:"Average\:%8.0lf" \
GPRINT:ba:MAX:"Maximum\:%8.0lf\n" \
LINE1:bb#FF0000FF:"Read Queue\:" \
GPRINT:bb:LAST:" Current\:%8.0lf" \
GPRINT:bc:AVERAGE:"Average\:%8.0lf" \
GPRINT:bc:MAX:"Maximum\:%8.0lf\n" \
LINE1:bd#EA8F00FF:"Write Queue\:" \
GPRINT:bd:LAST:" Current\:%8.0lf" \
GPRINT:be:AVERAGE:"Average\:%8.0lf" \
GPRINT:be:MAX:"Maximum\:%8.0lf\n"
RRDTool Says:
ERROR: the RRD does not contain an RRA matching the chosen CF
|
|
| Back to top |
|
 |
|