PIA 2.9 Beta

Support for the Plugin Architecture

Moderators: Developers, Moderators

User avatar
TheWitness
Developer
Posts: 16997
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: PIA 2.9 Beta

Post by TheWitness »

The 2.8 should have addressed that. I'll take a quick look at the code...
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?
Nice
Posts: 30
Joined: Mon Sep 20, 2010 9:23 am
Location: Lede, Belgium

Re: PIA 2.9 Beta

Post by Nice »

Any news on this?

After installing the latest version of CLOG (1.6) and Monitor (1.2) I don't have the problem anymore on the clog and monitor pages. On the other pages I still have the white borders.

Searching on this forum I also found out that I have the same problemen with the header logo for some tabs as in following topic: http://forums.cacti.net/viewtopic.php?f=2&t=31653

Maybe it has the same reason?
Last edited by Nice on Thu Oct 07, 2010 7:55 am, edited 1 time in total.
User avatar
TheWitness
Developer
Posts: 16997
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: PIA 2.9 Beta

Post by TheWitness »

I had the exact same post the other day, what is the $url_path set to in your config.php file? Is it correct? What post your main.css file.

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?
Nice
Posts: 30
Joined: Mon Sep 20, 2010 9:23 am
Location: Lede, Belgium

Re: PIA 2.9 Beta

Post by Nice »

my URL path was is

$url_path = "/cacti/";

so this is correct.

I just copied the main.css file again from the installer files and now its correct.

Thanks for your efforts!

Keep up the good work
User avatar
spyd4r
Posts: 29
Joined: Wed Sep 09, 2009 11:48 am
Location: Waterloo, Ontario

Re: PIA 2.9 Beta

Post by spyd4r »

Final release date soon?
User avatar
TheWitness
Developer
Posts: 16997
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: PIA 2.9 Beta

Post by TheWitness »

Waiting on Rony. All QA/testing completed.

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?
User avatar
spyd4r
Posts: 29
Joined: Wed Sep 09, 2009 11:48 am
Location: Waterloo, Ontario

Re: PIA 2.9 Beta

Post by spyd4r »

I got your release build from another thread.. do you happen to have a patch file handy? or should I just move them all into place in a clean install with all patches to date?
User avatar
TheWitness
Developer
Posts: 16997
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: PIA 2.9 Beta

Post by TheWitness »

That's not my department. PM Rony.

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?
User avatar
spyd4r
Posts: 29
Joined: Wed Sep 09, 2009 11:48 am
Location: Waterloo, Ontario

Re: PIA 2.9 Beta

Post by spyd4r »

found a bug in the final..

my path is set as the following.

Code: Select all

$url_path = "/XXXX/XXXX/cacti/";
my cacti directory is /srv/www/htdocs/cacti but I am using an apache rewrite rule to name it as the above path. (there is a sane reason)


When I first log in and click graphs it loads find, but if I click Console after that, then click on graphs once again the page cannot be found.

I have my cacti install behind a proxy, so this is the error I get.

Code: Select all

Not Found

The requested URL /cacti/graph_view.php was not found on this server.

My Lighttpd logs

Code: Select all

Login
1.1.1.1 cacti.host - [20/Oct/2010:20:11:15 +0000] "GET /cacti/index.php HTTP/1.1" 200 1433 "http://some.host/XXXX/XXXX/cacti/index.php" "Mozilla/5.0 (X11; U; Linux x86_64; en-CA; rv:1.9.2.10) Gecko/20100922 Ubuntu/10.10 (maverick) Firefox/3.6.10"
1.1.1.1 cacti.host - [20/Oct/2010:20:11:40 +0000] "POST /cacti/index.php HTTP/1.1" 302 0 "http://some.host/XXXX/XXXX/cacti/index.php" "Mozilla/5.0 (X11; U; Linux x86_64; en-CA; rv:1.9.2.10) Gecko/20100922 Ubuntu/10.10 (maverick) Firefox/3.6.10"

