Downloading and installing plugins
Now that you have successfully installed the Plugin Architecture, you can go on and install some basic plugins. The plugins available can be divided into two categories: plugins which have been created for the 1.x version of the Plugin Architecture and plugins which are compatible with the 2.x version.
The Plugin Architecture version 2.x supports pre-PIA 2.x plugins.
PIA directory structure
Besides
the patching of some source files of Cacti, the Plugin Architecture also adds a new directory to the Cacti installation. The directory is named plugins
.
Each plugin needs to be placed into this directory. The following files are needed as a minimum for each plugin to work properly:
setup.php
index.php
The
index.php
file only contains a redirection to the main Cacti site in order to disallow end users to browse the plugin directory freely. The setup.php
file contains the setup and enablement code, as well as code for the different
plugin hooks introduced with...