I know this is kind of a silly question, but I've been trying use this (ucd/net - Available Disk Space) graph template and I can't make it work, so I wondering if someone can point me in the right direction...
so, What are the steps I'm doing?:
1 - Go to Console > Devices
2 - Select the Device I want to monitor
(Here I already have an Associated Data query "SNMP - Get Mounted Partitions")
3 - Select "Create Graph for this host"
4 - From the "Create:" drop down I select "ucd/net - Available Disk Space"
5 - click "Create"
When I do this, Im asked to enter the following 3 values:
Output Type ID
Index Value
Index Type
I've tried different options here based on what I saw on similar posts but still can't make it works
the graphs are not even being created and I can't see anything related to Disk Space on the debug of the poller... what am I doing wrong? what should I enter into those 3 fields?
The Data Query Debug information is as follow:
Code: Select all
+ Running data query [8].
+ Found type = '6 '[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 vmlab1 29 2:161:500:1:10:edrans:::MD5::DES: index'
+ Executing script query '/usr/bin/php -q /usr/share/cacti/site/scripts/ss_host_disk.php vmlab1 29 2:161:500:1:10:edrans:::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
+ Executing script query '/usr/bin/php -q /usr/share/cacti/site/scripts/ss_host_disk.php vmlab1 29 2:161:500:1:10:edrans:::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
+ Executing script query '/usr/bin/php -q /usr/share/cacti/site/scripts/ss_host_disk.php vmlab1 29 2:161:500:1:10:edrans:::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 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'
Can anyone give me a tip?
thanks a lot.
Javier.