Click Graphs
1.1.1.1 cacti.host - [20/Oct/2010:20:11:40 +0000] "GET /cacti/index.php HTTP/1.1" 200 7462 "http://some.host/XXXX/XXXX/cacti/index.php" "Mozilla/5.0 (X11; U; Linux x86_64; en-CA; rv:1.9.2.10) Gecko/20100922 Ubuntu/10.10 (maverick) Firefox/3.6.10"
1.1.1.1 cacti.host - [20/Oct/2010:20:11:57 +0000] "GET /cacti/graph_view.php HTTP/1.1" 302 0 "http://some.host/XXXX/XXXX/cacti/index.php" "Mozilla/5.0 (X11; U; Linux x86_64; en-CA; rv:1.9.2.10) Gecko/20100922 Ubuntu/10.10 (maverick) Firefox/3.6.10"
1.1.1.1 cacti.host - [20/Oct/2010:20:11:57 +0000] "GET /cacti/graph_view.php?action=tree&tree_id=2&leaf_id=128&select_first=true HTTP/1.1" 200 45787 "http://some.host/XXXX/XXXX/cacti/index.php" "Mozilla/5.0 (X11; U; Linux x86_64; en-CA; rv:1.9.2.10) Gecko/20100922 Ubuntu/10.10 (maverick) Firefox/3.6.10"
1.1.1.1 cacti.host - [20/Oct/2010:20:11:57 +0000] "GET /cacti/graph_image.php?local_graph_id=694&rra_id=0&view_type=tree&graph_start=1287519117&graph_end=1287605517 HTTP/1.1" 200 19413 "http://some.host/XXXX/XXXX/cacti/graph_view.php?action=tree&tree_id=2&leaf_id=128&select_first=true" "Mozilla/5.0 (X11; U; Linux x86_64; en-CA; rv:1.9.2.10) Gecko/20100922 Ubuntu/10.10 (maverick) Firefox/3.6.10"
1.1.1.1 cacti.host - [20/Oct/2010:20:11:58 +0000] "GET /cacti/graph_image.php?local_graph_id=695&rra_id=0&view_type=tree&graph_start=1287519117&graph_end=1287605517 HTTP/1.1" 200 19945 "http://some.host/XXXX/XXXX/cacti/graph_view.php?action=tree&tree_id=2&leaf_id=128&select_first=true" "Mozilla/5.0 (X11; U; Linux x86_64; en-CA; rv:1.9.2.10) Gecko/20100922 Ubuntu/10.10 (maverick) Firefox/3.6.10"

Click Console
1.1.1.1 cacti.host - [20/Oct/2010:20:11:58 +0000] "GET /cacti/graph_image.php?local_graph_id=696&rra_id=0&view_type=tree&graph_start=1287519117&graph_end=1287605517 HTTP/1.1" 200 30368 "http://some.host/XXXX/XXXX/cacti/graph_view.php?action=tree&tree_id=2&leaf_id=128&select_first=true" "Mozilla/5.0 (X11; U; Linux x86_64; en-CA; rv:1.9.2.10) Gecko/20100922 Ubuntu/10.10 (maverick) Firefox/3.6.10"
1.1.1.1 cacti.host - [20/Oct/2010:20:11:58 +0000] "GET /cacti/graph_image.php?local_graph_id=693&rra_id=0&view_type=tree&graph_start=1287519117&graph_end=1287605517 HTTP/1.1" 200 46916 "http://some.host/XXXX/XXXX/cacti/graph_view.php?action=tree&tree_id=2&leaf_id=128&select_first=true" "Mozilla/5.0 (X11; U; Linux x86_64; en-CA; rv:1.9.2.10) Gecko/20100922 Ubuntu/10.10 (maverick) Firefox/3.6.10"
1.1.1.1 cacti.host - [20/Oct/2010:20:11:58 +0000] "GET /cacti/graph_image.php?local_graph_id=691&rra_id=0&view_type=tree&graph_start=1287519117&graph_end=1287605517 HTTP/1.1" 200 34035 "http://some.host/XXXX/XXXX/cacti/graph_view.php?action=tree&tree_id=2&leaf_id=128&select_first=true" "Mozilla/5.0 (X11; U; Linux x86_64; en-CA; rv:1.9.2.10) Gecko/20100922 Ubuntu/10.10 (maverick) Firefox/3.6.10"
1.1.1.1 cacti.host - [20/Oct/2010:20:11:58 +0000] "GET /cacti/graph_image.php?local_graph_id=692&rra_id=0&view_type=tree&graph_start=1287519117&graph_end=1287605517 HTTP/1.1" 200 22934 "http://some.host/XXXX/XXXX/cacti/graph_view.php?action=tree&tree_id=2&leaf_id=128&select_first=true" "Mozilla/5.0 (X11; U; Linux x86_64; en-CA; rv:1.9.2.10) Gecko/20100922 Ubuntu/10.10 (maverick) Firefox/3.6.10"
1.1.1.1 cacti.host - [20/Oct/2010:20:12:23 +0000] "GET /cacti/index.php HTTP/1.1" 200 7462 "http://some.host/XXXX/XXXX/cacti/graph_view.php?action=tree&tree_id=2&leaf_id=128&select_first=true" "Mozilla/5.0 (X11; U; Linux x86_64; en-CA; rv:1.9.2.10) Gecko/20100922 Ubuntu/10.10 (maverick) Firefox/3.6.10"

