I'm trying to debug a really strange issue with the Boost plugin. My Cacti setup is:
- Debian linux, with the stock apache2 and php5 packages
- Cacti 0.8.7b
- Plugin Architecture 2.1
- Boost 2.1
The problem I have is that with the Boost plugin enabled, graphs don't display the first time you try to view them. The RRD-files that the graphs are based on are updated on disk, but you have to refresh the page to actually view the graphs.
Has anybody else seen this issue?
Graphs not updating on first load with Boost plugin enabled
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Apache needs r/w to the RRA directory. I general set the setgid bit on the directory and make it "cactiuser:apache".
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Sorry, I forgot to mention that I've already tried that. Even with write access for every user it still doesn't work; the RRA files are updated correctly, so I think the write access is working.TheWitness wrote:Apache needs r/w to the RRA directory. I general set the setgid bit on the directory and make it "cactiuser:apache".
TheWitness
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Well for existing ones, but new ones is always the issue provide the following for me:
cd /var/www/html/cacti
ls -altr
cd rra
ls -altr
TheWitness
cd /var/www/html/cacti
ls -altr
cd rra
ls -altr
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
For the main cacti directory the rights are:TheWitness wrote:Well for existing ones, but new ones is always the issue provide the following for me:
cd /var/www/html/cacti
ls -altr
cd rra
ls -altr
TheWitness
Code: Select all
total 1408
-rw-r--r-- 1 root root 353 2008-02-12 01:57 script_server.pl
drwxr-xr-x 5 root root 4096 2008-02-12 01:57 resource
-rw-r--r-- 1 root root 71 2008-02-12 01:57 README
-rw-r--r-- 1 root root 15141 2008-02-12 01:57 LICENSE
drwxr-xr-x 2 root root 4096 2008-02-12 01:57 images
drwxr-xr-x 2 root root 4096 2008-02-12 01:57 cli
-rw-r--r-- 1 root root 17835 2008-02-12 01:57 tree.php
-rw-r--r-- 1 root root 6524 2008-02-12 01:57 templates_import.php
-rw-r--r-- 1 root root 6667 2008-02-12 01:57 templates_export.php
-rw-r--r-- 1 root root 4996 2008-02-12 01:57 settings.php
-rw-r--r-- 1 root root 7304 2008-02-12 01:57 script_server.php
-rw-r--r-- 1 root root 7084 2008-02-12 01:57 rra.php
-rw-r--r-- 1 root root 2243 2008-02-12 01:57 poller_export.php
-rw-r--r-- 1 root root 4306 2008-02-12 01:57 poller_commands.php
-rw-r--r-- 1 root root 2451 2008-02-12 01:57 logout.php
drwxrwxrwx 2 root root 4096 2008-02-12 01:57 log
drwxr-xr-x 2 root root 4096 2008-02-12 01:57 install
-rw-r--r-- 1 root root 18045 2008-02-12 01:57 host_templates.php
-rw-r--r-- 1 root root 5758 2008-02-12 01:57 graph_xport.php
-rw-r--r-- 1 root root 29052 2008-02-12 01:57 graph_view.php
-rw-r--r-- 1 root root 25042 2008-02-12 01:57 graph_templates.php
-rw-r--r-- 1 root root 18482 2008-02-12 01:57 graph_templates_items.php
-rw-r--r-- 1 root root 9945 2008-02-12 01:57 graph_templates_inputs.php
-rw-r--r-- 1 root root 13828 2008-02-12 01:57 graphs_items.php
-rw-r--r-- 1 root root 7716 2008-02-12 01:57 graph_settings.php
-rw-r--r-- 1 root root 5958 2008-02-12 01:57 gprint_presets.php
drwxr-xr-x 4 root root 4096 2008-02-12 01:57 docs
-rw-r--r-- 1 root root 31304 2008-02-12 01:57 data_templates.php
-rw-r--r-- 1 root root 33923 2008-02-12 01:57 data_queries.php
-rw-r--r-- 1 root root 23279 2008-02-12 01:57 data_input.php
-rw-r--r-- 1 root root 5765 2008-02-12 01:57 color.php
-rw-r--r-- 1 root root 18369 2008-02-12 01:57 cmd.php
-rw-r--r-- 1 root root 12960 2008-02-12 01:57 cdef.php
-rw------- 1 root root 124294 2008-02-12 01:57 cacti.sql
-rw-r--r-- 1 root root 6387 2008-02-12 01:57 about.php
drwxrwsr-x 23 root staff 4096 2009-01-23 12:12 ..
-rw-r--r-- 1 root root 2313 2009-01-23 12:12 index.php
-rw-r--r-- 1 root root 50696 2009-01-23 12:12 host.php
-rw-r--r-- 1 root root 50907 2009-01-23 12:12 graphs.php
-rw-r--r-- 1 root root 37183 2009-01-23 12:12 graphs_new.php
-rw-r--r-- 1 root root 12106 2009-01-23 12:12 graph.php
-rw-r--r-- 1 root root 3446 2009-01-23 12:12 graph_image.php
-rw-r--r-- 1 root root 49345 2009-01-23 12:12 data_sources.php
-rw-r--r-- 1 root root 11868 2009-01-23 12:12 auth_login.php
-rw-r--r-- 1 root root 4703 2009-01-23 12:12 auth_changepassword.php
-rw-r--r-- 1 root root 48973 2009-01-23 12:12 utilities.php
-rw-r--r-- 1 root root 42240 2009-01-23 12:12 user_admin.php
-rw-r--r-- 1 root root 15178 2009-01-23 12:12 poller.php
-rw-r--r-- 1 root root 14967 2009-01-23 12:12 plugins.php
drwxr-xr-x 2 root root 4096 2009-01-23 12:16 scripts
drwxrwxrwx 2 www-data root 462848 2009-02-06 14:26 rra
drwxr-xr-x 3 root root 4096 2009-02-08 16:37 plugins
-rw-r--r-- 1 root root 7151 2009-02-08 17:18 diff.patch
drwxr-xr-x 13 root root 4096 2009-02-08 17:18 .
drwxr-xr-x 3 root root 4096 2009-02-08 17:18 lib
drwxr-xr-x 5 root root 4096 2009-02-08 17:18 include
I tried using the update server, but that had the same results.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
I would write a simple test script that attempt's to write an empty file into the rra directory and then attempt to execute it from the web site and see it that works. If not, it's a permissions issue. Also, if you are not using boost 2.0 or better, upgrade to the latest.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
I assume problem solved
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Who is online
Users browsing this forum: No registered users and 0 guests