Cacti Database Schema (0.8.6)
Table of contents
Page number: 31 cdefPage number: 42 cdef_itemsPage number: 53 colorsPage number: 64 data_inputPage number: 75 data_input_dataPage number: 86 data_input_fieldsPage number: 97 data_localPage number: 108 data_templatePage number: 119 data_template_dataPage number: 1210 data_template_data_rraPage number: 1311 data_template_rrdPage number: 1412 graph_localPage number: 1513 graph_templatesPage number: 1614 graph_templates_graphPage number: 1815 graph_templates_itemPage number: 1916 graph_template_inputPage number: 2017 graph_template_input_defsPage number: 2118 graph_treePage number: 2219 graph_tree_itemsPage number: 2320 hostPage number: 2421 host_snmp_cachePage number: 2522 host_snmp_queryPage number: 2623 host_templatePage number: 2724 host_template_graphPage number: 2825 pollerPage number: 2926 poller_commandPage number: 3027 poller_itemPage number: 3128 poller_outputPage number: 3229 poller_reindexPage number: 3330 poller_timePage number: 3431 rraPage number: 3532 rra_cfPage number: 3633 settings_graphsPage number: 3734 settings_treePage number: 3835 snmp_queryPage number: 3936 snmp_query_graphPage number: 4037 snmp_query_graph_rrdPage number: 4138 snmp_query_graph_rrd_svPage number: 4239 snmp_query_graph_svPage number: 4340 user_auth
Page number: 1/46 Sep 26, 2004 at 03:33 PM
Cacti Database Schema (0.8.6)
Page number: 4441 user_auth_permsPage number: 4542 user_auth_realmPage number: 4643 Relational schema
Page number: 2/46 Sep 26, 2004 at 03:33 PM
Cacti Database Schema (0.8.6)
1 cdef
Creation: Oct 31, 2003 at 12:13 AMLast update: Nov 05, 2003 at 10:55 PM
Field Type Attributes Null Default Extra Links to Comments MIME
id mediumint(8) UNSIGNED No auto_incrementhash varchar(32) Noname varchar(255) No
Page number: 3/46 Sep 26, 2004 at 03:33 PM
Cacti Database Schema (0.8.6)
2 cdef_items
Creation: Oct 31, 2003 at 12:13 AMLast update: Nov 05, 2003 at 10:55 PM
Field Type Attributes Null Default Extra Links to Comments MIME
id mediumint(8) UNSIGNED No auto_incrementhash varchar(32) Nocdef_id mediumint(8) UNSIGNED No 0 cdef -> idsequence mediumint(8) UNSIGNED No 0type tinyint(2) No 0value varchar(150) No
Page number: 4/46 Sep 26, 2004 at 03:33 PM
Cacti Database Schema (0.8.6)
3 colors
Creation: May 26, 2003 at 07:55 PMLast update: May 26, 2003 at 07:55 PM
Field Type Attributes Null Default Extra Links to Comments MIME
id mediumint(8) UNSIGNED No auto_incrementhex varchar(6) No
Page number: 5/46 Sep 26, 2004 at 03:33 PM
Cacti Database Schema (0.8.6)
4 data_input
Creation: Nov 05, 2003 at 10:12 PMLast update: Jul 23, 2004 at 12:29 PM
Field Type Attributes Null Default Extra Links to Comments MIME
id mediumint(8) UNSIGNED No auto_incrementhash varchar(32) Noname varchar(200) Noinput_string varchar(255) Yes NULLtype_id tinyint(2) No 0
Page number: 6/46 Sep 26, 2004 at 03:33 PM
Cacti Database Schema (0.8.6)
5 data_input_data
Creation: May 26, 2003 at 07:55 PMLast update: Jul 23, 2004 at 03:15 PM
Field Type Attributes Null Default Extra Links to Comments MIME
data_input_field_id
mediumint(8) UNSIGNED No 0 data_input_fields -> id
data_template_data_id
mediumint(8) UNSIGNED No 0 data_template_data -> id
t_value char(2) Yes NULLvalue text Yes NULL
Page number: 7/46 Sep 26, 2004 at 03:33 PM
Cacti Database Schema (0.8.6)
6 data_input_fields
Creation: Oct 31, 2003 at 12:13 AMLast update: Jul 23, 2004 at 12:30 PM
Field Type Attributes Null Default Extra Links to Comments MIME
id mediumint(8) UNSIGNED No auto_incrementhash varchar(32) Nodata_input_id mediumint(8) UNSIGNED No 0 data_input -> idname varchar(200) Nodata_name varchar(50) Noinput_output char(3) Noupdate_rra char(2) Yes 0sequence smallint(5) No 0type_code varchar(40) Yes NULLregexp_match varchar(200) Yes NULLallow_nulls char(2) Yes NULL
Page number: 8/46 Sep 26, 2004 at 03:33 PM
Cacti Database Schema (0.8.6)
7 data_local
Creation: May 26, 2003 at 08:32 PMLast update: Oct 02, 2003 at 11:30 PMLast check: May 26, 2003 at 08:32 PM
Field Type Attributes Null Default Extra Links to Comments MIME
id mediumint(8) UNSIGNED No auto_incrementdata_template_id mediumint(8) UNSIGNED No 0host_id mediumint(8) UNSIGNED No 0snmp_query_id mediumint(8) No 0snmp_index varchar(60) No
Page number: 9/46 Sep 26, 2004 at 03:33 PM
Cacti Database Schema (0.8.6)
8 data_template
Creation: Oct 31, 2003 at 12:13 AMLast update: Jan 05, 2004 at 10:31 PM
Field Type Attributes Null Default Extra Links to Comments MIME
id mediumint(8) UNSIGNED No auto_incrementhash varchar(32) Noname varchar(150) No
Page number: 10/46 Sep 26, 2004 at 03:33 PM
Cacti Database Schema (0.8.6)
9 data_template_data
Creation: Jan 11, 2004 at 11:32 PMLast update: Jul 23, 2004 at 03:15 PM
Field Type Attributes Null Default Extra Links to Comments MIME
id mediumint(8) UNSIGNED No auto_incrementlocal_data_template_data_id
mediumint(8) UNSIGNED No 0 data_template_data -> id
local_data_id mediumint(8) UNSIGNED No 0 data_local -> iddata_template_id mediumint(8) UNSIGNED No 0 data_template_data -> iddata_input_id mediumint(8) UNSIGNED No 0 data_input -> idt_name char(2) Yes NULLname varchar(250) Noname_cache varchar(255) Nodata_source_path varchar(255) Yes NULLt_active char(2) Yes NULLactive char(2) Yes NULLt_rrd_step char(2) Yes NULLrrd_step mediumint(8) UNSIGNED No 0t_rra_id char(2) Yes NULL
Page number: 11/46 Sep 26, 2004 at 03:33 PM
Cacti Database Schema (0.8.6)
10 data_template_data_rra
Creation: Aug 19, 2003 at 01:00 AMLast update: Jul 23, 2004 at 03:15 PM
Field Type Attributes Null Default Extra Links to Comments MIME
data_template_data_id
mediumint(8) UNSIGNED No 0 data_template_data -> id
rra_id mediumint(8) UNSIGNED No 0 rra -> id
Page number: 12/46 Sep 26, 2004 at 03:33 PM
Cacti Database Schema (0.8.6)
11 data_template_rrd
Creation: Oct 31, 2003 at 12:13 AMLast update: Jan 05, 2004 at 10:31 PM
Field Type Attributes Null Default Extra Links to Comments MIME
id mediumint(8) UNSIGNED No auto_incrementhash varchar(32) Nolocal_data_template_rrd_id
mediumint(8) UNSIGNED No 0 data_template_rrd -> id
local_data_id mediumint(8) UNSIGNED No 0 data_local -> iddata_template_id mediumint(8) UNSIGNED No 0 data_template -> idt_rrd_maximum char(2) Yes NULLrrd_maximum bigint(20) No 0t_rrd_minimum char(2) Yes NULLrrd_minimum bigint(20) No 0t_rrd_heartbeat char(2) Yes NULLrrd_heartbeat mediumint(6) No 0t_data_source_type_id
char(2) Yes NULL
data_source_type_id
smallint(5) No 0
t_data_source_name
char(2) Yes NULL
data_source_name
varchar(19) No
t_data_input_field_id
char(2) Yes NULL
data_input_field_id
mediumint(8) UNSIGNED No 0
Page number: 13/46 Sep 26, 2004 at 03:33 PM
Cacti Database Schema (0.8.6)
12 graph_local
Table comments : Creates a relationship for each item in a custom graph.Creation: May 26, 2003 at 08:32 PMLast update: Nov 05, 2003 at 10:27 PMLast check: May 26, 2003 at 08:32 PM
Field Type Attributes Null Default Extra Links to Comments MIME
id mediumint(8) UNSIGNED No auto_incrementgraph_template_id
mediumint(8) UNSIGNED No 0
host_id mediumint(8) UNSIGNED No 0snmp_query_id mediumint(8) No 0snmp_index varchar(60) No
Page number: 14/46 Sep 26, 2004 at 03:33 PM
Cacti Database Schema (0.8.6)
13 graph_templates
Table comments : Contains each graph template name.Creation: Oct 31, 2003 at 12:13 AMLast update: Jan 05, 2004 at 10:32 PM
Field Type Attributes Null Default Extra Links to Comments MIME
id mediumint(8) UNSIGNED No auto_incrementhash char(32) Noname char(255) No
Page number: 15/46 Sep 26, 2004 at 03:33 PM
Cacti Database Schema (0.8.6)
14 graph_templates_graph
Table comments : Stores the actual graph data.Creation: Dec 17, 2003 at 05:25 PMLast update: Jul 23, 2004 at 12:38 PM
Field Type Attributes Null Default Extra Links to Comments MIME
id mediumint(8) UNSIGNED No auto_incrementlocal_graph_template_graph_id
mediumint(8) UNSIGNED No 0 graph_templates_graph -> id
local_graph_id mediumint(8) UNSIGNED No 0 graph_local -> idgraph_template_id
mediumint(8) UNSIGNED No 0 graph_templates -> id
t_image_format_id
char(2) Yes 0
image_format_id tinyint(1) No 0t_title char(2) Yes 0title varchar(255) Notitle_cache varchar(255) Not_height char(2) Yes 0height mediumint(8) No 0t_width char(2) Yes 0width mediumint(8) No 0t_upper_limit char(2) Yes 0upper_limit bigint(12) No 0t_lower_limit char(2) Yes 0lower_limit bigint(12) No 0t_vertical_label char(2) Yes 0vertical_label varchar(200) Yes NULLt_auto_scale char(2) Yes 0auto_scale char(2) Yes NULLt_auto_scale_opts char(2) Yes 0auto_scale_opts tinyint(1) No 0t_auto_scale_log char(2) Yes 0auto_scale_log char(2) Yes NULLt_auto_scale_rigid char(2) Yes 0auto_scale_rigid char(2) Yes NULLt_auto_padding char(2) Yes 0auto_padding char(2) Yes NULLt_base_value char(2) Yes 0base_value mediumint(8) No 0t_grouping char(2) Yes 0
Page number: 16/46 Sep 26, 2004 at 03:33 PM
Cacti Database Schema (0.8.6)
grouping char(2) Not_export char(2) Yes 0export char(2) Yes NULLt_unit_value char(2) Yes 0unit_value varchar(20) Yes NULLt_unit_exponent_value
char(2) Yes 0
unit_exponent_value
varchar(5) No
Page number: 17/46 Sep 26, 2004 at 03:33 PM
Cacti Database Schema (0.8.6)
15 graph_templates_item
Table comments : Stores the actual graph item data.Creation: Oct 31, 2003 at 12:13 AMLast update: Jan 05, 2004 at 10:33 PMLast check: Oct 31, 2003 at 12:13 AM
Field Type Attributes Null Default Extra Links to Comments MIME
id int(12) UNSIGNED No auto_incrementhash varchar(32) Nolocal_graph_template_item_id
int(12) UNSIGNED No 0 graph_templates_item -> id
local_graph_id mediumint(8) UNSIGNED No 0 graph_local -> idgraph_template_id
mediumint(8) UNSIGNED No 0 graph_templates -> id
task_item_id mediumint(8) UNSIGNED No 0 data_template_rrd -> idcolor_id mediumint(8) UNSIGNED No 0 colors -> idgraph_type_id tinyint(3) No 0cdef_id mediumint(8) UNSIGNED No 0 cdef -> idconsolidation_function_id
tinyint(2) No 0
text_format varchar(255) Yes NULLvalue varchar(255) Yes NULLhard_return char(2) Yes NULLgprint_id mediumint(8) UNSIGNED No 0sequence mediumint(8) UNSIGNED No 0
Page number: 18/46 Sep 26, 2004 at 03:33 PM
Cacti Database Schema (0.8.6)
16 graph_template_input
Table comments : Stores the names for graph item input groups.Creation: Oct 31, 2003 at 12:13 AMLast update: Jan 05, 2004 at 10:33 PM
Field Type Attributes Null Default Extra Links to Comments MIME
id mediumint(8) UNSIGNED No auto_incrementhash varchar(32) Nograph_template_id
mediumint(8) UNSIGNED No 0 data_template -> id
name varchar(255) Nodescription text Yes NULLcolumn_name varchar(50) No
Page number: 19/46 Sep 26, 2004 at 03:33 PM
Cacti Database Schema (0.8.6)
17 graph_template_input_defs
Table comments : Stores the relationship for what graph iitems are associatedCreation: May 26, 2003 at 07:55 PMLast update: Jan 05, 2004 at 10:33 PM
Field Type Attributes Null Default Extra Links to Comments MIME
graph_template_input_id
mediumint(8) UNSIGNED No 0 graph_template_input -> id
graph_template_item_id
int(12) UNSIGNED No 0 graph_templates_item -> id
Page number: 20/46 Sep 26, 2004 at 03:33 PM
Cacti Database Schema (0.8.6)
18 graph_tree
Creation: Aug 14, 2004 at 11:21 PMLast update: Aug 14, 2004 at 11:21 PM
Field Type Attributes Null Default Extra Links to Comments MIME
id smallint(5) UNSIGNED No auto_incrementsort_type tinyint(3) UNSIGNED No 1name varchar(255) No
Page number: 21/46 Sep 26, 2004 at 03:33 PM
Cacti Database Schema (0.8.6)
19 graph_tree_items
Creation: Jul 22, 2004 at 12:42 AMLast update: Jul 22, 2004 at 12:44 AM
Field Type Attributes Null Default Extra Links to Comments MIME
id smallint(5) UNSIGNED No auto_incrementgraph_tree_id smallint(5) UNSIGNED No 0 graph_tree -> idlocal_graph_id mediumint(8) UNSIGNED No 0 graph_local -> idrra_id smallint(8) UNSIGNED No 0 rra -> idtitle varchar(255) Yes NULLhost_id mediumint(8) UNSIGNED No 0 host -> idorder_key varchar(100) No 0host_grouping_type
tinyint(3) UNSIGNED No 1
sort_children_type
tinyint(3) UNSIGNED No 1
Page number: 22/46 Sep 26, 2004 at 03:33 PM
Cacti Database Schema (0.8.6)
20 host
Creation: Jul 22, 2004 at 12:42 AMLast update: Jul 22, 2004 at 12:42 AM
Field Type Attributes Null Default Extra Links to Comments MIME
id mediumint(8) UNSIGNED No auto_incrementhost_template_id mediumint(8) UNSIGNED No 0description varchar(150) Nohostname varchar(250) Yes NULLsnmp_community varchar(100) Yes NULLsnmp_version tinyint(1) UNSIGNED No 1snmp_username varchar(50) Yes NULLsnmp_password varchar(50) Yes NULLsnmp_port mediumint(5) UNSIGNED No 161snmp_timeout mediumint(8) UNSIGNED No 500disabled char(2) Yes NULLstatus tinyint(2) No 0status_event_count
mediumint(8) UNSIGNED No 0
status_fail_date datetime No 0000-00-0000:00:00
status_rec_date datetime No 0000-00-0000:00:00
status_last_error varchar(50) Yesmin_time decimal(7,5) Yes 9.99999max_time decimal(7,5) Yes 0.00000cur_time decimal(7,5) Yes 0.00000avg_time decimal(7,5) Yes 0.00000total_polls int(12) UNSIGNED Yes 0failed_polls int(12) UNSIGNED Yes 0availability decimal(7,5) No 100.00000
Page number: 23/46 Sep 26, 2004 at 03:33 PM
Cacti Database Schema (0.8.6)
21 host_snmp_cache
Creation: Sep 16, 2004 at 11:31 PMLast update: Sep 16, 2004 at 11:31 PM
Field Type Attributes Null Default Extra Links to Comments MIME
host_id mediumint(8) UNSIGNED No 0 host -> idsnmp_query_id mediumint(8) UNSIGNED No 0 snmp_query -> idfield_name varchar(50) Nofield_value varchar(255) Yes NULLsnmp_index varchar(60) Nooid varchar(255) No
Page number: 24/46 Sep 26, 2004 at 03:33 PM
Cacti Database Schema (0.8.6)
22 host_snmp_query
Creation: Jul 22, 2004 at 12:41 AMLast update: Jul 22, 2004 at 12:44 AM
Field Type Attributes Null Default Extra Links to Comments MIME
host_id mediumint(8) UNSIGNED No 0 host -> idsnmp_query_id mediumint(8) UNSIGNED No 0 snmp_query -> idsort_field varchar(50) Notitle_format varchar(50) Noreindex_method tinyint(3) UNSIGNED No 0
Page number: 25/46 Sep 26, 2004 at 03:33 PM
Cacti Database Schema (0.8.6)
23 host_template
Creation: Oct 31, 2003 at 12:13 AMLast update: Jan 19, 2004 at 02:54 PM
Field Type Attributes Null Default Extra Links to Comments MIME
id mediumint(8) UNSIGNED No auto_incrementhash varchar(32) Noname varchar(100) No
Page number: 26/46 Sep 26, 2004 at 03:33 PM
Cacti Database Schema (0.8.6)
24 host_template_graph
Creation: May 26, 2003 at 07:55 PMLast update: Jan 31, 2004 at 01:01 PM
Field Type Attributes Null Default Extra Links to Comments MIME
host_template_id mediumint(8) UNSIGNED No 0 host_template -> idgraph_template_id
mediumint(8) UNSIGNED No 0 graph_templates -> id
Page number: 27/46 Sep 26, 2004 at 03:33 PM
Cacti Database Schema (0.8.6)
25 poller
Creation: Jul 22, 2004 at 12:40 AMLast update: Jul 22, 2004 at 12:40 AM
Field Type Attributes Null Default Extra Links to Comments MIME
id smallint(5) UNSIGNED No auto_incrementhostname varchar(250) Noip_address int(11) UNSIGNED No 0last_update datetime No 0000-00-00
00:00:00
Page number: 28/46 Sep 26, 2004 at 03:33 PM
Cacti Database Schema (0.8.6)
26 poller_command
Creation: Jul 22, 2004 at 12:40 AMLast update: Jul 22, 2004 at 12:40 AM
Field Type Attributes Null Default Extra Links to Comments MIME
poller_id smallint(5) UNSIGNED No 0 poller -> idtime datetime No 0000-00-00
00:00:00action tinyint(3) UNSIGNED No 0command varchar(200) No
Page number: 29/46 Sep 26, 2004 at 03:33 PM
Cacti Database Schema (0.8.6)
27 poller_item
Creation: Sep 16, 2004 at 11:30 PMLast update: Sep 16, 2004 at 11:30 PM
Field Type Attributes Null Default Extra Links to Comments MIME
local_data_id mediumint(8) UNSIGNED No 0 data_local -> idpoller_id smallint(5) UNSIGNED No 0 poller -> idhost_id mediumint(8) No 0 host -> idaction tinyint(2) UNSIGNED No 1hostname varchar(250) Nosnmp_community varchar(100) Nosnmp_version tinyint(1) UNSIGNED No 0snmp_username varchar(50) Nosnmp_password varchar(50) Nosnmp_port mediumint(5) UNSIGNED No 161snmp_timeout mediumint(8) UNSIGNED No 0rrd_name varchar(19) Norrd_path varchar(255) Norrd_num tinyint(2) UNSIGNED No 0arg1 varchar(255) Yes NULLarg2 varchar(255) Yes NULLarg3 varchar(255) Yes NULL
Page number: 30/46 Sep 26, 2004 at 03:33 PM
Cacti Database Schema (0.8.6)
28 poller_output
Creation: Jul 22, 2004 at 12:41 AMLast update: Jul 22, 2004 at 12:41 AM
Field Type Attributes Null Default Extra Links to Comments MIME
local_data_id mediumint(8) UNSIGNED No 0 data_local -> idrrd_name varchar(19) Notime datetime No 0000-00-00
00:00:00output text No
Page number: 31/46 Sep 26, 2004 at 03:33 PM
Cacti Database Schema (0.8.6)
29 poller_reindex
Creation: Jul 22, 2004 at 12:41 AMLast update: Jul 22, 2004 at 12:41 AM
Field Type Attributes Null Default Extra Links to Comments MIME
host_id mediumint(8) UNSIGNED No 0 host -> iddata_query_id mediumint(8) UNSIGNED No 0 snmp_query -> idaction tinyint(3) UNSIGNED No 0op char(1) Noassert_value varchar(100) Noarg1 varchar(100) No
Page number: 32/46 Sep 26, 2004 at 03:33 PM
Cacti Database Schema (0.8.6)
30 poller_time
Creation: Jul 22, 2004 at 12:41 AMLast update: Jul 22, 2004 at 12:41 AM
Field Type Attributes Null Default Extra Links to Comments MIME
id mediumint(8) UNSIGNED No auto_incrementpoller_id smallint(5) UNSIGNED No 0 poller -> idstart_time datetime No 0000-00-00
00:00:00end_time datetime No 0000-00-00
00:00:00
Page number: 33/46 Sep 26, 2004 at 03:33 PM
Cacti Database Schema (0.8.6)
31 rra
Creation: Oct 31, 2003 at 12:17 AMLast update: Nov 05, 2003 at 10:55 PM
Field Type Attributes Null Default Extra Links to Comments MIME
id mediumint(8) UNSIGNED No auto_incrementhash varchar(32) Noname varchar(100) Nox_files_factor double No 0.1steps mediumint(8) Yes 1rows int(12) No 600timespan int(12) UNSIGNED No 0
Page number: 34/46 Sep 26, 2004 at 03:33 PM
Cacti Database Schema (0.8.6)
32 rra_cf
Creation: May 26, 2003 at 07:55 PMLast update: May 26, 2003 at 07:55 PM
Field Type Attributes Null Default Extra Links to Comments MIME
rra_id mediumint(8) UNSIGNED No 0 rra -> idconsolidation_function_id
smallint(5) UNSIGNED No 0
Page number: 35/46 Sep 26, 2004 at 03:33 PM
Cacti Database Schema (0.8.6)
33 settings_graphs
Creation: Aug 27, 2003 at 11:24 PMLast update: Nov 06, 2003 at 07:05 PM
Field Type Attributes Null Default Extra Links to Comments MIME
user_id smallint(8) UNSIGNED No 0 user_auth -> idname varchar(50) Novalue varchar(255) No
Page number: 36/46 Sep 26, 2004 at 03:33 PM
Cacti Database Schema (0.8.6)
34 settings_tree
Creation: May 26, 2003 at 07:55 PMLast update: May 26, 2003 at 07:55 PM
Field Type Attributes Null Default Extra Links to Comments MIME
user_id mediumint(8) UNSIGNED No 0 user_auth -> idgraph_tree_item_id
mediumint(8) UNSIGNED No 0 graph_tree_items -> id
status tinyint(1) No 0
Page number: 37/46 Sep 26, 2004 at 03:33 PM
Cacti Database Schema (0.8.6)
35 snmp_query
Creation: Oct 31, 2003 at 12:13 AMLast update: Jul 23, 2004 at 12:32 PM
Field Type Attributes Null Default Extra Links to Comments MIME
id mediumint(8) UNSIGNED No auto_incrementhash varchar(32) Noxml_path varchar(255) Noname varchar(100) Nodescription varchar(255) Yes NULLgraph_template_id
mediumint(8) UNSIGNED No 0 graph_templates -> id
data_input_id mediumint(8) UNSIGNED No 0 data_input -> id
Page number: 38/46 Sep 26, 2004 at 03:33 PM
Cacti Database Schema (0.8.6)
36 snmp_query_graph
Creation: Oct 31, 2003 at 12:13 AMLast update: Nov 05, 2003 at 10:55 PM
Field Type Attributes Null Default Extra Links to Comments MIME
id mediumint(8) UNSIGNED No auto_incrementhash varchar(32) Nosnmp_query_id mediumint(8) UNSIGNED No 0 snmp_query -> idname varchar(100) Nograph_template_id
mediumint(8) UNSIGNED No 0 graph_templates -> id
Page number: 39/46 Sep 26, 2004 at 03:33 PM
Cacti Database Schema (0.8.6)
37 snmp_query_graph_rrd
Creation: May 26, 2003 at 07:55 PMLast update: Nov 05, 2003 at 10:29 PM
Field Type Attributes Null Default Extra Links to Comments MIME
snmp_query_graph_id
mediumint(8) UNSIGNED No 0 snmp_query_graph -> id
data_template_id mediumint(8) UNSIGNED No 0 data_template -> iddata_template_rrd_id
mediumint(8) UNSIGNED No 0 data_template_rrd -> id
snmp_field_name varchar(50) No 0
Page number: 40/46 Sep 26, 2004 at 03:33 PM
Cacti Database Schema (0.8.6)
38 snmp_query_graph_rrd_sv
Creation: Oct 31, 2003 at 12:13 AMLast update: Jul 22, 2004 at 12:42 AM
Field Type Attributes Null Default Extra Links to Comments MIME
id mediumint(8) UNSIGNED No auto_incrementhash varchar(32) Nosnmp_query_graph_id
mediumint(8) UNSIGNED No 0 snmp_query_graph -> id
data_template_id mediumint(8) UNSIGNED No 0 data_template -> idsequence mediumint(8) UNSIGNED No 0field_name varchar(100) Notext varchar(255) No
Page number: 41/46 Sep 26, 2004 at 03:33 PM
Cacti Database Schema (0.8.6)
39 snmp_query_graph_sv
Creation: Oct 31, 2003 at 12:13 AMLast update: Feb 01, 2004 at 08:44 PM
Field Type Attributes Null Default Extra Links to Comments MIME
id mediumint(8) UNSIGNED No auto_incrementhash varchar(32) Nosnmp_query_graph_id
mediumint(8) UNSIGNED No 0 snmp_query_graph -> id
sequence mediumint(8) UNSIGNED No 0field_name varchar(100) Notext varchar(255) No
Page number: 42/46 Sep 26, 2004 at 03:33 PM
Cacti Database Schema (0.8.6)
40 user_auth
Creation: Jul 21, 2003 at 05:20 PMLast update: Nov 06, 2003 at 07:05 PMLast check: Jul 21, 2003 at 05:20 PM
Field Type Attributes Null Default Extra Links to Comments MIME
id mediumint(8) UNSIGNED No auto_incrementusername varchar(50) No 0password varchar(50) No 0realm mediumint(8) No 0full_name varchar(100) Yes 0must_change_password
char(2) Yes NULL
show_tree char(2) Yes onshow_list char(2) Yes onshow_preview char(2) No ongraph_settings char(2) Yes NULLlogin_opts tinyint(1) No 1policy_graphs tinyint(1) UNSIGNED No 1policy_trees tinyint(1) UNSIGNED No 1policy_hosts tinyint(1) UNSIGNED No 1policy_graph_templates
tinyint(1) UNSIGNED No 1
Page number: 43/46 Sep 26, 2004 at 03:33 PM
Cacti Database Schema (0.8.6)
41 user_auth_perms
Creation: Aug 17, 2003 at 03:14 PMLast update: Aug 17, 2003 at 03:14 PM
Field Type Attributes Null Default Extra Links to Comments MIME
user_id mediumint(8) UNSIGNED No 0 user_auth -> iditem_id mediumint(8) UNSIGNED No 0type tinyint(2) UNSIGNED No 0
Page number: 44/46 Sep 26, 2004 at 03:33 PM
Cacti Database Schema (0.8.6)
42 user_auth_realm
Creation: May 26, 2003 at 07:55 PMLast update: Nov 06, 2003 at 07:05 PM
Field Type Attributes Null Default Extra Links to Comments MIME
realm_id mediumint(8) UNSIGNED No 0user_id mediumint(8) UNSIGNED No 0 user_auth -> id
Page number: 45/46 Sep 26, 2004 at 03:33 PM
Cacti Database Schema (0.8.6)
cdef id hash name
cdef_items id hash cdef_id sequence type value
colors id hex
data_input id hash name input_string type_id
data_input_data data_input_field_id data_template_data_id t_value value
data_input_fields id hash data_input_id name data_name input_output update_rra sequence type_code regexp_match allow_nulls
data_local id data_template_id host_id snmp_query_id snmp_index
data_template id hash name
data_template_data id local_data_template_data_id local_data_id data_template_id data_input_id t_name name name_cache data_source_path t_active active t_rrd_step rrd_step t_rra_id
data_template_data_rra data_template_data_id rra_id
data_template_rrd id hash local_data_template_rrd_id local_data_id data_template_id t_rrd_maximum rrd_maximum t_rrd_minimum rrd_minimum t_rrd_heartbeat rrd_heartbeat t_data_source_type_id data_source_type_id t_data_source_name data_source_name t_data_input_field_id data_input_field_id
graph_local id graph_template_id host_id snmp_query_id snmp_index
graph_templates id hash name
graph_templates_graph id local_graph_template_graph_id local_graph_id graph_template_id t_image_format_id image_format_id t_title title title_cache t_height height t_width width t_upper_limit upper_limit t_lower_limit lower_limit t_vertical_label vertical_label t_auto_scale auto_scale t_auto_scale_opts auto_scale_opts t_auto_scale_log auto_scale_log t_auto_scale_rigid auto_scale_rigid t_auto_padding auto_padding t_base_value base_value t_grouping grouping t_export export t_unit_value unit_value t_unit_exponent_value unit_exponent_value
graph_templates_item id hash local_graph_template_item_id local_graph_id graph_template_id task_item_id color_id graph_type_id cdef_id consolidation_function_id text_format value hard_return gprint_id sequence
graph_template_input id hash graph_template_id name description column_name
graph_template_input_defs graph_template_input_id graph_template_item_id
graph_tree id sort_type name
graph_tree_items id graph_tree_id local_graph_id rra_id title host_id order_key host_grouping_type sort_children_type
host id host_template_id description hostname snmp_community snmp_version snmp_username snmp_password snmp_port snmp_timeout disabled status status_event_count status_fail_date status_rec_date status_last_error min_time max_time cur_time avg_time total_polls failed_polls availability
host_snmp_cache host_id snmp_query_id field_name field_value snmp_index oid
host_snmp_query host_id snmp_query_id sort_field title_format reindex_method
host_template id hash name
host_template_graph host_template_id graph_template_id
poller id hostname ip_address last_update
poller_command poller_id time action command
poller_item local_data_id poller_id host_id action hostname snmp_community snmp_version snmp_username snmp_password snmp_port snmp_timeout rrd_name rrd_path rrd_num arg1 arg2 arg3
poller_output local_data_id rrd_name time output
poller_reindex host_id data_query_id action op assert_value arg1
poller_time id poller_id start_time end_time
rra id hash name x_files_factor steps rows timespan
rra_cf rra_id consolidation_function_id
settings_graphs user_id name value
settings_tree user_id graph_tree_item_id status
snmp_query id hash xml_path name description graph_template_id data_input_id
snmp_query_graph id hash snmp_query_id name graph_template_id
snmp_query_graph_rrd snmp_query_graph_id data_template_id data_template_rrd_id snmp_field_name
snmp_query_graph_rrd_sv id hash snmp_query_graph_id data_template_id sequence field_name textsnmp_query_graph_sv
id hash snmp_query_graph_id sequence field_name text
user_auth id username password realm full_name must_change_password show_tree show_list show_preview graph_settings login_opts policy_graphs policy_trees policy_hosts policy_graph_templates
user_auth_perms user_id item_id type
user_auth_realm realm_id user_id
Page number: 46/46 Sep 26, 2004 at 03:33 PM