Hello. (Sorry for English)
freebsd 8.1
cacti-0.8.7g
spine-0.8.7.g
rrdtool-1.4.4
If poller works through cmd.php - graph's are drawn
If poller works through spine - no graph's
in cacti.log
12/03/2010 02:19:59 PM - POLLER: Poller[0] Maximum runtime of 298 seconds exceeded. Exiting.
12/03/2010 02:19:59 PM - SYSTEM STATS: Time:298.8410 Method:spine Processes:1 Threads:1 Hosts:6 HostsPerProcess:6 DataSources:124 RRDsProcessed:0
How to force to work cacti through spine?
problem: no graphic
Moderators: Developers, Moderators
Re: problem: no graphic
Make sure you turn off the host scanner for some reason it really slows everything down. Also just try a refresh as well as ensure your hardware is strong enough. Check out my other post in this section just a day ago and you'll see I was having potentially similar issues although the difference was it didn't matter if I used cmd or spine.
Has it ever worked with spine?
Has it ever worked with spine?
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: problem: no graphic
You did not change crontab, did you? It still should call poller.php! Did you setup spine.conf? See 2nd link of my sig for some debugging hints that are related to spine
R.
R.
Re: problem: no graphic
thanks for the reply
entries in the crontab when working through the cmd.php and spine should be different?
The manual I have not seen it.
spine.conf changed.
in crontab:
# Cacti
* / 5 * * * * root / usr / local / bin / php / usr / local / share / cacti / poller.php
entries in the crontab when working through the cmd.php and spine should be different?
The manual I have not seen it.
spine.conf changed.
in crontab:
# Cacti
* / 5 * * * * root / usr / local / bin / php / usr / local / share / cacti / poller.php
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: problem: no graphic
http://docs.cacti.net/manual:087:1_inst ... gure_cacti tells you to use but I prefer Your path is different. But you
- should NOT use root for polling!
- must call php to run the poller
- must not change this line. Using cmd.php or spine does not require a change here
R.
Code: Select all
*/5 * * * * cactiuser php /var/www/html/cacti/poller.php > /dev/null 2>&1
Code: Select all
*/5 * * * * cactiuser php /var/www/html/cacti/poller.php > /var/www/html/cacti/log/poller.log 2>&1
- should NOT use root for polling!
- must call php to run the poller
- must not change this line. Using cmd.php or spine does not require a change here
R.
Who is online
Users browsing this forum: No registered users and 0 guests