Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
hi i recently updated my cacti to Version 0.8.6j.
but know when i'm adding devices and tried to create graph for
the devices it always shown this messages on the Data Query [SNMP - Interface Statistics] box and Data Query [ucd/net - Get Monitored Partitions] box:
This data query returned 0 rows, perhaps there was a problem executing this data query. You can run this data query in debug mode to get more information.
and one thing i noticed, at my cacti log i see a lot of these messages:
04/25/2007 10:20:03 AM - CMDPHP: Poller[0] ERROR: SQL Cell Failed "select field_value from host_snmp_cache where host_id=3 and field_name='hrStorageAllocationUnits' and snmp_index='4'"
04/25/2007 10:20:03 AM - CMDPHP: Poller[0] ERROR: SQL Cell Failed "select field_value from host_snmp_cache where host_id=3 and field_name='hrStorageAllocationUnits' and snmp_index='5'"
04/25/2007 10:20:03 AM - CMDPHP: Poller[0] ERROR: SQL Cell Failed "select field_value from host_snmp_cache where host_id=3 and field_name='hrStorageAllocationUnits' and snmp_index='5'"
04/25/2007 10:20:03 AM - CMDPHP: Poller[0] ERROR: SQL Cell Failed "select field_value from host_snmp_cache where host_id=3 and field_name='hrStorageAllocationUnits' and snmp_index='6'"
04/25/2007 10:20:03 AM - CMDPHP: Poller[0] ERROR: SQL Cell Failed "select field_value from host_snmp_cache where host_id=3 and field_name='hrStorageAllocationUnits' and snmp_index='6'"
04/25/2007 10:20:03 AM - CMDPHP: Poller[0] ERROR: SQL Cell Failed "select field_value from host_snmp_cache where host_id=3 and field_name='hrStorageAllocationUnits' and snmp_index='7'"
04/25/2007 10:20:03 AM - CMDPHP: Poller[0] ERROR: SQL Cell Failed "select field_value from host_snmp_cache where host_id=3 and field_name='hrStorageAllocationUnits' and snmp_index='7'"
04/25/2007 10:20:08 AM - SYSTEM STATS: Time:5.1273 Method:cmd.php Processes:1 Threads:N/A Hosts:11 HostsPerProcess:11 DataSources:75 RRDsProcessed:51
04/25/2007 10:20:45 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed "select field_name,field_value from host_snmp_cache where host_id=11 and snmp_query_id=1 and snmp_index='2'"
04/25/2007 10:20:45 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed "select field_name,field_value from host_snmp_cache where host_id=11 and snmp_query_id=1 and snmp_index='2'"
the user for cacti database is root, so i assure you this is not permition / privileges issues.
this is frustrating me, before updated everything went fine.
Please help me with this issues
+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/usr/home/www/public_html/cacti/resource/snmp_queries/interface.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.2.2.1.1'
+ Located input field 'ifIndex' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.1'
+ Found item [ifIndex='1'] index: 1 [from value]
+ Found item [ifIndex='2'] index: 2 [from value]
+ Found item [ifIndex='3'] index: 3 [from value]
+ Found item [ifIndex='4'] index: 4 [from value]
+ Found item [ifIndex='5'] index: 5 [from value]
+ Found item [ifIndex='6'] index: 6 [from value]
+ Located input field 'ifOperStatus' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.8'
+ Found item [ifOperStatus='Up'] index: 1 [from value]
+ Found item [ifOperStatus='Up'] index: 2 [from value]
+ Found item [ifOperStatus='Up'] index: 3 [from value]
+ Found item [ifOperStatus='Down'] index: 4 [from value]
+ Found item [ifOperStatus='Down'] index: 5 [from value]
+ Found item [ifOperStatus='Down'] index: 6 [from value]
+ Located input field 'ifDescr' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.2'
+ Found item [ifDescr='em0'] index: 1 [from value]
+ Found item [ifDescr='xl0'] index: 2 [from value]
+ Found item [ifDescr='lo0'] index: 3 [from value]
+ Found item [ifDescr='pfsync0'] index: 4 [from value]
+ Found item [ifDescr='pflog0'] index: 5 [from value]
+ Found item [ifDescr='tun5'] index: 6 [from value]
+ Located input field 'ifName' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.31.1.1.1.1'
+ Located input field 'ifAlias' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.31.1.1.1.18'
+ Located input field 'ifType' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.3'
+ Found item [ifType='ethernetCsmacd(6)'] index: 1 [from value]
+ Found item [ifType='ethernetCsmacd(6)'] index: 2 [from value]
+ Found item [ifType='softwareLoopback(24)'] index: 3 [from value]
+ Found item [ifType='247'] index: 4 [from value]
+ Found item [ifType='246'] index: 5 [from value]
+ Found item [ifType='ppp(23)'] index: 6 [from value]
+ Located input field 'ifSpeed' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.5'
+ Found item [ifSpeed='10000000'] index: 1 [from value]
+ Found item [ifSpeed='100000000'] index: 2 [from value]
+ Found item [ifSpeed='0'] index: 3 [from value]
+ Found item [ifSpeed='100000000'] index: 4 [from value]
+ Found item [ifSpeed='0'] index: 5 [from value]
+ Found item [ifSpeed='0'] index: 6 [from value]
+ Located input field 'ifHwAddr' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.6'
+ Found item [ifHwAddr='00:00:04:23:B3:69:9C'] index: 1 [from value]
+ Found item [ifHwAddr='00:00:01:02:74:88:3E'] index: 2 [from value]
+ Found item [ifHwAddr=''] index: 3 [from value]
+ Found item [ifHwAddr=''] index: 4 [from value]
+ Found item [ifHwAddr=''] index: 5 [from value]
+ Found item [ifHwAddr=''] index: 6 [from value]
+ Located input field 'ifIP' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.4.20.1.2'
+ Found item [ifIP='127.0.0.1'] index: 3 [from regexp oid parse]
+ Found item [ifIP='172.64.14.1'] index: 2 [from regexp oid parse]
+ Found item [ifIP='202.57.0.93'] index: 1 [from regexp oid parse]
+ Found data query XML file at '/usr/home/www/public_html/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/usr/home/www/public_html/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/usr/home/www/public_html/cacti/resource/snmp_queries/interface.xml'
Please delete the storage Data Query from this host for testing purpose. Then, please select "Create Graphs for this Host" and post the screenshot. Do not forget to wipe out confidential information
Reinhard
Data Query Debug Information
+ Running data query [9].
+ Found type = '6 '[script query].
+ Found data query XML file at '/srv/www/intel/cacti/resource/script_server/host_cpu.xml'
+ XML file parsed ok.
+ Executing script for list of indexes '/usr/bin/php -q /srv/www/intel/cacti/scripts/ss_host_cpu.php 192.168.1.61 91 1:161:500:public:::MD5::[None] index'
+ Executing script query '/usr/bin/php -q /srv/www/intel/cacti/scripts/ss_host_cpu.php 192.168.1.61 91 1:161:500:public:::MD5::[None] query index'
+ Found item [hrProcessorFrwID='0'] index: 0
+ Found data query XML file at '/srv/www/intel/cacti/resource/script_server/host_cpu.xml'
+ Found data query XML file at '/srv/www/intel/cacti/resource/script_server/host_cpu.xml'
+ Found data query XML file at '/srv/www/intel/cacti/resource/script_server/host_cpu.xml'
+ Found data query XML file at '/srv/www/intel/cacti/resource/script_server/host_cpu.xml'
Cacti Version 0.8.6h
PHP Version 4.4.0
Apache/2.0.54
SLES 10
+ Running data query [9].
+ Found type = '6 '[script query].
+ Found data query XML file at '/srv/www/intel/cacti/resource/script_server/host_cpu.xml'
+ XML file parsed ok.
+ Executing script for list of indexes '/usr/bin/php -q /srv/www/intel/cacti/scripts/ss_host_cpu.php hostname 110 1:161:500:public:::MD5::[None] index'
+ Executing script query '/usr/bin/php -q /srv/www/intel/cacti/scripts/ss_host_cpu.php PMtl2InPP01.fednet.ca 110 1:161:500:1nsp1reD:::MD5::[None] query index'
+ Found item [hrProcessorFrwID='0'] index: 0
+ Found item [hrProcessorFrwID='1'] index: 1
+ Found item [hrProcessorFrwID='2'] index: 2
+ Found item [hrProcessorFrwID='3'] index: 3
+ Found data query XML file at '/srv/www/intel/cacti/resource/script_server/host_cpu.xml'
+ Found data query XML file at '/srv/www/intel/cacti/resource/script_server/host_cpu.xml'
+ Found data query XML file at '/srv/www/intel/cacti/resource/script_server/host_cpu.xml'
+ Found data query XML file at '/srv/www/intel/cacti/resource/script_server/host_cpu.xml'
+ Found data query XML file at '/srv/www/intel/cacti/resource/script_server/host_cpu.xml'
+ Found data query XML file at '/srv/www/intel/cacti/resource/script_server/host_cpu.xml'
+ Found data query XML file at '/srv/www/intel/cacti/resource/script_server/host_cpu.xml'
gandalf wrote:Please delete the storage Data Query from this host for testing purpose. Then, please select "Create Graphs for this Host" and post the screenshot. Do not forget to wipe out confidential information
Reinhard
gandalf wrote:Please delete the storage Data Query from this host for testing purpose. Then, please select "Create Graphs for this Host" and post the screenshot. Do not forget to wipe out confidential information
Reinhard
ok here we go,
but FYI i'm not sure what is "delete the storage Data Query".
but this what i did, i deleted the device and remove the rrd file from the box.
than i readded the device again.
and this is the result when i tried to create graphs from the device: