-I'm on a raspberry pi 3 b+ with raspbian stretch. Since using:
Code: Select all
sudo apt install cacti
-Followed every step in there. Weird that in a virtual machine with raspbian stretch, when importing cacti database with this step, it was only 3 seconds:
Code: Select all
mysql -u root -p cacti < /opt/cacti/cacti.sql
-The tutorial said to do this
Code: Select all
nano /etc/crontab
Add: */5 * * * * www-data php /<cacti-path>/cacti/poller.php > /dev/null 2>&1
Code: Select all
crontab -e
Add: */5 * * * * www-data php /<cacti-path>/cacti/poller.php > /dev/null 2>&1
Like this image:https://user-images.githubusercontent.c ... 2fa6e2.pngError opening '/<cacti-path>/cacti/rra/*.rrd No such file or directory
Since I used cacti too for a school project and the poller was the source of near all my problems (the new graphs didn't create unless I started the poller from root terminal, but afterwards they were updating with no problems), I did
Code: Select all
sudo /usr/bin/php /opt/cacti/poller.php
The problem is, now I have all this rubish in my crontabs
Code: Select all
#in crontab -e
*/1 * * * * www-data php /opt/cacti/poller.php > /dev/null 2>&1
*/1 * * * * cactiuser php /opt/cacti/poller.php > /dev/null 2>&1
#in /etc/crontab
*/1 * * * * root /usr/bin/php /opt/cacti/poller.php > /dev/null 2>&1