Ok so I have have Cacti Version 0.8.7c install and running for a few weeks. I have loaded several cisco devices and it all works great. One issue I am having is I am doing some testing to try and read disk space usage on a windows 7 box. Be low is what I get after adding the device and then trying to add a graph from the device view.
I click on the device and this is what I get:
1) Host MIB - Available Disk Space Is Being Graphed (Edit)
1) SNMP - Get Mounted Partitions (Verbose Query) Uptime Goes Backwards Success [0 Items, 0 Rows]
Data Query Debug Information
+ Running data query [8].
+ Found type = '6 '[script query].
+ Found data query XML file at '/var/www/html/resource/script_server/host_disk.xml'
+ XML file parsed ok.
+ Executing script for list of indexes '/usr/bin/php -q /var/www/html/scripts/ss_host_disk.php 10.1.22.12 2:161:500:nrim:cactiuser:123qwe)(*POI:MD5:098poi!@#QWE:AES128: 28 index'
+ Executing script query '/usr/bin/php -q /var/www/html/scripts/ss_host_disk.php 10.1.22.12 2:161:500:nrim:cactiuser:123qwe)(*POI:MD5:098poi!@#QWE:AES128: 28 query index'
+ Executing script query '/usr/bin/php -q /var/www/html/scripts/ss_host_disk.php 10.1.22.12 2:161:500:nrim:cactiuser:123qwe)(*POI:MD5:098poi!@#QWE:AES128: 28 query description'
+ Executing script query '/usr/bin/php -q /var/www/html/scripts/ss_host_disk.php 10.1.22.12 2:161:500:nrim:cactiuser:123qwe)(*POI:MD5:098poi!@#QWE:AES128: 28 query sau'
+ Executing script query '/usr/bin/php -q /var/www/html/scripts/ss_host_disk.php 10.1.22.12 2:161:500:nrim:cactiuser:123qwe)(*POI:MD5:098poi!@#QWE:AES128: 28 query total'
+ Found data query XML file at '/var/www/html/resource/script_server/host_disk.xml'
+ Found data query XML file at '/var/www/html/resource/script_server/host_disk.xml'
+ Found data query XML file at '/var/www/html/resource/script_server/host_disk.xml'
I click on the graph and this is what is get:
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="test - Available Disk Space" \
--rigid \
--base=1024 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bytes" \
--slope-mode \
--font TITLE:10: \
--font AXIS:8: \
--font LEGEND:8: \
--font UNIT:8: \
DEF:a="/var/www/html/rra/test_hdd_total_100.rrd":hdd_total:AVERAGE \
DEF:b="/var/www/html/rra/test_hdd_total_100.rrd":hdd_used:AVERAGE \
DEF:c="/var/www/html/rra/test_hdd_total_100.rrd":hdd_percent:AVERAGE \
AREA:a#002A97FF:"Total" \
GPRINTLAST:"Current\:%8.2lf %s" \
GPRINTAVERAGE:"Average\:%8.2lf %s" \
GPRINTMAX:"Maximum\:%8.2lf %s\n" \
AREA:b#F51D30FF:"Used" \
GPRINTLAST:" Current\:%8.2lf %s" \
GPRINTAVERAGE:"Average\:%8.2lf %s" \
GPRINTMAX:"Maximum\:%8.2lf %s\n" \
COMMENT:"% Used" \
GPRINT:c:LAST:"Current\:%8.2lf %%" \
GPRINT:c:AVERAGE:"Average\:%8.2lf %%" \
GPRINT:c:MAX:"Maximum\:%8.2lf %%\n" \
COMMENT:" \n" \
COMMENT:"Last Updated \: Tue 05 Apr 09\:41\:32 AKDT 2011"
RRDTool Says:
ERROR: opening '/var/www/html/rra/test_hdd_total_100.rrd': No such file or directory
any help would be great!
thanks
CactiEZ not reading windows disk space
Moderators: Developers, Moderators
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: CactiEZ not reading windows disk space
Did you intend to use SNMP V3?
R.
R.
Re: CactiEZ not reading windows disk space
I can would use any version at this point.....right ow it is v2c. But still will not find a partition. Anyother NMS system will find them, Whats up gold, PRTG Traffic grapher, just not Cactt. Seems like I am not the only one with this issue, but I can not find anyone that solved it......?
anyhelp would be great
thanks
anyhelp would be great
thanks
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: CactiEZ not reading windows disk space
The standard approach would be to increase the timeout from 500 ms to e.g. 1000 ms.
Windows SNMP is waay slow.
R.
Windows SNMP is waay slow.
R.
Who is online
Users browsing this forum: No registered users and 10 guests