Here is a cut and paste of it... was i supposed to redirect it from dev/null?
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/
*/5 * * * * cactiuser php /usr/local/downloads/cacti-0.8.6h/poller.php > /dev/null 2> &1
# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly
new user problem generating graphs
Moderators: Developers, Moderators
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Please change to Now, you'll always find the output of the last pollers run in ./log/poller.log. Please check this file after one pollers run. And please check the file in ./rra for ownership. They should be owned by cactiuser:cactiuser
Reinhard
Code: Select all
*/5 * * * * cactiuser php /usr/local/downloads/cacti-0.8.6h/poller.php > /dev/null 2> &1
Code: Select all
*/5 * * * * cactiuser /full/path/to/php /usr/local/downloads/cacti-0.8.6h/poller.php > /usr/local/downloads/cacti-0.8.6h/log/poller.log 2> &1
Reinhard
I changed the crontab using crontab -e and that seemed to work. Apparently I was not editing the correct crontab file for cactiuser. Now I'm getting graphs and seems to be working good.
I really appreciate all the help. You have been more than patient..
Thanks much, Kevin.
Final crontab config:
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/
*/5 * * * * /usr/local/downloads/cacti-0.8.6h/poller.php >> /dev/null 2>&1
# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly
I really appreciate all the help. You have been more than patient..
Thanks much, Kevin.
Final crontab config:
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/
*/5 * * * * /usr/local/downloads/cacti-0.8.6h/poller.php >> /dev/null 2>&1
# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly
Who is online
Users browsing this forum: No registered users and 1 guest