You should add the poller to crontab:
e.g. create a file "/etc/cron.d/cacti" and add the following:
Code: Select all
*/5 * * * * cactiuser php /var/www/html/cacti/poller.php &>/dev/null
If you're running your cacti install as another user than cactiuser, you need to change that line.
Next: If you run the poller from the command line manually, it needs to be done using the same user as cacti is running as.
Example: If you run the command as root, all the rrd files are owned by root and nobody else is able to change them. If your Cacti install is now running as e.g. "cactiuser" the poller won't be able to update it and your graphs stay blank.
A
may solve the problem in this case.
So: What user is your Cacti install running as, and what user did you use to manually run the poller comman ?