Graph when manualle run poller.php
Moderators: Developers, Moderators
Graph when manualle run poller.php
Only when I manually run poller.php the graph is displaying results.
My /etc/crontab looks like this:
*/5 * * * * cacti /usr/local/bin/php /usr/hosting/www/sys.inetport.dk/cacti/poller.php > /dev/null 2>&1
I'm running FreeBSD.
My /etc/crontab looks like this:
*/5 * * * * cacti /usr/local/bin/php /usr/hosting/www/sys.inetport.dk/cacti/poller.php > /dev/null 2>&1
I'm running FreeBSD.
Re: Graph when manualle run poller.php
I have the same problem. Also tryed crontab -e. and put in */5 * * * * /srv/www/htdocs/cacti/poller.php > /dev/null >2&1. But no result.
Then I run poller.php cacti uppdates.
HELP Please
Then I run poller.php cacti uppdates.
HELP Please
I still have the problem,
my crontab contain:
*/5 * * * * root /usr/bin/php /var/www/html/cacti/poller.php > /dev/null 2>&1
and that not update graph...
When i manually do
php /var/www/html/cacti/poller.php
all is done my graphs are updated...
My crontab daemon is launched...
I don't understand the problem...
my crontab contain:
*/5 * * * * root /usr/bin/php /var/www/html/cacti/poller.php > /dev/null 2>&1
and that not update graph...
When i manually do
php /var/www/html/cacti/poller.php
all is done my graphs are updated...
My crontab daemon is launched...
I don't understand the problem...
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Please try using(where your php path and your cacti install dir should be used, of course). So you'll always find the last poller output at log/poller.log to see rrdtool errors. When falling back to non-root user, make sure permissions on rra/ and log/ are set properly.
Reinhard
Code: Select all
*/5 * * * * cactiuser /usr/bin/php /var/www/html/cacti/poller.php > /var/www/html/cacti/poller.log 2>&1
Reinhard
Who is online
Users browsing this forum: No registered users and 0 guests