Click Graphs
1.1.1.1 cacti.host - [20/Oct/2010:20:12:39 +0000] "GET /cacti/graph_view.php HTTP/1.1" 302 0 "http://some.host/XXXX/XXXX/cacti/index.php" "Mozilla/5.0 (X11; U; Linux x86_64; en-CA; rv:1.9.2.10) Gecko/20100922 Ubuntu/10.10 (maverick) Firefox/3.6.10"



From the server with the rewrite rule
Login
1.1.1.1 - - [20/Oct/2010:20:19:23 +0000] "POST /XXXX/XXXX/cacti/index.php HTTP/1.1" 302 - "http://some.host/XXXX/XXXX/cacti/index.php" "Mozilla/5.0 (X11; U; Linux x86_64; en-CA; rv:1.9.2.10) Gecko/20100922 Ubuntu/10.10 (maverick) Firefox/3.6.10"
1.1.1.1 - - [20/Oct/2010:20:19:23 +0000] "GET /XXXX/XXXX/cacti/index.php HTTP/1.1" 200 7449 "http://some.host/XXXX/XXXX/cacti/index.php" "Mozilla/5.0 (X11; U; Linux x86_64; en-CA; rv:1.9.2.10) Gecko/20100922 Ubuntu/10.10 (maverick) Firefox/3.6.10"

