Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


how to install plugins in cacti?
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Cacti Forum Index -> Addons for Cacti
Author Message
emiel



Joined: 20 May 2009
Posts: 24

PostPosted: Wed May 20, 2009 6:32 am    Post subject: how to install plugins in cacti? Reply with quote

Hi al!

im with an problem...i cannot find any good tut that is showing me how to install an plugin in cacti

i have installed ubuntu 9.04 server edition and with apt-get install cacti i installed cacti. everything is up and running and monitoring.

I followed a few sites which tell me how to install a plugin but it doesnt work at the moment. at the site http://cactiusers.org/wiki/PluginsInstall they tell me to upload the directory from the plugin in de plugin directory from cacti. In ubuntu this should be /usr/share/cacti/site/ but in that directory there is no dir with the name plugins, so i created one of my own. Further down in the article they said that ive had to edit include/global.php and have to look for an line started with $plugins = array(); but nothing is there

i created the lines on my own and give it a shot buth nothing happens.

i searched a lot but i cant find any good tut that is showing me how to install an plugin (i.e monitor)

can any of you tell me what i am doing wrong of forgot to do?

thnx in advance!

Emiel
Back to top
browniebraun
Cacti Pro User


Joined: 13 Jun 2006
Posts: 525
Location: Cologne, Germany

PostPosted: Wed May 20, 2009 7:30 am    Post subject: Re: how to install plugins in cacti? Reply with quote

emiel wrote:
Hi al!

im with an problem...i cannot find any good tut that is showing me how to install an plugin in cacti

i have installed ubuntu 9.04 server edition and with apt-get install cacti i installed cacti. everything is up and running and monitoring.

I followed a few sites which tell me how to install a plugin but it doesnt work at the moment. at the site http://cactiusers.org/wiki/PluginsInstall they tell me to upload the directory from the plugin in de plugin directory from cacti. In ubuntu this should be /usr/share/cacti/site/ but in that directory there is no dir with the name plugins, so i created one of my own. Further down in the article they said that ive had to edit include/global.php and have to look for an line started with $plugins = array(); but nothing is there

i created the lines on my own and give it a shot buth nothing happens.

i searched a lot but i cant find any good tut that is showing me how to install an plugin (i.e monitor)

can any of you tell me what i am doing wrong of forgot to do?

thnx in advance!

Emiel


First off ...
To get plugins running with Cacti you've to ensure that you've installed the plugin architecture (PIA) until 0.8.8 will be released! If the plugin folder is missing then you forgot this important step.
So, if you're running Cacti 0.8.7d then download PIA 2.4. The archive always contains a diff-file and prepatched files of Cacti, so it's up to you which one you want to use to update Cacti.
(At home I prefer the prepatched files. It takes a second to overwrite all the files.
But before updating Cacti keep your database settings in mind and actualize the new global.php and config.php after the update.)

Now you have to create all necessary database tables to get PIA2 running. So import the pa.sql to your cacti database.
Open your browser, login to Cacti and go to the user management.
Edit your account and you will see a new option called "Plugin Management" under the realm permissions. Tick it and press "save".

After that you'll find a new entry under "Configuration" to open the Plugin Management. It shows all installed plugins (PIA 1 and 2) and allows to install/enable/disable and uninstall all plugins which are compatible with PIA2.
To install/uninstall plugins which do not support PIA 2 you have edit the include/global.php.

Best regards
-Andreas-
Back to top
emiel



Joined: 20 May 2009
Posts: 24

PostPosted: Wed May 20, 2009 7:48 am    Post subject: Reply with quote

thnx!!

I will give it a try
can i btw install PIA2 also on cacti 0.8.7b? or doesnt that matter?
Back to top
browniebraun
Cacti Pro User


Joined: 13 Jun 2006
Posts: 525
Location: Cologne, Germany

PostPosted: Wed May 20, 2009 8:11 am    Post subject: Reply with quote

emiel wrote:
thnx!!

I will give it a try
can i btw install PIA2 also on cacti 0.8.7b? or doesnt that matter?


Yep. It's important to use the right version!!! For Cacti 0.8.7b I would choose PIA 2.2b.
Back to top
emiel



Joined: 20 May 2009
Posts: 24

