Plugin Management and Plugins do not appear in GUI.
Moderators: Developers, Moderators
Plugin Management and Plugins do not appear in GUI.
Here is the relevant info...
1) Cacti 0.8.7e on ubuntu.
2)My /usr/share/cacti/site/include/config.php
$database_type = "mysql";
#require('/etc/cacti/debian.php');
$database_default = "cacti";
$database_hostname = "localhost";
$database_username = "cacti";
$database_password = "1234maybe";
$database_port = "3306";
$plugins = array();
$plugins[] = 'docs';
$plugins[] = 'flowview';
$plugins[] = 'monitor';
$plugins[] = 'routerconfigs';
$url_path = "/cacti/";
/* Default session name - Session name must contain alpha characters */
#$cacti_session_name = "Cacti";
3) Contents of /var/www/cacti/plugins. I downloaded the .tgz plugins from the Cacti page and extracted them into the plugins folder.
root@viclanmon cacti/plugins# ls
docs flowview index.php monitor routerconfigs
root@viclanmon cacti/plugins#
4) I imported pa.sql with mysql --user=root -p cacti < pa.sql.
5) Installed PA architecture with: patch -p1 -N < cacti-plugin-arch.diff. No errors, it installed correctly.
6) See screen shot of the Cacti web page...that is attached to this post.
7) I launch Cacti by putting this in the browser URL address space: viclanmon/cacti.
Here is a snippet of /usr/share/cacti/site/include/global.php.
/* include base modules */
include("/usr/share/php/adodb/adodb.inc.php");
include($config["library_path"] . "/database.php");
include_once($config["library_path"] . "/functions.php");
include_once($config["include_path"] . "/global_constants.php");
include_once($config["include_path"] . "/global_arrays.php");
include_once($config["include_path"] . "/global_settings.php");
Thanking you in advance, mgd
1) Cacti 0.8.7e on ubuntu.
2)My /usr/share/cacti/site/include/config.php
$database_type = "mysql";
#require('/etc/cacti/debian.php');
$database_default = "cacti";
$database_hostname = "localhost";
$database_username = "cacti";
$database_password = "1234maybe";
$database_port = "3306";
$plugins = array();
$plugins[] = 'docs';
$plugins[] = 'flowview';
$plugins[] = 'monitor';
$plugins[] = 'routerconfigs';
$url_path = "/cacti/";
/* Default session name - Session name must contain alpha characters */
#$cacti_session_name = "Cacti";
3) Contents of /var/www/cacti/plugins. I downloaded the .tgz plugins from the Cacti page and extracted them into the plugins folder.
root@viclanmon cacti/plugins# ls
docs flowview index.php monitor routerconfigs
root@viclanmon cacti/plugins#
4) I imported pa.sql with mysql --user=root -p cacti < pa.sql.
5) Installed PA architecture with: patch -p1 -N < cacti-plugin-arch.diff. No errors, it installed correctly.
6) See screen shot of the Cacti web page...that is attached to this post.
7) I launch Cacti by putting this in the browser URL address space: viclanmon/cacti.
Here is a snippet of /usr/share/cacti/site/include/global.php.
/* include base modules */
include("/usr/share/php/adodb/adodb.inc.php");
include($config["library_path"] . "/database.php");
include_once($config["library_path"] . "/functions.php");
include_once($config["include_path"] . "/global_constants.php");
include_once($config["include_path"] . "/global_arrays.php");
include_once($config["include_path"] . "/global_settings.php");
Thanking you in advance, mgd
- Attachments
-
- Note: PA Architecture does not appear under settings and No Plugin options under Realm Permissions.
- Screenshot-2011-12-12_15.50.55.png (33.08 KiB) Viewed 10492 times
Re: Plugin Management and Plugins do not appear in GUI.
Further to my issue:
1) If I try to launch, viclanmon/cacti/plugins.php from a browser, I get a page not found.
2) root@viclanmon www/cacti# mysql -ucacti -p1234maybe cacti -e 'select * from plugin_realms'
+----+----------+-------------+-------------------+
| id | plugin | file | display |
+----+----------+-------------+-------------------+
| 1 | internal | plugins.php | Plugin Management |
+----+----------+-------------+-------------------+
root@viclanmon www/cacti#
1) If I try to launch, viclanmon/cacti/plugins.php from a browser, I get a page not found.
2) root@viclanmon www/cacti# mysql -ucacti -p1234maybe cacti -e 'select * from plugin_realms'
+----+----------+-------------+-------------------+
| id | plugin | file | display |
+----+----------+-------------+-------------------+
| 1 | internal | plugins.php | Plugin Management |
+----+----------+-------------+-------------------+
root@viclanmon www/cacti#
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Plugin Management and Plugins do not appear in GUI.
Sounds like you screwed up the pia install. Likely files are in the wrong directories. It would be easier to simply upgrade to 'i' which contains the PIA as an option.
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?
Re: Plugin Management and Plugins do not appear in GUI.
Thank you for the suggestion to upgrade. The Chapter 4 Upgrading Cacti section of the Cacti Manual was quite helpful. Plugins are now available for my "cacti" user.
I do have a suggestion for Chapter 4. For users interested in Plugin management, direct them to download the file: http://www.cacti.net/downloads/cacti-0. ... 3.1.tar.gz for installing cacti with embedded plugin management. Then reference the installation instructions for plugins. It may be helpful to add lines such as the following for the include/config.php file:
$plugins = array();
$plugins[] = 'docs';
$plugins[] = 'flowview';
$plugins[] = 'monitor';
$plugins[] = 'routerconfigs';
/*
Edit this to point to the default URL of your Cacti install
ex: if your cacti install as at http://serverip/cacti/ this
would be set to /cacti/
*/
$url_path = "/cacti/";
I would be happy to update the manual if you can provide me with the steps involved in seeking permission to do so.
I do have a suggestion for Chapter 4. For users interested in Plugin management, direct them to download the file: http://www.cacti.net/downloads/cacti-0. ... 3.1.tar.gz for installing cacti with embedded plugin management. Then reference the installation instructions for plugins. It may be helpful to add lines such as the following for the include/config.php file:
$plugins = array();
$plugins[] = 'docs';
$plugins[] = 'flowview';
$plugins[] = 'monitor';
$plugins[] = 'routerconfigs';
/*
Edit this to point to the default URL of your Cacti install
ex: if your cacti install as at http://serverip/cacti/ this
would be set to /cacti/
*/
$url_path = "/cacti/";
I would be happy to update the manual if you can provide me with the steps involved in seeking permission to do so.
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Plugin Management and Plugins do not appear in GUI.
Listing the plugins in the config file is no longer required.
To change the docs, please create a new userid at http://bugs.cacti.net. This userid will work on the docs site as well
R.
To change the docs, please create a new userid at http://bugs.cacti.net. This userid will work on the docs site as well
R.
Re: Plugin Management and Plugins do not appear in GUI.
>> To change the docs, please create a new userid at http://bugs.cacti.net. This userid will work on the docs site as well
Unfortunately ordinary users can't edit pages under 'docs.cacti.net/manual' even if logged in as mantis user.
- http://forums.cacti.net/viewtopic.php?p=217587#p217587
Unfortunately ordinary users can't edit pages under 'docs.cacti.net/manual' even if logged in as mantis user.
- http://forums.cacti.net/viewtopic.php?p=217587#p217587
Re: Plugin Management and Plugins do not appear in GUI.
Even after I did suggested upgrade (The Witness post, mgdkacti post) to 'i' version I do not see Plugin Management or Plugins. I am not sure where I made the mistake? This is the directory /var/www/html/cacti where i installed cacti-0.8.7i-PIA-3.1. Can someone help please. Thank you.
Re: Plugin Management and Plugins do not appear in GUI.
Did you check the permissions on your cacti and plugin directories to see that your Cacti user can r/w to them? When I was having an issue, I chmoded the cacti directory recursively: cactiuser:www-data with permissions 775.
Re: Plugin Management and Plugins do not appear in GUI.
I changed the permissions to 775, but still no plugin management. Any other idea?
Re: Plugin Management and Plugins do not appear in GUI.
I did new installation again to make sure that i did not miss anything and I still see no Plugin Management. I can tell that new version is installed but.....i do not know what i am missing...so annoying...
Anyone any suggestions? Thank you.
Anyone any suggestions? Thank you.
Re: Plugin Management and Plugins do not appear in GUI.
I figured this part now I see my plugin management under settings that i previously enabled in Realms.mgdkacti wrote:Did you check the permissions on your cacti and plugin directories to see that your Cacti user can r/w to them? When I was having an issue, I chmoded the cacti directory recursively: cactiuser:www-data with permissions 775.
Now, I have to add the plugins. Any good documentations?
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Plugin Management and Plugins do not appear in GUI.
Untar plugin code to ./plugins folder.
Goto Plugin Management.
Klick Install.
Klick Enable.
That's it. Depending on specific plugins, there may be additional tasks. See README of those plugins
R.
Goto Plugin Management.
Klick Install.
Klick Enable.
That's it. Depending on specific plugins, there may be additional tasks. See README of those plugins
R.
Re: Plugin Management and Plugins do not appear in GUI.
Thanks man a lot. Where is this plugin code?gandalf wrote:Untar plugin code to ./plugins folder.
Goto Plugin Management.
Klick Install.
Klick Enable.
That's it. Depending on specific plugins, there may be additional tasks. See README of those plugins
R.
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Plugin Management and Plugins do not appear in GUI.
You may find plugins at 3rd link of my sig and/or in the plugins forum
R.
R.
Who is online
Users browsing this forum: No registered users and 0 guests