Click Graphs
1.1.1.1 - - [20/Oct/2010:20:19:35 +0000] "GET /XXXX/XXXX/cacti/graph_view.php HTTP/1.1" 302 - "http://some.host/XXXX/XXXX/cacti/index.php" "Mozilla/5.0 (X11; U; Linux x86_64; en-CA; rv:1.9.2.10) Gecko/20100922 Ubuntu/10.10 (maverick) Firefox/3.6.10"
1.1.1.1 - - [20/Oct/2010:20:19:35 +0000] "GET /XXXX/XXXX/cacti/graph_view.php?action=tree&tree_id=2&leaf_id=128&select_first=true HTTP/1.1" 200 45734 "http://some.host/XXXX/XXXX/cacti/index.php" "Mozilla/5.0 (X11; U; Linux x86_64; en-CA; rv:1.9.2.10) Gecko/20100922 Ubuntu/10.10 (maverick) Firefox/3.6.10"
1.1.1.1 - - [20/Oct/2010:20:19:35 +0000] "GET /XXXX/XXXX/cacti/graph_image.php?local_graph_id=694&rra_id=0&view_type=tree&graph_start=1287519575&graph_end=1287605975 HTTP/1.1" 200 19406 "http://some.host/XXXX/XXXX/cacti/graph_view.php?action=tree&tree_id=2&leaf_id=128&select_first=true" "Mozilla/5.0 (X11; U; Linux x86_64; en-CA; rv:1.9.2.10) Gecko/20100922 Ubuntu/10.10 (maverick) Firefox/3.6.10"
1.1.1.1 - - [20/Oct/2010:20:19:35 +0000] "GET /XXXX/XXXX/cacti/include/treeview/ftv2mlastnode.gif HTTP/1.1" 200 125 "http://some.host/XXXX/XXXX/cacti/graph_view.php?action=tree&tree_id=2&leaf_id=128&select_first=true" "Mozilla/5.0 (X11; U; Linux x86_64; en-CA; rv:1.9.2.10) Gecko/20100922 Ubuntu/10.10 (maverick) Firefox/3.6.10"
1.1.1.1 - - [20/Oct/2010:20:19:35 +0000] "GET /XXXX/XXXX/cacti/include/treeview/ftv2plastnode.gif HTTP/1.1" 200 130 "http://some.host/XXXX/XXXX/cacti/graph_view.php?action=tree&tree_id=2&leaf_id=128&select_first=true" "Mozilla/5.0 (X11; U; Linux x86_64; en-CA; rv:1.9.2.10) Gecko/20100922 Ubuntu/10.10 (maverick) Firefox/3.6.10"
1.1.1.1 - - [20/Oct/2010:20:19:35 +0000] "GET /XXXX/XXXX/cacti/graph_image.php?local_graph_id=695&rra_id=0&view_type=tree&graph_start=1287519575&graph_end=1287605975 HTTP/1.1" 200 19955 "http://some.host/XXXX/XXXX/cacti/graph_view.php?action=tree&tree_id=2&leaf_id=128&select_first=true" "Mozilla/5.0 (X11; U; Linux x86_64; en-CA; rv:1.9.2.10) Gecko/20100922 Ubuntu/10.10 (maverick) Firefox/3.6.10"
1.1.1.1 - - [20/Oct/2010:20:19:35 +0000] "GET /XXXX/XXXX/cacti/graph_image.php?local_graph_id=696&rra_id=0&view_type=tree&graph_start=1287519575&graph_end=1287605975 HTTP/1.1" 200 30434 "http://some.host/XXXX/XXXX/cacti/graph_view.php?action=tree&tree_id=2&leaf_id=128&select_first=true" "Mozilla/5.0 (X11; U; Linux x86_64; en-CA; rv:1.9.2.10) Gecko/20100922 Ubuntu/10.10 (maverick) Firefox/3.6.10"
1.1.1.1 - - [20/Oct/2010:20:19:35 +0000] "GET /XXXX/XXXX/cacti/graph_image.php?local_graph_id=693&rra_id=0&view_type=tree&graph_start=1287519575&graph_end=1287605975 HTTP/1.1" 200 47408 "http://some.host/XXXX/XXXX/cacti/graph_view.php?action=tree&tree_id=2&leaf_id=128&select_first=true" "Mozilla/5.0 (X11; U; Linux x86_64; en-CA; rv:1.9.2.10) Gecko/20100922 Ubuntu/10.10 (maverick) Firefox/3.6.10"
1.1.1.1 - - [20/Oct/2010:20:19:35 +0000] "GET /XXXX/XXXX/cacti/graph_image.php?local_graph_id=691&rra_id=0&view_type=tree&graph_start=1287519575&graph_end=1287605975 HTTP/1.1" 200 33454 "http://some.host/XXXX/XXXX/cacti/graph_view.php?action=tree&tree_id=2&leaf_id=128&select_first=true" "Mozilla/5.0 (X11; U; Linux x86_64; en-CA; rv:1.9.2.10) Gecko/20100922 Ubuntu/10.10 (maverick) Firefox/3.6.10"
1.1.1.1 - - [20/Oct/2010:20:19:35 +0000] "GET /XXXX/XXXX/cacti/graph_image.php?local_graph_id=692&rra_id=0&view_type=tree&graph_start=1287519575&graph_end=1287605975 HTTP/1.1" 200 22966 "http://some.host/XXXX/XXXX/cacti/graph_view.php?action=tree&tree_id=2&leaf_id=128&select_first=true" "Mozilla/5.0 (X11; U; Linux x86_64; en-CA; rv:1.9.2.10) Gecko/20100922 Ubuntu/10.10 (maverick) Firefox/3.6.10"

