CACTI installation soon, the image interface came out, but there has been no data.
Errors or warnings in the Cacti log are all resolved. There are also some permissions that require access to files.
Reference Online Summary: Solve cacti no image or no data
1.system utilities–>rebuild poller Cache 2. System time is not accurate, reset time 3. Image is not generated, run #/usr/bin/php/srv/www/htdocs/cacti/ Poller.php–force 4. Permissions issues, modify Permissions #chmod 777-r/srv/www/htdocs/cacti/rra 5. Database table damaged, repair #mysqlcheck-ao Cacti–auto-repair- Uroot-p 6. Restart SNMPD service #service snmpd restart
have tried, or not! ~
Let's take a look at the architecture diagram of this cacti server:
can open the page and can see the default configuration value of cacti, it proves that PHP and MySQL are normal.
Problems may occur in them: RRDtool and SNMP
Go straight to MySQL in the following statement;
SELECT * from poller_time;
The time is changed every minute here, proving that the following poller.php are performed normally (see below)
Vi/etc/crontab
*/1 * * * */usr/bin/php/var/www/html/cacti/poller.php >/dev/null 2>&1
Then recheck the installation steps for RRDtool and SNMP, which is really okay.
Online forgot where to see, directory/var/www/html/cacti/rra inside the RRD can be deleted.
So remove them all! ~
After deletion, go back to the cacti page, open console-->data sources--> Click Data Source-click on "Turn on/off" source Debug Mode "
The RRD file is regenerated at this time.
Finally, the SNMP service is restarted, as well as the rebuild Poller Cache. All right, wait for the image to come out! ~
CACTI: There is no data solution to the figure