* docs(plugins): [1.2.x] correct the hook reference against the hooks the core fires Add the hooks the 1.2.x core fires that the page did not list, correct file locations and introduced/retired versions, mark hooks that are no longer fired as retired, and drop duplicate sections and an unlinked index entry. Signed-off-by: Thomas Vincent <thomasvincent@gmail.com> * docs(plugins): [1.2.x] correct plugin pages against the plugin API and plugin sources Fix the INFO key name and delimiter, the hook used in the registration examples, the setup function requirements, the dependency example, and menu, table and template details in the Mactrack and Syslog pages. Signed-off-by: Thomas Vincent <thomasvincent@gmail.com> * docs(howto): [1.2.x] correct how-to pages against the 1.2.x user interface and data query code Fix form labels, resource directory names, re-index method names, the index_order delimiter, the maximum value advice, and the cacti_snmp_get call in the script query example. Signed-off-by: Thomas Vincent <thomasvincent@gmail.com> * docs(standards): [1.2.x] correct standards pages against the 1.2.x tree Fix the prepared statement example, the CLI include path, the CHANGELOG location, the CI reference and the include/vendor directory list. Signed-off-by: Thomas Vincent <thomasvincent@gmail.com> * docs(plugins): [1.2.x] align the Syslog SQL mode section with the plugin README The plugin README says not to copy NO_AUTO_CREATE_USER into a current MySQL configuration and to inspect the active modes instead. Signed-off-by: Thomas Vincent <thomasvincent@gmail.com> * docs(standards): [1.2.x] fix example typo, indentation rule, constants and table name Correct the $$ typo in the script query example, the vim rules to use tabs as CLAUDE.md requires, the example constants to match include/global_constants.php, and the user_auth_realm table name. Signed-off-by: Thomas Vincent <thomasvincent@gmail.com> * docs(standards): [1.2.x] correct the CI and MD001 statements for this branch The 1.2.x branch has no Travis CI configuration or workflow, and .mdl_style.rb disables MD001. Signed-off-by: Thomas Vincent <thomasvincent@gmail.com> * docs(translations): [1.2.x] correct the locales listing, template update steps and typos Describe what update-pot.sh, build_gettext.sh and build_mo.sh do on 1.2.x, add the plugin script, link Poedit's home page, and fix typos. Signed-off-by: Thomas Vincent <thomasvincent@gmail.com> --------- Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>
3.8 KiB
Plugin Management
Installing or updating plugins on cacti is a simple procedure. For most of the plugins a few basic steps are enough, which are described below. Each plugin directory should contain a README.md file. We recommend to study this file. It may contain important installation information.
Installing Plugins
-
Download the plugin to cactidir/cacti/plugins
git clone https://github.com/Cacti/plugin_thold.gitmv plugin_thold /var/www/html/cacti/plugins -
Now assign the proper permissions to the folder
chown -R apache:apache plugin_thold -
From
Console > Configuration > PluginsInstall the plugin by Clicking on the wrench Icon as showng below.Below you will now see the THOLD plugin available to install in this case we are installing thold
-
After installing the plugin by clicking on the grey gear you will now how to enable it this can be done via clicking on the green check mark
After this, the Plugin is installed and enabled. However, there will likely be onfiguration that must take place after the Plugin is enabled. See the Plugin documentation for instructions on how to configure and use them.
Updating a Plugin
Updating a plugin not only keeps you up to date with the latest release of the code for that plugin. It also allows you to keep all of your settings for that plugin ensure you DO NOT UNINSTALL the plugin. You must instead disable the plugin which will not drop the SQL tables and thus save your settings.
-
Disable the Plugin you want to update
-
Backup the current Plugin folder typically in
<path_cacti>/plugins/plugin_namecp -R /var/www/html/cacti/plugins/thold /tmp -
git pull or download the new version of the Plugin
git pull -
Change name of Plugin folder i.e plugin_thold to thold
mv plugin_thold thold -
Assign proper permissions usually either www-data for Ubuntu/debian or apache for RHEL/Rocky Linux/AlmaLinux
chown -R apache:apache thold -
Re-enable the Plugin in the Console
Video Walkthrough
Uninstall a Plugin
To uninstall a plugin go into the plugins page
Console > Configuration > Plugins Click on the plugin to Disable the plugin.
Click on the red dot beside the plugin to uninstall the plugin a dialogue box will appear now click uninstall.
This will uninstall the plugin from cacti but will NOT remove the files from the server to do that you must manually remove the plugin until you remove the files the plugin will show to be available to be installed.
Warning
: Uninstalling a Cacti Plugin generally also removes any database tables that that Plugin created, which means your data! Before uninstalling Plugins, it would be wise to have a backup strategy in place in case you accidentally uninstall a Plugin and loose your data!
Dependencies in plugins
Some plugins rely on another plugin. For example, the Monitor plugin requires the THOLD aka Thresholds plugin. If the required plugin is missing, you will see the below message box. In order to continue you must install the required plugin.
Delete plugin data and settings
Starting with Cacti 1.3, some plugins have new functionality and allow you to delete data and plugin settings and start from scratcg. This can be done with the trash can icon in Console > Configuration > Plugins
Copyright (c) 2004-2026 The Cacti Group





