problem: no graphic

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
ZerGa
Posts: 4
Joined: Fri Dec 03, 2010 6:06 am
Location: RU
Contact:

problem: no graphic

Post by ZerGa »

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?
zuasive
Posts: 19
Joined: Mon Nov 29, 2010 5:00 pm

Re: problem: no graphic

Post by zuasive »

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?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: problem: no graphic

Post by gandalf »

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.
ZerGa
Posts: 4
Joined: Fri Dec 03, 2010 6:06 am
Location: RU
Contact:

Re: problem: no graphic

Post by ZerGa »

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
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: problem: no graphic

Post by gandalf »

http://docs.cacti.net/manual:087:1_inst ... gure_cacti tells you to use

Code: Select all

*/5 * * * * cactiuser php /var/www/html/cacti/poller.php > /dev/null 2>&1
but I prefer

Code: Select all

*/5 * * * * cactiuser php /var/www/html/cacti/poller.php > /var/www/html/cacti/log/poller.log 2>&1
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.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest