I'm building a new cacti server fresh on CentOS 7.8. I tried migrating the database, etc. but that went very poorly so I decided to go fresh, with Cacti 1.2.11 from source.
I added the first couple hosts fine and was able to create the graphs. But all of them since, when I go to create the CPU graphs, report in the "Data Query [SNMP - Get Processor Information]" section of the Create Graphs page:
Code: Select all
This Data Query returned 0 rows, perhaps there was a problem executing this Data Query.You can run this Data Query in debug mode From there you can get more information.
Code: Select all
Data Query Debug Information
Total: 0.000000, Delta: 0.000000, Found data query XML file at '/var/www/html/cacti/resource/script_server/host_cpu.xml'
Total: 0.000000, Delta: 0.000000, Running Data Query [8].
Total: 0.000000, Delta: 0.000000, Found Type = '6' [Script Query - Script Server].
Total: 0.000000, Delta: 0.000000, XML file parsed ok.
Total: 0.120000, Delta: 0.120000, Executing script for num of indexes '"/opt/rh/rh-php73/root/usr/bin/php" -q /var/www/html/cacti/scripts/ss_host_cpu.php 'HOSTNAME' '11' '2:161:500:1:10:public::::::' 'num_indexes''
Total: 0.120000, Delta: 0.000000, Found number of indexes: 5
Total: 0.230000, Delta: 0.110000, Executing script for list of indexes '"/opt/rh/rh-php73/root/usr/bin/php" -q /var/www/html/cacti/scripts/ss_host_cpu.php 'HOSTNAME' '11' '2:161:500:1:10:public::::::' 'index'', Index Count: 5
Click to show Data Query output for field 'hrProcessorFrwID'
Total: 0.360000, Delta: 0.130000, Checking for Sort Field change. No changes detected.
Total: 0.360000, Delta: 0.000000, Update Data Query Sort Cache complete
Total: 0.360000, Delta: 0.000000, Index Association with Local Data complete
Total: 0.370000, Delta: 0.000000, No Index Changes Detected, Skipping Re-Index and Poller Cache Re-population
Total: 0.370000, Delta: 0.000000, Automation Executing for Data Query complete
Total: 0.370000, Delta: 0.000000, Plugin hooks complete
Any ideas why this is breaking?