I upgraded cacti last week, it was long overdue. Went from 0.8.6g to 0.8.7b. Since that time I am having problems with getting data back from 2 Data Queries on Windows servers.
Versions:
cacti 0.8.7b
OS SUSE Linux Enterprise Server 9 patch 4
Apache/2.0.59
mysqld Ver 4.0.18
PHP 4.3.9, Zend Engine v1.3.0
NET-SNMP version: 5.1.3.1
RRDtool 1.0.46
Verbose Query results of "SNMP - Get Mounted Partitions":
Code: Select all
+ Running data query [8].
+ Found type = '6 '[script query].
+ Found data query XML file at '/srv/www/htdocs/resource/script_server/host_disk.xml'
+ XML file parsed ok.
+ Executing script for list of indexes '/usr/bin/php -q /srv/www/htdocs/scripts/ss_host_disk.php hebron.salisbury.edu 217 1:161:500:!:~SNMPSTRING~:!:::MD5::DES: index'
+ Executing script query '/usr/bin/php -q /srv/www/htdocs/scripts/ss_host_disk.php hebron.salisbury.edu 217 1:161:500:!:~SNMPSTRING~:!:::MD5::DES: query index'
+ Executing script query '/usr/bin/php -q /srv/www/htdocs/scripts/ss_host_disk.php hebron.salisbury.edu 217 1:161:500:!:~SNMPSTRING~:!:::MD5::DES: query description'
+ Executing script query '/usr/bin/php -q /srv/www/htdocs/scripts/ss_host_disk.php hebron.salisbury.edu 217 1:161:500:!:~SNMPSTRING~:!:::MD5::DES: query sau'
+ Found data query XML file at '/srv/www/htdocs/resource/script_server/host_disk.xml'
+ Found data query XML file at '/srv/www/htdocs/resource/script_server/host_disk.xml'
+ Found data query XML file at '/srv/www/htdocs/resource/script_server/host_disk.xml'
Code: Select all
+ Running data query [9].
+ Found type = '6 '[script query].
+ Found data query XML file at '/srv/www/htdocs/resource/script_server/host_cpu.xml'
+ XML file parsed ok.
+ Executing script for list of indexes '/usr/bin/php -q /srv/www/htdocs/scripts/ss_host_cpu.php hebron.salisbury.edu 217 1:161:500:!:~~SNMPSTRING~:~:!:::MD5::DES: index'
+ Executing script query '/usr/bin/php -q /srv/www/htdocs/scripts/ss_host_cpu.php hebron.salisbury.edu 217 1:161:500:!:~~SNMPSTRING~:~:!:::MD5::DES: query index'
+ Found data query XML file at '/srv/www/htdocs/resource/script_server/host_cpu.xml'
+ Found data query XML file at '/srv/www/htdocs/resource/script_server/host_cpu.xml'
+ Found data query XML file at '/srv/www/htdocs/resource/script_server/host_cpu.xml'
Each of those show status of Success [0 Items, 0 Rows]. Right after I upgraded they still had items and rows as before, but with the first reload or verbose query that goes to zero for both.
Other queries like "SNMP - Interface Statistics" are working fine. Does anyone have any ideas? Could be something simple I am missing. If you need any additional info. just let me know. We have been running cacti for 4 years with no issues.