Boost - blank graph until boost runs
Moderators: Developers, Moderators
Boost - blank graph until boost runs
I am having an issue, I have set boost to cache more info, so it doesn't run as often. The problem I am running into is that if I look at a graph, there is no data since the last time boost ran. Once boost runs, all the data is there.
I thought the Enable On Demand RRD Updating setting was for this?
the performance of the box is good, I just want boos to run less often so I can get a backup done.
The poller runs in cron as root, and I did a chown -R root:apache /rra so all the RRDs show root and apache as the owners.
Am I missing something, or am I mis-understanding how boost works?
Thanks
I thought the Enable On Demand RRD Updating setting was for this?
the performance of the box is good, I just want boos to run less often so I can get a backup done.
The poller runs in cron as root, and I did a chown -R root:apache /rra so all the RRDs show root and apache as the owners.
Am I missing something, or am I mis-understanding how boost works?
Thanks
Re: Boost - blank graph until boost runs
Forgot, I am running 0.8.7g with boost 4.2 on Centos 5.5 64bit.
Re: Boost - blank graph until boost runs
Anyone have any ideas?
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Boost - blank graph until boost runs
Yes, that should be the case. Please post screenshot of boost settings, then.ralf wrote:I thought the Enable On Demand RRD Updating setting was for this?
R.
Re: Boost - blank graph until boost runs
Sorry for the delay, here is the screen shot.
- Attachments
-
- boost.jpg (413.8 KiB) Viewed 3002 times
Re: Boost - blank graph until boost runs
I noticed that boost was running as the apache user but the poller in cron is running as root. I tried switching boost to run as root, but I never saw it try to write the RRA's. Since I wasn't sure how to restart boost, I just rebooted the server. The only thing I saw in the logs was:
BOOST SVR: Poller[0] WARNING: Detected Poller Boost Overrun, Possible Boost Poller Crash
But I also saw that when I switched boost back to using Apache and rebooting again. After I switched it back, it works the way it did before.
I tried running the poller as apache with this line in cron:
*/1 * * * * apache php /var/www/html/poller.php > /dev/null 2>&1
Then I was getting errors that started with Poller[0] ERROR: SQL Assoc Failed!, Error:'2006', SQL:"SELECT when the poller ran.
Could the mis-match between the boost user and the poller be causing my issue, or am I looking at the wrong thing?
BOOST SVR: Poller[0] WARNING: Detected Poller Boost Overrun, Possible Boost Poller Crash
But I also saw that when I switched boost back to using Apache and rebooting again. After I switched it back, it works the way it did before.
I tried running the poller as apache with this line in cron:
*/1 * * * * apache php /var/www/html/poller.php > /dev/null 2>&1
Then I was getting errors that started with Poller[0] ERROR: SQL Assoc Failed!, Error:'2006', SQL:"SELECT when the poller ran.
Could the mis-match between the boost user and the poller be causing my issue, or am I looking at the wrong thing?
Re: Boost - blank graph until boost runs
I changed all the RRD files to be owned by apache, they were owned by root before. Still the same thing, anyone have any other ideas?
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Boost - blank graph until boost runs
Did you set up the boost_server.php to run as a daemon (see README for that)? Please see "System Utilities -> Boost Stats" for some more info
R.
R.
Re: Boost - blank graph until boost runs
I just enabled it. I just went off the docs on the page http://docs.cacti.net/plugin:boost and didn't realize there was more info in the README.
Unfortunately there is no change in the behavior. I ran it as service cacti_rrdsvc start [debug] but the only entry in the log file is that the RRDtool service started.
Unfortunately there is no change in the behavior. I ran it as service cacti_rrdsvc start [debug] but the only entry in the log file is that the RRDtool service started.
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Boost - blank graph until boost runs
Did you check by "telnet localhost 9050" and then issuing "status"?
R.
R.
Re: Boost - blank graph until boost runs
I get "Server Status OK" then get disconnected.
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Boost - blank graph until boost runs
That's correct.
This is which version of mysql?
How did you define poller_output_boost (using a text field or a varchar?)
R.
This is which version of mysql?
How did you define poller_output_boost (using a text field or a varchar?)
R.
Re: Boost - blank graph until boost runs
MySQL is version 5.0.77
The poller_output_boost table is varcar/
The poller_output_boost table is varcar/
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Boost - blank graph until boost runs
Please see http://dev.mysql.com/doc/refman/5.0/en/ ... large.html for you mysql error
R.
R.
Re: Boost - blank graph until boost runs
Gandalf,
Did you reply to the wrong thread? I am not seeing any mysql errors.
Did you reply to the wrong thread? I am not seeing any mysql errors.
Who is online
Users browsing this forum: No registered users and 0 guests