Click Console
1.1.1.1 - - [20/Oct/2010:20:19:40 +0000] "GET /XXXX/XXXX/cacti/index.php HTTP/1.1" 200 7449 "http://some.host/XXXX/XXXX/cacti/graph_view.php?action=tree&tree_id=2&leaf_id=128&select_first=true" "Mozilla/5.0 (X11; U; Linux x86_64; en-CA; rv:1.9.2.10) Gecko/20100922 Ubuntu/10.10 (maverick) Firefox/3.6.10"

Click Graphs
1.1.1.1 - - [20/Oct/2010:20:19:44 +0000] "GET /XXXX/XXXX/cacti/graph_view.php HTTP/1.1" 302 - "http://some.host/XXXX/XXXX/cacti/index.php" "Mozilla/5.0 (X11; U; Linux x86_64; en-CA; rv:1.9.2.10) Gecko/20100922 Ubuntu/10.10 (maverick) Firefox/3.6.10"
1.1.1.1 - - [20/Oct/2010:20:19:44 +0000] "GET /cacti/graph_view.php?action=tree&tree_id=2&leaf_id=128&select_first=true HTTP/1.1" 404 310 "http://some.host/XXXX/XXXX/cacti/index.php" "Mozilla/5.0 (X11; U; Linux x86_64; en-CA; rv:1.9.2.10) Gecko/20100922 Ubuntu/10.10 (maverick) Firefox/3.6.10"
[Wed Oct 20 20:19:44 2010] [error] [client 1.1.1.1] File does not exist: /var/www/html/cacti, referer: http://some.host/XXXX/XXXX/cacti/index.php
User avatar
TheWitness
Developer
Posts: 16997
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: PIA 2.9 Beta

Post by TheWitness »

Not too sure about this. May end up being unsupported config.

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?
User avatar
spyd4r
Posts: 29
Joined: Wed Sep 09, 2009 11:48 am
Location: Waterloo, Ontario

Re: PIA 2.9 Beta

Post by spyd4r »

TheWitness wrote:Not too sure about this. May end up being unsupported config.

TheWitness
yeah, never had this issue with the stock cacti builds, just with the introduction of the PIA. So I am guessing it lies in there somewhere.. just not sure exactly where.
User avatar
spyd4r
Posts: 29
Joined: Wed Sep 09, 2009 11:48 am
Location: Waterloo, Ontario

Re: PIA 2.9 Beta

Post by spyd4r »

spyd4r wrote:
TheWitness wrote:Not too sure about this. May end up being unsupported config.

TheWitness
yeah, never had this issue with the stock cacti builds, just with the introduction of the PIA. So I am guessing it lies in there somewhere.. just not sure exactly where.

fully tested this with the old installs (cacti0.8.7e with no PIA) and it is not an issue. it has to be a PIA issue, is there a chance one of the $config['url_path'] additions were missed somewhere?
User avatar
spyd4r
Posts: 29
Joined: Wed Sep 09, 2009 11:48 am
Location: Waterloo, Ontario

Re: PIA 2.9 Beta

Post by spyd4r »

spyd4r wrote:
spyd4r wrote:
TheWitness wrote:Not too sure about this. May end up being unsupported config.

TheWitness
yeah, never had this issue with the stock cacti builds, just with the introduction of the PIA. So I am guessing it lies in there somewhere.. just not sure exactly where.

fully tested this with the old installs (cacti0.8.7e with no PIA) and it is not an issue. it has to be a PIA issue, is there a chance one of the $config['url_path'] additions were missed somewhere?

I was able to create a work around. filed as http://bugs.cacti.net/view.php?id=1889
X-dark
Cacti User
Posts: 111
Joined: Wed Jun 18, 2008 10:21 am
Location: France

Re: PIA 2.9 Beta

Post by X-dark »

Shouldn't this announcement be suppressed as the stable version of PIA 2.9 has been released months ago (http://forums.cacti.net/viewtopic.php?f=19&t=40385) ?
Cedric Girard
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests