how to install plugins in cacti?
Moderators: Developers, Moderators
how to install plugins in cacti?
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
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
- browniebraun
- Developer
- Posts: 791
- Joined: Tue Jun 13, 2006 1:17 am
- Location: Cologne, Germany
Re: how to install plugins in cacti?
First off ...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
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-
Hat das Blümchen einen Knick, war der Schmetterling zu dick!
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
- browniebraun
- Developer
- Posts: 791
- Joined: Tue Jun 13, 2006 1:17 am
- Location: Cologne, Germany
Yep. It's important to use the right version!!! For Cacti 0.8.7b I would choose PIA 2.2b.emiel wrote:thnx!!
I will give it a try
can i btw install PIA2 also on cacti 0.8.7b? or doesnt that matter?
Hat das Blümchen einen Knick, war der Schmetterling zu dick!
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
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
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
- browniebraun
- Developer
- Posts: 791
- Joined: Tue Jun 13, 2006 1:17 am
- Location: Cologne, Germany
Hat das Blümchen einen Knick, war der Schmetterling zu dick!
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
- browniebraun
- Developer
- Posts: 791
- Joined: Tue Jun 13, 2006 1:17 am
- Location: Cologne, Germany
It's latest version for 0.8.7b and you should use it.emiel wrote:thnx! i was just browsing that topic..but it is the beta version
Hat das Blümchen einen Knick, war der Schmetterling zu dick!
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
- browniebraun
- Developer
- Posts: 791
- Joined: Tue Jun 13, 2006 1:17 am
- Location: Cologne, Germany
Why? I can download it without having issues.emiel wrote:it seems that it is not available for download anymoren
Cacit PIA 2.2
Maybe. For me it's pretty easy.emiel wrote: is it pretty simple to update from 0.8.7b to 0.8.7d?
Hat das Blümchen einen Knick, war der Schmetterling zu dick!
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
i can download that one to...i ment the final version, but i guess that the beta version is all there isbrowniebraun wrote:Why? I can download it without having issues.emiel wrote:it seems that it is not available for download anymoren
Cacit PIA 2.2
Maybe. For me it's pretty easy.emiel wrote: is it pretty simple to update from 0.8.7b to 0.8.7d?
i will give it a try...
- browniebraun
- Developer
- Posts: 791
- Joined: Tue Jun 13, 2006 1:17 am
- Location: Cologne, Germany
Here it is: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 ?
http://docs.cacti.net/manual:087:1_installation.3_upgrading#upgrading_cacti
Best regards
-Andreas-
Hat das Blümchen einen Knick, war der Schmetterling zu dick!
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
Plug - In Architecture Not working
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.
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.
Who is online
Users browsing this forum: No registered users and 0 guests