Used Space - |query_hrStorageDescr|
Moderators: Developers, Moderators
Used Space - |query_hrStorageDescr|
Hi All,
i have the same problem:
http://forums.cacti.net/about27894.html&highlight=
but on Linux Debian.
DEBUG MODE:
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="xxxxxxxxxxxxx - Used Space - |query_hrStorageDescr|" \
--rigid \
--base=1024 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bytes" \
--slope-mode \
--font TITLE:12:/usr/share/fonts/truetype/ttf-bitstream-vera-1.10/VeraMono.ttf \
--font AXIS:8:/usr/share/fonts/truetype/ttf-bitstream-vera-1.10/VeraMono.ttf \
--font LEGEND:8:/usr/share/fonts/truetype/ttf-bitstream-vera-1.10/VeraMono.ttf \
--font UNIT:8:/usr/share/fonts/truetype/ttf-bitstream-vera-1.10/VeraMono.ttf \
DEF:a="/var/lib/cacti/rra/xxxxxxxxxxxxxxxxxxxxl_5611.rrd":hdd_total:AVERAGE \
DEF:b="/var/lib/cacti/rra/xxxxxxxxxxxxxxxxxxxxxxxx.rrd":hdd_used: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"
RRDTool Says:
ERROR: opening '/var/lib/cacti/rra/xxxxxxxxxxxxxxxxl_5611.rrd': No such file or directory
Why???
I tried to increase the timeout for that device to 3 or 5 seconds but nothing.
HELPPPPPPPPPPPP
i have the same problem:
http://forums.cacti.net/about27894.html&highlight=
but on Linux Debian.
DEBUG MODE:
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="xxxxxxxxxxxxx - Used Space - |query_hrStorageDescr|" \
--rigid \
--base=1024 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bytes" \
--slope-mode \
--font TITLE:12:/usr/share/fonts/truetype/ttf-bitstream-vera-1.10/VeraMono.ttf \
--font AXIS:8:/usr/share/fonts/truetype/ttf-bitstream-vera-1.10/VeraMono.ttf \
--font LEGEND:8:/usr/share/fonts/truetype/ttf-bitstream-vera-1.10/VeraMono.ttf \
--font UNIT:8:/usr/share/fonts/truetype/ttf-bitstream-vera-1.10/VeraMono.ttf \
DEF:a="/var/lib/cacti/rra/xxxxxxxxxxxxxxxxxxxxl_5611.rrd":hdd_total:AVERAGE \
DEF:b="/var/lib/cacti/rra/xxxxxxxxxxxxxxxxxxxxxxxx.rrd":hdd_used: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"
RRDTool Says:
ERROR: opening '/var/lib/cacti/rra/xxxxxxxxxxxxxxxxl_5611.rrd': No such file or directory
Why???
I tried to increase the timeout for that device to 3 or 5 seconds but nothing.
HELPPPPPPPPPPPP
Last edited by furo83 on Thu Sep 09, 2010 4:52 am, edited 2 times in total.
Data Query Debug Information
+ Running data query [8].
+ Found type = '4 '[script query].
+ Found data query XML file at '/usr/share/cacti/site/resource/script_server/host_disk.xml'
+ XML file parsed ok.
+ Executing script for list of indexes '/usr/bin/php -q /usr/share/cacti/site/scripts/ss_host_disk.php xxxxxxx 189 2:161monitor:::MD5::DES: index'
+ Executing script query '/usr/bin/php -q /usr/share/cacti/site/scripts/ss_host_disk.php xxxxxxxxxxxx 189 2:161monitor:::MD5::DES: query index'
+ Found item [hrStorageIndex='1'] index: 1
+ Found item [hrStorageIndex='3'] index: 3
+ Found item [hrStorageIndex='6'] index: 6
+ Found item [hrStorageIndex='7'] index: 7
+ Found item [hrStorageIndex='8'] index: 8
+ Found item [hrStorageIndex='10'] index: 10
+ Found item [hrStorageIndex='31'] index: 31
+ Found item [hrStorageIndex='32'] index: 32
+ Found item [hrStorageIndex='33'] index: 33
+ Found item [hrStorageIndex='34'] index: 34
+ Found item [hrStorageIndex='35'] index: 35
+ Executing script query '/usr/bin/php -q /usr/share/cacti/site/scripts/ss_host_disk.php xxxxxxxxxxxxx 189 2:161monitor:::MD5::DES: query description'
+ Found item [hrStorageDescr='Physical memory'] index: 1
+ Found item [hrStorageDescr='Virtual memory'] index: 3
+ Found item [hrStorageDescr='Memory buffers'] index: 6
+ Found item [hrStorageDescr='Cached memory'] index: 7
+ Found item [hrStorageDescr='Shared memory'] index: 8
+ Found item [hrStorageDescr='Swap space'] index: 10
+ Found item [hrStorageDescr='/'] index: 31
+ Found item [hrStorageDescr='/boot'] index: 32
+ Found item [hrStorageDescr='/web/scripts'] index: 33
+ Found item [hrStorageDescr='/mnt/NETAPP-2/MysqlBinLogVol'] index: 34
+ Found item [hrStorageDescr='/web/sys'] index: 35
+ Executing script query '/usr/bin/php -q /usr/share/cacti/site/scripts/ss_host_disk.php xxxxxxxxxxxx 189 2:161monitor:::MD5::DES: query sau'
+ Found item [hrStorageAllocationUnits='1024 Bytes'] index: 1
+ Found item [hrStorageAllocationUnits='1024 Bytes'] index: 3
+ Found item [hrStorageAllocationUnits='1024 Bytes'] index: 6
+ Found item [hrStorageAllocationUnits='1024 Bytes'] index: 7
+ Found item [hrStorageAllocationUnits='1024 Bytes'] index: 8
+ Found item [hrStorageAllocationUnits='1024 Bytes'] index: 10
+ Found item [hrStorageAllocationUnits='4096 Bytes'] index: 31
+ Found item [hrStorageAllocationUnits='4096 Bytes'] index: 32
+ Found item [hrStorageAllocationUnits='65536 Bytes'] index: 33
+ Found item [hrStorageAllocationUnits='65536 Bytes'] index: 34
+ Found item [hrStorageAllocationUnits='65536 Bytes'] index: 35
+ Found data query XML file at '/usr/share/cacti/site/resource/script_server/host_disk.xml'
+ Found data query XML file at '/usr/share/cacti/site/resource/script_server/host_disk.xml'
+ Found data query XML file at '/usr/share/cacti/site/resource/script_server/host_disk.xml'
+ Running data query [8].
+ Found type = '4 '[script query].
+ Found data query XML file at '/usr/share/cacti/site/resource/script_server/host_disk.xml'
+ XML file parsed ok.
+ Executing script for list of indexes '/usr/bin/php -q /usr/share/cacti/site/scripts/ss_host_disk.php xxxxxxx 189 2:161monitor:::MD5::DES: index'
+ Executing script query '/usr/bin/php -q /usr/share/cacti/site/scripts/ss_host_disk.php xxxxxxxxxxxx 189 2:161monitor:::MD5::DES: query index'
+ Found item [hrStorageIndex='1'] index: 1
+ Found item [hrStorageIndex='3'] index: 3
+ Found item [hrStorageIndex='6'] index: 6
+ Found item [hrStorageIndex='7'] index: 7
+ Found item [hrStorageIndex='8'] index: 8
+ Found item [hrStorageIndex='10'] index: 10
+ Found item [hrStorageIndex='31'] index: 31
+ Found item [hrStorageIndex='32'] index: 32
+ Found item [hrStorageIndex='33'] index: 33
+ Found item [hrStorageIndex='34'] index: 34
+ Found item [hrStorageIndex='35'] index: 35
+ Executing script query '/usr/bin/php -q /usr/share/cacti/site/scripts/ss_host_disk.php xxxxxxxxxxxxx 189 2:161monitor:::MD5::DES: query description'
+ Found item [hrStorageDescr='Physical memory'] index: 1
+ Found item [hrStorageDescr='Virtual memory'] index: 3
+ Found item [hrStorageDescr='Memory buffers'] index: 6
+ Found item [hrStorageDescr='Cached memory'] index: 7
+ Found item [hrStorageDescr='Shared memory'] index: 8
+ Found item [hrStorageDescr='Swap space'] index: 10
+ Found item [hrStorageDescr='/'] index: 31
+ Found item [hrStorageDescr='/boot'] index: 32
+ Found item [hrStorageDescr='/web/scripts'] index: 33
+ Found item [hrStorageDescr='/mnt/NETAPP-2/MysqlBinLogVol'] index: 34
+ Found item [hrStorageDescr='/web/sys'] index: 35
+ Executing script query '/usr/bin/php -q /usr/share/cacti/site/scripts/ss_host_disk.php xxxxxxxxxxxx 189 2:161monitor:::MD5::DES: query sau'
+ Found item [hrStorageAllocationUnits='1024 Bytes'] index: 1
+ Found item [hrStorageAllocationUnits='1024 Bytes'] index: 3
+ Found item [hrStorageAllocationUnits='1024 Bytes'] index: 6
+ Found item [hrStorageAllocationUnits='1024 Bytes'] index: 7
+ Found item [hrStorageAllocationUnits='1024 Bytes'] index: 8
+ Found item [hrStorageAllocationUnits='1024 Bytes'] index: 10
+ Found item [hrStorageAllocationUnits='4096 Bytes'] index: 31
+ Found item [hrStorageAllocationUnits='4096 Bytes'] index: 32
+ Found item [hrStorageAllocationUnits='65536 Bytes'] index: 33
+ Found item [hrStorageAllocationUnits='65536 Bytes'] index: 34
+ Found item [hrStorageAllocationUnits='65536 Bytes'] index: 35
+ Found data query XML file at '/usr/share/cacti/site/resource/script_server/host_disk.xml'
+ Found data query XML file at '/usr/share/cacti/site/resource/script_server/host_disk.xml'
+ Found data query XML file at '/usr/share/cacti/site/resource/script_server/host_disk.xml'
- TheWitness
- Developer
- Posts: 17061
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Is the entry in the poller cache? If so, run the script in debug mode. You can find the process to debug script server scripts in the manual under the script server section.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
i ran
/usr/bin/php -q /usr/share/cacti/site/scripts/ss_host_disk.php HOST 189 2:161monitor:::MD5::DES: query sau
1!1024 Bytes
3!1024 Bytes
6!1024 Bytes
7!1024 Bytes
8!1024 Bytes
10!1024 Bytes
31!4096 Bytes
32!4096 Bytes
33!65536 Bytes
34!65536 Bytes
35!65536 Bytes
See the screenshot below:
*Data query data sources must be created through New Graphs.* this is an error????
/usr/bin/php -q /usr/share/cacti/site/scripts/ss_host_disk.php HOST 189 2:161monitor:::MD5::DES: query sau
1!1024 Bytes
3!1024 Bytes
6!1024 Bytes
7!1024 Bytes
8!1024 Bytes
10!1024 Bytes
31!4096 Bytes
32!4096 Bytes
33!65536 Bytes
34!65536 Bytes
35!65536 Bytes
See the screenshot below:
*Data query data sources must be created through New Graphs.* this is an error????
- Attachments
-
- 2.png (12.47 KiB) Viewed 3043 times
- TheWitness
- Developer
- Posts: 17061
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Yes, that is wrong. How did you create your graphs? Did you edit the host and then click the "Create Graphs" link?
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
- TheWitness
- Developer
- Posts: 17061
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
I assume you are to say, the issue is solved?
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
- TheWitness
- Developer
- Posts: 17061
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Ok, the template is damaged. You need to download the official template from the template repository and re-import it.
You might as well delete those graphs too. Then re-create them.
TheWitness
You might as well delete those graphs too. Then re-create them.
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
- TheWitness
- Developer
- Posts: 17061
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Host Mib
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Who is online
Users browsing this forum: No registered users and 5 guests