Files
Cactidocumentation/Plugin-Hook-API-Ref.md
T
Thomas Vincent 741ad51355 docs: [1.2.x] refresh the front page, correct grammar and Markdown, and align plugin pages with their READMEs (#273)
* docs: [1.2.x] refresh the manual front page

The front page opened with version notes before saying what Cacti is,
used headings as sentences in the credits, and its table of contents
listed seven sections while the page has ten.

Open with a short description and a getting-started sequence, link the
website and forums, give the credits real headings, and list every
section in the table of contents in page order. Record Jeff Pasnak
under In Memoriam with a link to the 1.2.31 release announcement.
Correct label typos and wrap long entries with reference links.

Existing section anchors are unchanged, and every page is still linked.

Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>

* docs: [1.2.x] fix typos, unrendered headings and forum links

A check of every page linked from the front page found misspellings in
eleven pages, three Mactrack headings written without a space after the
hashes, which render as plain text, and two forum links still using
http.

Correct the spellings, add the missing space so the headings render,
and point the forum links at https, where they already redirect.

Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>

* docs: [1.2.x] align the plugin pages with the plugin READMEs

The supported plugins list and the Syslog and Mactrack pages had drifted
from the README and INFO files in the plugin repositories.

Update the descriptions that the READMEs contradict: Monitor's Thold
requirement, the Router Configs transfer methods, the ReportIt release
and Cacti versions, the WMI collection methods and its development
status, and NUT support in Apcupsd. Add the Syslog requirements, the
upgrade procedure, the dedicated database settings and the remote
collector settings, and correct the database grant and a misplaced
code fence. Add the Mactrack requirements and a short section on
history partitioning and ignored ports that links to the README.

Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>

* docs: [1.2.x] correct grammar, spelling and broken Markdown

A read of every page linked from the front page found grammar and
spelling errors throughout, and Markdown that does not render as
intended.

Correct grammar, spelling, punctuation and product-name capitalization
in 95 pages without changing headings, code blocks, link targets or
the meaning of the text. Repair the Markdown defects: a code fence in
the SSH tunnel how-to that never closed, malformed bold markers in the
user management and device defaults pages, a release notes table with
no blank line before it, split rows in the tree sorting table, and
LDAP list items missing their markers. Correct three interface labels
quoted with typos.

Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>

* docs: [1.2.x] correct statements that differ from the 1.2.x source

Reviewers of the linked pages flagged statements that looked wrong.
Each was compared with the Cacti 1.2.x source at 1523aa04b, and only
those the source or the page itself settles are changed.

Correct interface labels and option names (Index Count Changed,
Permissive, Not Selected, Utilities, the BCC description, the gear
icon for plugin install), the default Maximum Value of U for a new
data source item, the sysDescr object name, the PHP floor wording in
the requirements table, the Mactrack wildcard character and the
snmptrapd -On option. Repair cross-references, example values that
disagree with their commands, two table captions, a split list and
several sentences with missing words.

Statements the source does not settle are left as written.

Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>

---------

Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>
2026-11-24 00:58:06 -08:00

50 KiB

Plugin Hook API Reference

The following table shows all known Cacti plugin hooks and a brief description of their function.

hook hook hook
add_graph_template_to_host admin_alert api_device_new
api_device_save auth_alternate_realms auth_profile_reset
auth_profile_reset_value auth_profile_run_action auth_profile_save
auth_profile_tabs auth_profile_update_data boost_poller_bottom
bottom_footer cacti_stats_update change_password_title
clog_regex_array config_arrays config_form
config_insert config_settings console_after
console_before copy_user create_complete_graph_from_template
custom_denied custom_login custom_logout_message
custom_password custom_version_info customize_graph
customize_template_details data_input_sql_where data_source_action_array
data_source_action_bottom data_source_action_execute data_source_action_prepare
data_source_edit_bottom data_source_edit_top data_source_remove
data_source_to_poller_items data_sources_table device_action_array
device_action_bottom device_action_execute device_action_prepare
device_change_javascript device_display_text device_edit_pre_bottom
device_edit_top_links device_filter_end device_filter_start
device_filters device_remove device_sql_where
device_table_bottom device_table_replace device_template_change
device_template_edit device_template_top device_top
draw_navigation_text expand_title export_action
fgc_contextoption get_friendly_name get_template_account
global_settings_update graph graph_buttons
graph_buttons_thumbnails graph_edit_after graph_image
graph_items_remove graph_tree_page_buttons graphs_action_array
graphs_action_bottom graphs_action_execute graphs_action_prepare
graphs_item_array graphs_new_top_links graphs_remove
graphs_sql_where help_page hmib_get_cpu
hmib_get_cpu_indexes hmib_get_disk host_edit_bottom
host_edit_top host_save import_action
is_console_page login_after login_before
login_options_navigate login_process login_realms
login_title logout_post_session_destroy logout_pre_session_destroy
nav_login_after nav_login_before page_bottom
page_buttons page_head page_title
poller_bottom poller_command_args poller_exiting
poller_finishing poller_output poller_remote_maint
poller_top remote_agent replicate_in
replicate_out resolve_dependencies rrd_graph_graph_options
run_data_query settings_bottom snmpagent_cache_install
substitute_host_data top_graph_header top_graph_header_tabs
top_graph_jquery_function top_graph_refresh top_header
tree_after tree_view_page_end ugroup_tabs
update_data_source_title_cache user_admin_action user_admin_edit
user_admin_run_action user_admin_setup_sql_save user_admin_tab
user_admin_user_save user_group_admin_action user_group_admin_edit
user_group_admin_run_action user_group_admin_save user_group_admin_setup_sql_save
user_group_admin_tab user_group_remove user_remove
utilities_action utilities_array utilities_list
utilities_tab valid_host_fields

add_graph_template_to_host

Allows you to perform additional operations when adding a graph template to a host. The parameters passed are host_id and graph_template_id.

file introduced retired
cli/add_graph_template.php 1.0.0
cli/host_update_template.php 1.0.0
host.php 1.0.0
lib/api_device.php 1.0.0

admin_alert

Allows a plugin to deliver an administrator alert instead of the email that admin_email() would send. The hook receives an array with contract_version, status (unhandled), event_id, occurred_at, collector_id, subject and message. A plugin that handles the alert returns the array with status set to accepted or already_accepted. Any other result, a missing handler or an exception falls back to email.

file introduced retired
lib/functions.php 1.2.32

api_device_new

This hook allows you to perform additional operations at the end of api_device_save function. Unlike the api_device_save hook, the device ID is already defined here.

file introduced retired
lib/api_device.php 1.0.0

api_device_save

This hook allows you to perform additional operations at the end of api_device_save function. Unlike the api_device_new hook, the device ID might not be defined here.

This hook allows you to alter the contents of the device table with custom fields. When used properly, it allows you to extend the host table with your plugin's custom fields.

file introduced retired
lib/api_device.php 1.0.0

auth_alternate_realms

This hook allows you to handle user login checks for alternate plugin defined authentication realms.

file introduced retired
include/auth.php 1.0.0

auth_profile_reset

Allows you to reset plugin's all user settings

file introduced retired
auth_profile.php 1.2.0-beta3

auth_profile_reset_value

Allows you to reset plugin's single user settings

file introduced retired
auth_profile.php 1.2.0-beta3

auth_profile_run_action

Allows you to draw plugin's user settings form

file introduced retired
auth_profile.php 1.2.0-beta3

auth_profile_save

Allows you to save plugin's all user settings

file introduced retired
auth_profile.php 1.2.0-beta3

auth_profile_tabs

Allows you to draw plugin's user setting tabs

file introduced retired
auth_profile.php 1.2.0-beta3

auth_profile_update_data

Allows you to update plugin's single user setting

file introduced retired
auth_profile.php 1.2.4

boost_poller_bottom

file introduced retired
poller_boost.php 1.0.0

Allows you to override the rendering of the bottom_footer html snippet.

file introduced retired
include/bottom_footer.php 0.8.7i 1.1.38

cacti_stats_update

file introduced retired
poller.php 1.0.0

change_password_title

file introduced retired
auth_changepassword.php 1.2.0-beta1

clog_regex_array

Allows you to enhance the Logs display with additional information or links.

file introduced retired
lib/clog_webapi.php 1.1.34

config_arrays

Allows your plug-in to define custom array elements to be used throughout Cacti. Things like dropdown arrays and the like.

file introduced retired
include/global_arrays.php 1.0.0

config_form

Allows you to define a form object to represent data to be stored in your tables. In the case of MacTrack, there is a table called mac_track_sites and in order to drive the UI and allow for the user to provide input and save a site, you must provide the Cacti form engine a form array to allow for the form to be presented and contents to be saved.

file introduced retired
include/global_form.php 1.0.0

config_insert

This is a general purpose hook used for connecting to other databases, or sourcing common includes that would otherwise not be sourced.

file introduced retired
include/global.php 1.0.0

config_settings

Allows you to extend the Cacti settings page to allow for custom tabs and global settings within them.

file introduced retired
include/global_settings.php 1.0.0

console_after

Allows you to add text after the default message on the console page

file introduced retired
index.php 1.0.0

console_before

Allows you to add text before the default message on the console page. For instance, the Update plug-in will display a message here if there are new versions of plugins.

file introduced retired
index.php 1.0.0

copy_user

Allows a plugin to take part in the Copy User actions. This is important if a plugin maintains user settings.

file introduced retired
lib/auth.php 1.0.0

create_complete_graph_from_template

Allows you to perform additional operations when adding a new graph to a device from a graph template.

file introduced retired
lib/template.php 1.0.0

custom_denied

Allows you to override the rendering of the permission denied interface.

file introduced retired
permission_denied.php 1.2.2
include/auth.php 1.2.12

custom_login

Allows you to override the rendering of the auth_login.php page.

file introduced retired
auth_login.php 1.0.0

custom_logout_message

Allows you to override the rendering of the logout.php page.

file introduced retired
logout.php 1.0.0

custom_password

Allows you to override the rendering of the auth_changepassword.php page.

file introduced retired
auth_changepassword.php 1.0.0

custom_version_info

Allows your plugin to display additional information on the Cacti tech support page.

file introduced retired
utilities.php 1.0.0

customize_graph

Allows you to change the graph record of a graph that is not created from a template (graph_source is 0) before it is listed.

file introduced retired
graph_view.php 1.2.17
graphs.php 1.2.17

customize_template_details

Allows you to change the template details of a graph that is not created from a template (graph_source is 0) before it is listed.

file introduced retired
graph_view.php 1.2.17
graphs.php 1.2.17

data_input_sql_where

file introduced retired
data_input.php 1.0.0

data_source_action_array

Allows you to define custom dropdown actions from within the data sources page.

file introduced retired
data_sources.php 1.0.0

data_source_action_bottom

file introduced retired
data_sources.php 1.0.0

data_source_action_execute

Allows you to define custom actions to be taken upon your dropdown selection.

file introduced retired
data_sources.php 1.0.0

data_source_action_prepare

This is the final component to creating a custom action within the data sources. In Cacti's form engine, you must provide the dropdown action and then two follow-up actions to complete the cycle. This is where you actually save the data.

file introduced retired
data_sources.php 1.0.0

data_source_edit_bottom

Allows you to make minor changes to the Data Sources page, like add a tabbed interface.

file introduced retired
data_sources.php 1.0.0

data_source_edit_top

Allows you to make minor changes to the Data Sources page, like add a tabbed interface.

file introduced retired
data_sources.php 1.0.0

data_source_remove

This hook is called when the data sources used by a graph are removed. The parameters are the graph's data sources.

file introduced retired
data_sources.php 1.0.0 1.1.38
graphs.php 1.0.0 1.1.38
host.php 1.0.0 1.1.38
lib/api_data_source.php 1.2.0-beta1

data_source_to_poller_items

file introduced retired
lib/utility.php 1.0.0

data_sources_table

Allows you to change the data displayed on the Data Sources table. THold uses this to create a link to that data source's threshold.

file introduced retired
data_sources.php 1.0.0

device_action_array

Allows you to define custom dropdown actions from within the device/host page.

file introduced retired
host.php 1.0.0

device_action_bottom

file introduced retired
host.php 1.0.0

device_action_execute

Allows you to define custom actions to be taken upon your dropdown selection.

file introduced retired
host.php 1.0.0

device_action_prepare

This is the final component to creating a custom action within the devices. In Cacti's form engine, you must provide the dropdown action and then two follow-up actions to complete the cycle. This is where you actually save the data.

file introduced retired
host.php 1.0.0

device_change_javascript

Allows you to add JavaScript to the device edit page, after the script that shows and hides the device fields.

file introduced retired
host.php 1.2.31

device_display_text

This hook allows you to add custom column headers to the host list page

file introduced retired
host.php 1.2.17

device_edit_pre_bottom

file introduced retired
host.php 1.0.0

This hook allows you to add custom actions to the host edit page, below the "Create graphs for this Host".

file introduced retired
host.php 1.0.0

device_filter_end

This hook allows you to add custom filter fields before Cacti's built-in filter to the host list page

file introduced retired
host.php 1.2.17

device_filter_start

This hook allows you to add custom filter fields after Cacti's built-in filter to the host list page

file introduced retired
host.php 1.2.17

device_filters

file introduced retired
host.php 1.0.0

device_remove

This hook allows you to perform additional actions on devices that have been selected for deletion. The parameter is an array of deleted device IDs. Note that at this point, the devices are already deleted from the host table.

file introduced retired
host.php 1.0.0 1.1.38
lib/api_device.php 1.2.0-beta1

device_sql_where

file introduced retired
host.php 1.0.0

device_table_bottom

file introduced retired
host.php 1.0.0

device_table_replace

Allows you to override the rendering of the host list page

file introduced retired
host.php 1.2.17

device_template_change

Allows you to add template items such as a threshold upon a device template change

file introduced retired
lib/api_device.php 1.2.25

device_template_edit

file introduced retired
host_templates.php 1.0.0

device_template_top

file introduced retired
host_templates.php 1.0.0

device_top

Called near the top of host.php, after the device actions are defined and before the requested action is run.

file introduced retired
host.php 1.2.27

draw_navigation_text

Just below the Cacti "Console" and "Graphs" tabs, Cacti provides a Navigation bar that allows you to move backward in a selection tree. Although it is not foolproof, this hook allows you to populate and navigate that tree.

file introduced retired
lib/functions.php 1.0.0

expand_title

Allows you to change the expanded title of a data source or graph. The parameter is an array with host_id, snmp_query_id, snmp_index and title. The returned title is used.

file introduced retired
lib/variables.php 1.2.3

export_action

file introduced retired
lib/export.php 1.2.0-beta1

fgc_contextoption

file introduced retired
lib/functions.php 1.1.28

get_friendly_name

file introduced retired
lib/import.php 1.2.0-beta1

get_template_account

Allows a plugin to select the template account for a user. The parameter is the user name or ID. If the plugin returns the value it was given, Cacti uses the account from the user_template setting.

file introduced retired
lib/functions.php 1.2.20

global_settings_update

file introduced retired
settings.php 1.0.0

graph

This hook is called at the top of graph.php page

file introduced retired
graph.php 1.0.0

graph_buttons

You know about the zoom button right? Well this allows you to add any additional custom button to the right of a graph.

file introduced retired
graph.php 1.0.0
lib/html.php 1.0.0

The hook is also fired as graph_buttons_thumbnails; see below.

graph_buttons_thumbnails

Same as graph_buttons, but called for the drill down icons of the thumbnail view drawn by html_graph_thumbnail_area(). The parameter is an array with hook, local_graph_id, rra, view_type, tree_id and branch_id.

file introduced retired
lib/html.php 1.0.0

graph_edit_after

file introduced retired
graphs.php 1.2.0-beta1

graph_image

This hook allows displaying of alternative graphics in place of a graph image. This hook cannot output text, only modify the image, as it is only called when a graph is required to be outputted.

file introduced retired
graph_image.php 1.0.0
graph_json.php 1.0.0

graph_items_remove

This hook is called when the data source is deleted, and the option to remove all graph items tied to the data source is selected.

file introduced retired
data_sources.php 1.0.0

graph_tree_page_buttons

Allows you to add custom HTML to the graph tree view page, under the timespan presets and the graph search box.

file introduced retired
lib/html_tree.php 0.8.7i

graphs_action_array

Similar to the host actions and host, prepare and execute hooks. It allows you to have custom dropdown actions within the graph management interface.

file introduced retired
graphs.php 1.0.0

graphs_action_bottom

file introduced retired
graphs.php 1.0.0

graphs_action_execute

file introduced retired
graphs.php 1.0.0

graphs_action_prepare

file introduced retired
graphs.php 1.0.0

graphs_item_array

file introduced retired
graphs.php 1.2.0-beta1

Add a link at the top of the "Create New Graphs" page.

file introduced retired
graphs_new.php 1.0.0

graphs_remove

This hook is called after one or more graphs are removed. The parameters are the removed graph IDs.

file introduced retired
data_sources.php 1.0.0 1.1.38
graphs.php 1.0.0 1.1.38
host.php 1.0.0 1.1.38
lib/api_graph.php 1.2.0-beta1

graphs_sql_where

This hook allows you to add additional where clauses to the select statement used to display graphs on the graphs.php page.

file introduced retired
graphs.php 1.0.0

help_page

Allows you to add or change entries in the array that maps a page to its help file.

file introduced retired
lib/html.php 1.2.17

hmib_get_cpu

file introduced retired
scripts/ss_host_cpu.php 1.0.0

hmib_get_cpu_indexes

file introduced retired
scripts/ss_host_cpu.php 1.0.0

hmib_get_disk

file introduced retired
scripts/ss_host_disk.php 1.0.0

host_edit_bottom

Allows you to make minor changes to the Devices page, like add a tabbed interface.

file introduced retired
host.php 1.0.0

host_edit_top

Allows you to make minor changes to the Devices page, like add a tabbed interface.

file introduced retired
host.php 1.0.0

host_save

file introduced retired
host.php 1.0.0

import_action

file introduced retired
lib/import.php 1.2.0-beta1

is_console_page

file introduced retired
lib/html.php 1.0.0

login_after

This allows you to display text or html after the login form.

file introduced retired
auth_login.php 1.0.0

login_before

This allows you to display text or html before the login form. Combined with the above hook, you could draw a box, etc., around the form, change its background color, etc., to slightly customize the login page.

file introduced retired
auth_login.php 1.0.0

login_options_navigate

Used to support alternate login realm types.

file introduced retired
lib/auth.php 1.0.0

login_process

Used to authenticate the user logging in to a custom plugin defined realm.

file introduced retired
lib/auth.php 1.0.0

login_realms

Used to define additional custom plugin defined authentication realms. The parameter passed is an array of existing authentication realms.

file introduced retired
auth_login.php 1.0.0

login_title

Allows the plugin to set/modify that page title.

file introduced retired
auth_login.php 1.0.0

logout_post_session_destroy

This pair of hooks (logout_pre_session_destroy and logout_post_session_destroy) allows you to preserve some session variables that would otherwise get unset when session_destroy() is called.

file introduced retired
logout.php 1.0.0

logout_pre_session_destroy

This pair of hooks (logout_pre_session_destroy and logout_post_session_destroy) allows you to preserve some session variables that would otherwise get unset when session_destroy() is called.

file introduced retired
logout.php 1.0.0

nav_login_after

This pair of hooks (nav_login_before and nav_login_after) allows you to add custom HTML to the navigation bar, before and after the "Logged in as " text.

file introduced retired
lib/functions.php 1.0.0

nav_login_before

This pair of hooks (nav_login_before and nav_login_after) allows you to add custom HTML to the navigation bar, before and after the "Logged in as " text.

file introduced retired
lib/functions.php 1.0.0

page_bottom

This hook allows you to add custom HTML to the bottom of the page, after the main layout table.

file introduced retired
include/bottom_footer.php 1.0.0

page_buttons

Allows you to add custom buttons and HTML to the top of the graph.php page, above the "Viewing graph" row.

file introduced retired
graph.php 1.0.0

page_head

This hook allows you to add custom HTML tags to the page <head> tag.

file introduced retired
graph_realtime.php 1.0.0 1.1.33
include/top_general_header.php 1.0.0 1.1.33
include/top_graph_header.php 1.0.0 1.1.33
include/top_header.php 1.0.0 1.1.33
lib/html.php 1.1.34

page_title

Allows the plugin to set/modify the page title

file introduced retired
include/top_general_header.php 1.0.0
include/top_graph_header.php 1.0.0
include/top_header.php 1.0.0

poller_bottom

This hook allows you to launch other polling activities once Cacti has completed its polling activities. Things like MacTrack, Boost, THold, and others use this hook to launch their respective poller.

file introduced retired
poller.php 1.0.0

poller_command_args

Using this hook, your plugin can pass additional command line arguments to the poller.

file introduced retired
poller.php 0.8.7i 1.2.8

poller_exiting

file introduced retired
poller.php 1.0.0

poller_finishing

file introduced retired
poller.php 1.0.0

poller_output

This hook was designed specifically for the boost plug-in. However, it has found new life in many plugins making them much faster now. What this hook allows you to do is intercept the contents of the poller_output table before the data is deleted. This allows for things like threshold checking and other interesting actions such as checking for up/down events and the like. Previously, plugins were reliant on using things like rrdtool fetch to perform these actions. Now they can leverage the poller's output directly.

file introduced retired
lib/poller.php 1.0.0

poller_remote_maint

This hook will fire for plugins that need to perform remote maintenance. It will only fire on the Remote Data Collectors.

file introduced retired
poller_maintenance.php 1.2.23

poller_top

This hook allows you to launch processes concurrently with the Cacti poller for things like THold's fast poller for example.

file introduced retired
poller.php 1.0.0

remote_agent

file introduced retired
remote_agent.php 1.0.0

replicate_in

file introduced retired
lib/poller.php 1.0.0 1.2.20

replicate_out

file introduced retired
lib/api_device.php
lib/poller.php 1.0.0

resolve_dependencies

file introduced retired
lib/export.php 1.2.0-beta1

rrd_graph_graph_options

This hook allows you to specify additional options or change parameters regarding graph image rendering. Some of the parameters will be passed to RRDtool.

file introduced retired
lib/rrd.php 1.0.0

run_data_query

This hook allows your plugin to perform additional operations after a data query update was triggered.

file introduced retired
lib/data_query.php 1.0.0

settings_bottom

Allows you to add output at the bottom of the Settings page.

file introduced retired
settings.php 1.2.25

snmpagent_cache_install

file introduced retired
lib/snmpagent.php 1.0.0

substitute_host_data

This allows you to add to the substitution variables that Cacti can parse.

file introduced retired
lib/variables.php 1.0.0

top_graph_header

Allows you to override the rendering of the top_graph_header.php include.

file introduced retired
include/top_graph_header.php 0.8.7i 1.1.38

top_graph_header_tabs

This hook is used to add tabs to Cacti's user interface.

file introduced retired
lib/html.php 1.0.0

top_graph_jquery_function

file introduced retired
lib/html_tree.php 1.0.0

top_graph_refresh

This allows you to change the refresh on the graph (and any plug-in page that calls the graph header)

file introduced retired
include/global_session.php 1.0.0
include/themes/sunrise/global_session.php 1.1.11 1.1.38

top_header

This hooks enables you to output custom HTML on top of the graph view page, if navigation tabs are not rendered. Allows you to override the rendering of the top_header.php include.

file introduced retired
include/top_general_header.php 1.0.0 1.1.38
include/top_header.php 0.8.7i 1.1.38

tree_after

This hook allows you to add additional HTML at the bottom of the graph tree view page. The HTML is rendered only if a valid graph tree leaf is selected.

file introduced retired
lib/html_tree.php 1.0.0

tree_view_page_end

This hook allows you to add additional HTML at the bottom of the graph tree view page, irrespective of the leaf selection.

file introduced retired
graph.php 1.0.0
lib/html_tree.php 1.0.0

ugroup_tabs

This hook was replaced by user_group_admin_tab.

file introduced retired
user_group_admin.php 1.0.0 1.2.17

update_data_source_title_cache

This hook is called after the data source title cache is updated.

file introduced retired
lib/variables.php 1.0.0

user_admin_action

This hook is part of a series of hooks that allow you to add custom user settings. Consider a plug-in called "abc". In that plug-in, you want to save custom settings on a per user basis. Therefore, following our unpublished table naming standards, you would create a table called "abc_settings". When you tab over to the "abc" plug-in, you are provided an "abc settings" on the right similar to "Graphs". The next series of hooks allow you to present those settings to the user, enable or disable the user's access to that specific "abc settings" tab and allow an administrator to define custom values for that plug-in on a per user basis.

file introduced retired
user_admin.php 1.0.0

user_admin_edit

See the explanation on user_admin_action

file introduced retired
user_admin.php 1.0.0

user_admin_run_action

See the explanation on user_admin_action

file introduced retired
user_admin.php 1.0.0

user_admin_setup_sql_save

See the explanation on user_admin_action

file introduced retired
user_admin.php 1.0.0

user_admin_tab

See the explanation on user_admin_action

file introduced retired
user_admin.php 0.8.7i
utilities.php 1.0.0 1.2.0-beta3

user_admin_user_save

See the explanation on user_admin_action

file introduced retired
user_admin.php 1.0.0

user_group_admin_action

Similar to user_admin_action

file introduced retired
user_group_admin.php 1.0.0

user_group_admin_edit

See the explanation on user_admin_action

file introduced retired
user_group_admin.php 1.0.0

user_group_admin_run_action

See the explanation on user_admin_action. The parameter is the current tab. When the hook returns a true value, Cacti draws the realm editor for the group.

file introduced retired
user_group_admin.php 1.2.17

user_group_admin_save

See the explanation on user_admin_action

file introduced retired
user_group_admin.php 1.0.0

user_group_admin_setup_sql_save

file introduced retired
user_group_admin.php 1.0.0

user_group_admin_tab

See the explanation on user_admin_action. This hook replaces ugroup_tabs.

file introduced retired
user_group_admin.php 1.2.17

user_group_remove

Allows the plugin to take part in the user group removal process. The parameter is the ID of the removed group. Important when the plugin maintains group settings.

file introduced retired
user_group_admin.php 1.2.17

user_remove

Allows the plugin to take part in the user removal process. Important when the plugin maintains user settings.

file introduced retired
lib/auth.php 1.0.0
user_admin.php 1.0.0 1.2.20

utilities_action

This hook sets up the function to be executed from within Cacti's utilities section.

file introduced retired
utilities.php 1.0.0

utilities_array

file introduced retired
utilities.php 1.0.4

utilities_list

This hook allows you to add a custom utilities pick under Cacti's "Utilities" page.

file introduced retired
utilities.php 1.0.0

utilities_tab

This hook allows you to add a custom utilities tab under Cacti's "Utilities" page.

file introduced retired
utilities.php 1.2.0-beta3

valid_host_fields

Allows your plugin to define additional variables that will be used in substitute_host_data.

Pretty sure that this hook allows you to define custom replacement values in graphs.

file introduced retired
include/global_form.php 1.0.0

Copyright (c) 2004-2026 The Cacti Group