PostPosted: Wed May 20, 2009 8:17 am    Post subject: Reply with quote

i already figured it out

i did an quick search tot pia 2.2b but cant find it at the moment (still looking further) do you perhaps have a link where i can download it?

here is http://cactiusers.org/downloads/patches/ only version 2.4
Back to top
browniebraun
Cacti Pro User


Joined: 13 Jun 2006
Posts: 525
Location: Cologne, Germany

PostPosted: Wed May 20, 2009 8:25 am    Post subject: Reply with quote

Here we go ...

http://forums.cacti.net/viewtopic.php?p=131573#131573

Best regards
-Andreas-
Back to top
emiel



Joined: 20 May 2009
Posts: 24

PostPosted: Wed May 20, 2009 8:26 am    Post subject: Reply with quote

thnx! i was just browsing that topic..but it is the beta version
Back to top
emiel



Joined: 20 May 2009
Posts: 24

PostPosted: Wed May 20, 2009 8:41 am    Post subject: Reply with quote

it seems that it is not available for download anymoren

is it pretty simple to update from 0.8.7b to 0.8.7d?
Back to top
browniebraun
Cacti Pro User


Joined: 13 Jun 2006
Posts: 525
Location: Cologne, Germany

PostPosted: Wed May 20, 2009 10:47 am    Post subject: Reply with quote

emiel wrote:
thnx! i was just browsing that topic..but it is the beta version


It's latest version for 0.8.7b and you should use it.
Back to top
browniebraun
Cacti Pro User


Joined: 13 Jun 2006
Posts: 525
Location: Cologne, Germany

PostPosted: Wed May 20, 2009 10:49 am    Post subject: Reply with quote

emiel wrote:
it seems that it is not available for download anymoren


Why? I can download it without having issues.
Cacit PIA 2.2

emiel wrote:

is it pretty simple to update from 0.8.7b to 0.8.7d?

Maybe. For me it's pretty easy.
Back to top
emiel



Joined: 20 May 2009
Posts: 24

PostPosted: Mon May 25, 2009 4:44 am    Post subject: Reply with quote

browniebraun wrote:
emiel wrote:
it seems that it is not available for download anymoren


Why? I can download it without having issues.
Cacit PIA 2.2

emiel wrote:

is it pretty simple to update from 0.8.7b to 0.8.7d?

Maybe. For me it's pretty easy.


i can download that one to...i ment the final version, but i guess that the beta version is all there is

i will give it a try...
Back to top
emiel



Joined: 20 May 2009
Posts: 24

PostPosted: Mon May 25, 2009 7:19 am    Post subject: Reply with quote

can you tell me where i can find any info on how to upgrade from cacti 0.8.7b to 0.8.7d ?
Back to top
browniebraun
Cacti Pro User


Joined: 13 Jun 2006
Posts: 525
Location: Cologne, Germany

PostPosted: Mon May 25, 2009 10:46 am    Post subject: Reply with quote

emiel wrote:
can you tell me where i can find any info on how to upgrade from cacti 0.8.7b to 0.8.7d ?


Here it is:

http://docs.cacti.net/manual:087:1_installation.3_upgrading#upgrading_cacti

Best regards
-Andreas-
Back to top
emiel



Joined: 20 May 2009
Posts: 24

PostPosted: Tue May 26, 2009 5:01 am    Post subject: Reply with quote

thnx! i will give it a try
Back to top
robocp01



Joined: 21 Sep 2009
Posts: 17
Location: Chalottesville, Va.

PostPosted: Mon Nov 02, 2009 5:04 pm    Post subject: Plug - In Architecture Not working Reply with quote

I'm having trouble getting the plug-in architecture working on the newest version of Cacti 0.8.7e. I've read thru almost all the thread I can find related to this subject. I can see the folders are there in the c:\inetpub\wwroot\cacti\plugin\monitor. I tried to edit both the global.php and add entries to the config.php with out success.

Andreas i see your comment on the pa.sql file but don't understand what you mean regarding the import. The file exist under my current installation.

I never see anything under User Management to use Plug-In's. Any idea on what can be wrong.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Addons for Cacti All times are GMT - 5 Hours
Goto page 1, 2  Next
Page 1 of 2

 



Powered by phpBB © 2001, 2005 phpBB Group