Schema of the the "dev_cacti_2" database

Cacti Database Schema (0.8.6)
Table of contents
1 cdef
2 cdef_items
3 colors
4 data_input
5 data_input_data
6 data_input_fields
7 data_local
8 data_template
9 data_template_data
10 data_template_data_rra
11 data_template_rrd
12 graph_local
13 graph_templates
14 graph_templates_graph
15 graph_templates_item
16 graph_template_input
17 graph_template_input_defs
18 graph_tree
19 graph_tree_items
20 host
21 host_snmp_cache
22 host_snmp_query
23 host_template
24 host_template_graph
25 poller
26 poller_command
27 poller_item
28 poller_output
29 poller_reindex
30 poller_time
31 rra
32 rra_cf
33 settings_graphs
34 settings_tree
35 snmp_query
36 snmp_query_graph
37 snmp_query_graph_rrd
38 snmp_query_graph_rrd_sv
39 snmp_query_graph_sv
40 user_auth
Page number: 3
Page number: 4
Page number: 5
Page number: 6
Page number: 7
Page number: 8
Page number: 9
Page number: 10
Page number: 11
Page number: 12
Page number: 13
Page number: 14
Page number: 15
Page number: 16
Page number: 18
Page number: 19
Page number: 20
Page number: 21
Page number: 22
Page number: 23
Page number: 24
Page number: 25
Page number: 26
Page number: 27
Page number: 28
Page number: 29
Page number: 30
Page number: 31
Page number: 32
Page number: 33
Page number: 34
Page number: 35
Page number: 36
Page number: 37
Page number: 38
Page number: 39
Page number: 40
Page number: 41
Page number: 42
Page number: 43
Page number: 1/46
Sep 26, 2004 at 03:33 PM
Cacti Database Schema (0.8.6)
41 user_auth_perms
42 user_auth_realm
43 Relational schema
Page number: 44
Page number: 45
Page number: 46
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 AM
Last update: Nov 05, 2003 at 10:55 PM
Field
id
hash
name
Type
mediumint(8)
varchar(32)
varchar(255)
Attributes
UNSIGNED
Null
No
No
No
Default
Extra
Links to
Comments
MIME
auto_increment
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 AM
Last update: Nov 05, 2003 at 10:55 PM
Field
id
hash
cdef_id
sequence
type
value
Type
mediumint(8)
varchar(32)
mediumint(8)
mediumint(8)
tinyint(2)
varchar(150)
Attributes
UNSIGNED
UNSIGNED
UNSIGNED
Null
No
No
No
No
No
No
Default
Extra
Links to
Comments
MIME
auto_increment
0
0
0
cdef -> id
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 PM
Last update: May 26, 2003 at 07:55 PM
Field
id
hex
Type
mediumint(8)
varchar(6)
Attributes
UNSIGNED
Null
No
No
Default
Extra
Links to
Comments
MIME
auto_increment
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 PM
Last update: Jul 23, 2004 at 12:29 PM
Field
id
hash
name
input_string
type_id
Type
mediumint(8)
varchar(32)
varchar(200)
varchar(255)
tinyint(2)
Attributes
UNSIGNED
Null
No
No
No
Yes
No
Default
Extra
Links to
Comments
MIME
auto_increment
NULL
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 PM
Last update: Jul 23, 2004 at 03:15 PM
Field
Type
data_input_field_i
d
data_template_da
ta_id
t_value
value
mediumint(8)
UNSIGNED
No
0
data_input_fields -> id
mediumint(8)
UNSIGNED
No
0
data_template_data -> id
Yes
Yes
NULL
NULL
char(2)
text
Attributes
Null
Default
Extra
Links to
Page number: 7/46
Comments
MIME
Sep 26, 2004 at 03:33 PM
Cacti Database Schema (0.8.6)
6 data_input_fields
Creation: Oct 31, 2003 at 12:13 AM
Last update: Jul 23, 2004 at 12:30 PM
Field
id
hash
data_input_id
name
data_name
input_output
update_rra
sequence
type_code
regexp_match
allow_nulls
Type
mediumint(8)
varchar(32)
mediumint(8)
varchar(200)
varchar(50)
char(3)
char(2)
smallint(5)
varchar(40)
varchar(200)
char(2)
Attributes
UNSIGNED
UNSIGNED
Null
No
No
No
No
No
No
Yes
No
Yes
Yes
Yes
Default
Extra
Links to
Comments
MIME
auto_increment
0
data_input -> id
0
0
NULL
NULL
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 PM
Last update: Oct 02, 2003 at 11:30 PM
Last check: May 26, 2003 at 08:32 PM
Field
Type
id
data_template_id
host_id
snmp_query_id
snmp_index
mediumint(8)
mediumint(8)
mediumint(8)
mediumint(8)
varchar(60)
Attributes
UNSIGNED
UNSIGNED
UNSIGNED
Null
No
No
No
No
No
Default
Extra
Links to
Comments
MIME
auto_increment
0
0
0
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 AM
Last update: Jan 05, 2004 at 10:31 PM
Field
id
hash
name
Type
mediumint(8)
varchar(32)
varchar(150)
Attributes
UNSIGNED
Null
No
No
No
Default
Extra
Links to
Comments
MIME
auto_increment
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 PM
Last update: Jul 23, 2004 at 03:15 PM
Field
Type
Attributes
id
local_data_templa
te_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
mediumint(8)
mediumint(8)
UNSIGNED
UNSIGNED
No
No
mediumint(8)
mediumint(8)
mediumint(8)
char(2)
varchar(250)
varchar(255)
varchar(255)
char(2)
char(2)
char(2)
mediumint(8)
char(2)
UNSIGNED
UNSIGNED
UNSIGNED
No
No
No
Yes
No
No
Yes
Yes
Yes
Yes
No
Yes
UNSIGNED
Null
Default
Extra
Links to
Comments
MIME
auto_increment
0
data_template_data -> id
0
0
0
NULL
data_local -> id
data_template_data -> id
data_input -> id
NULL
NULL
NULL
NULL
0
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 AM
Last update: Jul 23, 2004 at 03:15 PM
Field
Type
data_template_da mediumint(8)
ta_id
rra_id
mediumint(8)
Attributes
Null
Default
Extra
Links to
UNSIGNED
No
0
data_template_data -> id
UNSIGNED
No
0
rra -> id
Page number: 12/46
Comments
MIME
Sep 26, 2004 at 03:33 PM
Cacti Database Schema (0.8.6)
11 data_template_rrd
Creation: Oct 31, 2003 at 12:13 AM
Last update: Jan 05, 2004 at 10:31 PM
Field
Type
Attributes
id
hash
local_data_templa
te_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_ty
pe_id
data_source_type
_id
t_data_source_na
me
data_source_nam
e
t_data_input_field
_id
data_input_field_i
d
mediumint(8)
varchar(32)
mediumint(8)
UNSIGNED
mediumint(8)
mediumint(8)
char(2)
bigint(20)
char(2)
bigint(20)
char(2)
mediumint(6)
char(2)
UNSIGNED
UNSIGNED
Null
Default
Extra
Links to
No
No
No
0
data_template_rrd -> id
No
No
Yes
No
Yes
No
Yes
No
Yes
0
0
NULL
0
NULL
0
NULL
0
NULL
data_local -> id
data_template -> id
smallint(5)
No
0
char(2)
Yes
NULL
varchar(19)
No
char(2)
Yes
NULL
No
0
mediumint(8)
UNSIGNED
UNSIGNED
Comments
MIME
auto_increment
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 PM
Last update: Nov 05, 2003 at 10:27 PM
Last check: May 26, 2003 at 08:32 PM
Field
Type
Attributes
Null
id
graph_template_i
d
host_id
snmp_query_id
snmp_index
mediumint(8)
mediumint(8)
UNSIGNED
UNSIGNED
No
No
mediumint(8)
mediumint(8)
varchar(60)
UNSIGNED
No
No
No
Default
Extra
Links to
Comments
MIME
auto_increment
0
0
0
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 AM
Last update: Jan 05, 2004 at 10:32 PM
Field
id
hash
name
Type
mediumint(8)
char(32)
char(255)
Attributes
UNSIGNED
Null
No
No
No
Default
Extra
Links to
Comments
MIME
auto_increment
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 PM
Last update: Jul 23, 2004 at 12:38 PM
Field
Type
Attributes
Null
Default
Extra
Links to
id
local_graph_temp
late_graph_id
local_graph_id
graph_template_i
d
t_image_format_i
d
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
mediumint(8)
mediumint(8)
UNSIGNED
UNSIGNED
No
No
0
graph_templates_graph -> id
mediumint(8)
mediumint(8)
UNSIGNED
UNSIGNED
No
No
0
0
graph_local -> id
graph_templates -> id
char(2)
Yes
0
tinyint(1)
char(2)
varchar(255)
varchar(255)
char(2)
mediumint(8)
char(2)
mediumint(8)
char(2)
bigint(12)
char(2)
bigint(12)
char(2)
varchar(200)
char(2)
char(2)
char(2)
tinyint(1)
char(2)
char(2)
char(2)
char(2)
char(2)
char(2)
char(2)
mediumint(8)
char(2)
No
Yes
No
No
Yes
No
Yes
No
Yes
No
Yes
No
Yes
Yes
Yes
Yes
Yes
No
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
Yes
0
0
Comments
MIME
auto_increment
0
0
0
0
0
0
0
0
0
NULL
0
NULL
0
0
0
NULL
0
NULL
0
NULL
0
0
0
Page number: 16/46
Sep 26, 2004 at 03:33 PM
Cacti Database Schema (0.8.6)
grouping
t_export
export
t_unit_value
unit_value
t_unit_exponent_
value
unit_exponent_val
ue
char(2)
char(2)
char(2)
char(2)
varchar(20)
char(2)
No
Yes
Yes
Yes
Yes
Yes
varchar(5)
No
0
NULL
0
NULL
0
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 AM
Last update: Jan 05, 2004 at 10:33 PM
Last check: Oct 31, 2003 at 12:13 AM
Field
id
hash
local_graph_temp
late_item_id
local_graph_id
graph_template_i
d
task_item_id
color_id
graph_type_id
cdef_id
consolidation_fun
ction_id
text_format
value
hard_return
gprint_id
sequence
Type
Attributes
int(12)
varchar(32)
int(12)
UNSIGNED
Null
Default
Extra
Links to
UNSIGNED
No
No
No
0
graph_templates_item -> id
mediumint(8)
mediumint(8)
UNSIGNED
UNSIGNED
No
No
0
0
graph_local -> id
graph_templates -> id
mediumint(8)
mediumint(8)
tinyint(3)
mediumint(8)
tinyint(2)
UNSIGNED
UNSIGNED
No
No
No
No
No
0
0
0
0
0
data_template_rrd -> id
colors -> id
Yes
Yes
Yes
No
No
NULL
NULL
NULL
0
0
varchar(255)
varchar(255)
char(2)
mediumint(8)
mediumint(8)
UNSIGNED
UNSIGNED
UNSIGNED
Comments
MIME
auto_increment
cdef -> id
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 AM
Last update: Jan 05, 2004 at 10:33 PM
Field
Type
id
hash
graph_template_i
d
name
description
column_name
mediumint(8)
varchar(32)
mediumint(8)
varchar(255)
text
varchar(50)
Attributes
UNSIGNED
UNSIGNED
Null
No
No
No
No
Yes
No
Default
Extra
Links to
Comments
MIME
auto_increment
0
data_template -> id
NULL
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 associated
Creation: May 26, 2003 at 07:55 PM
Last update: Jan 05, 2004 at 10:33 PM
Field
Type
graph_template_i mediumint(8)
nput_id
graph_template_it int(12)
em_id
Attributes
Null
Default
Extra
Links to
UNSIGNED
No
0
graph_template_input -> id
UNSIGNED
No
0
graph_templates_item -> id
Page number: 20/46
Comments
MIME
Sep 26, 2004 at 03:33 PM
Cacti Database Schema (0.8.6)
18 graph_tree
Creation: Aug 14, 2004 at 11:21 PM
Last update: Aug 14, 2004 at 11:21 PM
Field
id
sort_type
name
Type
smallint(5)
tinyint(3)
varchar(255)
Attributes
UNSIGNED
UNSIGNED
Null
No
No
No
Default
Extra
Links to
Comments
MIME
auto_increment
1
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 AM
Last update: Jul 22, 2004 at 12:44 AM
Field
Type
Attributes
id
graph_tree_id
local_graph_id
rra_id
title
host_id
order_key
host_grouping_ty
pe
sort_children_typ
e
smallint(5)
smallint(5)
mediumint(8)
smallint(8)
varchar(255)
mediumint(8)
varchar(100)
tinyint(3)
UNSIGNED
UNSIGNED
UNSIGNED
UNSIGNED
tinyint(3)
Null
Default
UNSIGNED
No
No
No
No
Yes
No
No
No
0
0
0
NULL
0
0
1
UNSIGNED
No
1
UNSIGNED
Extra
Links to
Comments
MIME
auto_increment
graph_tree -> id
graph_local -> id
rra -> id
host -> id
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 AM
Last update: Jul 22, 2004 at 12:42 AM
Field
Type
Attributes
id
host_template_id
description
hostname
snmp_community
snmp_version
snmp_username
snmp_password
snmp_port
snmp_timeout
disabled
status
status_event_cou
nt
status_fail_date
mediumint(8)
mediumint(8)
varchar(150)
varchar(250)
varchar(100)
tinyint(1)
varchar(50)
varchar(50)
mediumint(5)
mediumint(8)
char(2)
tinyint(2)
mediumint(8)
datetime
No
status_rec_date
datetime
No
status_last_error
min_time
max_time
cur_time
avg_time
total_polls
failed_polls
availability
varchar(50)
decimal(7,5)
decimal(7,5)
decimal(7,5)
decimal(7,5)
int(12)
int(12)
decimal(7,5)
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
UNSIGNED
UNSIGNED
UNSIGNED
UNSIGNED
UNSIGNED
UNSIGNED
UNSIGNED
UNSIGNED
Null
No
No
No
Yes
Yes
No
Yes
Yes
No
No
Yes
No
No
Default
Extra
Links to
Comments
MIME
auto_increment
0
NULL
NULL
1
NULL
NULL
161
500
NULL
0
0
0000-00-00
00:00:00
0000-00-00
00:00:00
9.99999
0.00000
0.00000
0.00000
0
0
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 PM
Last update: Sep 16, 2004 at 11:31 PM
Field
host_id
snmp_query_id
field_name
field_value
snmp_index
oid
Type
mediumint(8)
mediumint(8)
varchar(50)
varchar(255)
varchar(60)
varchar(255)
Attributes
UNSIGNED
UNSIGNED
Null
No
No
No
Yes
No
No
Default
0
0
Extra
Links to
Comments
MIME
host -> id
snmp_query -> id
NULL
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 AM
Last update: Jul 22, 2004 at 12:44 AM
Field
host_id
snmp_query_id
sort_field
title_format
reindex_method
Type
mediumint(8)
mediumint(8)
varchar(50)
varchar(50)
tinyint(3)
Attributes
UNSIGNED
UNSIGNED
UNSIGNED
Null
No
No
No
No
No
Default
0
0
Extra
Links to
Comments
MIME
host -> id
snmp_query -> id
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 AM
Last update: Jan 19, 2004 at 02:54 PM
Field
id
hash
name
Type
mediumint(8)
varchar(32)
varchar(100)
Attributes
UNSIGNED
Null
No
No
No
Default
Extra
Links to
Comments
MIME
auto_increment
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 PM
Last update: Jan 31, 2004 at 01:01 PM
Field
Type
host_template_id
graph_template_i
d
mediumint(8)
mediumint(8)
Attributes
UNSIGNED
UNSIGNED
Null
No
No
Default
0
0
Extra
Links to
Comments
MIME
host_template -> id
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 AM
Last update: Jul 22, 2004 at 12:40 AM
Field
id
hostname
ip_address
last_update
Type
smallint(5)
varchar(250)
int(11)
datetime
Attributes
UNSIGNED
UNSIGNED
Null
No
No
No
No
Default
Extra
Links to
Comments
MIME
auto_increment
0
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 AM
Last update: Jul 22, 2004 at 12:40 AM
Field
Type
Attributes
Null
poller_id
time
smallint(5)
datetime
UNSIGNED
No
No
action
command
tinyint(3)
varchar(200)
UNSIGNED
No
No
Default
0
0000-00-00
00:00:00
0
Extra
Links to
Comments
MIME
poller -> id
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 PM
Last update: Sep 16, 2004 at 11:30 PM
Field
Type
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
mediumint(8)
smallint(5)
mediumint(8)
tinyint(2)
varchar(250)
varchar(100)
tinyint(1)
varchar(50)
varchar(50)
mediumint(5)
mediumint(8)
varchar(19)
varchar(255)
tinyint(2)
varchar(255)
varchar(255)
varchar(255)
Attributes
UNSIGNED
UNSIGNED
UNSIGNED
UNSIGNED
UNSIGNED
UNSIGNED
UNSIGNED
Null
No
No
No
No
No
No
No
No
No
No
No
No
No
No
Yes
Yes
Yes
Default
0
0
0
1
Extra
Links to
Comments
MIME
data_local -> id
poller -> id
host -> id
0
161
0
0
NULL
NULL
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 AM
Last update: Jul 22, 2004 at 12:41 AM
Field
Type
local_data_id
rrd_name
time
mediumint(8)
varchar(19)
datetime
output
text
Attributes
UNSIGNED
Null
No
No
No
Default
0
Extra
Links to
Comments
MIME
data_local -> id
0000-00-00
00:00:00
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 AM
Last update: Jul 22, 2004 at 12:41 AM
Field
host_id
data_query_id
action
op
assert_value
arg1
Type
mediumint(8)
mediumint(8)
tinyint(3)
char(1)
varchar(100)
varchar(100)
Attributes
UNSIGNED
UNSIGNED
UNSIGNED
Null
No
No
No
No
No
No
Default
0
0
0
Extra
Links to
Comments
MIME
host -> id
snmp_query -> id
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 AM
Last update: Jul 22, 2004 at 12:41 AM
Field
Type
id
poller_id
start_time
mediumint(8)
smallint(5)
datetime
end_time
datetime
Attributes
UNSIGNED
UNSIGNED
Null
No
No
No
No
Default
Extra
Links to
Comments
MIME
auto_increment
0
0000-00-00
00:00:00
0000-00-00
00:00:00
poller -> id
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 AM
Last update: Nov 05, 2003 at 10:55 PM
Field
id
hash
name
x_files_factor
steps
rows
timespan
Type
mediumint(8)
varchar(32)
varchar(100)
double
mediumint(8)
int(12)
int(12)
Attributes
UNSIGNED
UNSIGNED
Null
No
No
No
No
Yes
No
No
Default
Extra
Links to
Comments
MIME
auto_increment
0.1
1
600
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 PM
Last update: May 26, 2003 at 07:55 PM
Field
Type
rra_id
consolidation_fun
ction_id
mediumint(8)
smallint(5)
Attributes
UNSIGNED
UNSIGNED
Null
No
No
Default
0
0
Extra
Links to
Comments
MIME
rra -> id
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 PM
Last update: Nov 06, 2003 at 07:05 PM
Field
user_id
name
value
Type
smallint(8)
varchar(50)
varchar(255)
Attributes
UNSIGNED
Null
No
No
No
Default
0
Extra
Links to
Comments
MIME
user_auth -> id
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 PM
Last update: May 26, 2003 at 07:55 PM
Field
Type
user_id
mediumint(8)
graph_tree_item_i mediumint(8)
d
status
tinyint(1)
Attributes
UNSIGNED
UNSIGNED
Null
Default
No
No
0
0
No
0
Extra
Links to
Comments
MIME
user_auth -> id
graph_tree_items -> id
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 AM
Last update: Jul 23, 2004 at 12:32 PM
Field
Type
Attributes
id
hash
xml_path
name
description
graph_template_i
d
data_input_id
mediumint(8)
varchar(32)
varchar(255)
varchar(100)
varchar(255)
mediumint(8)
UNSIGNED
mediumint(8)
Null
Default
Extra
Links to
UNSIGNED
No
No
No
No
Yes
No
NULL
0
graph_templates -> id
UNSIGNED
No
0
data_input -> id
Comments
MIME
auto_increment
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 AM
Last update: Nov 05, 2003 at 10:55 PM
Field
Type
id
hash
snmp_query_id
name
graph_template_i
d
mediumint(8)
varchar(32)
mediumint(8)
varchar(100)
mediumint(8)
Attributes
UNSIGNED
UNSIGNED
UNSIGNED
Null
No
No
No
No
No
Default
Extra
Links to
Comments
MIME
auto_increment
0
snmp_query -> id
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 PM
Last update: Nov 05, 2003 at 10:29 PM
Field
Type
snmp_query_grap
h_id
data_template_id
data_template_rrd
_id
snmp_field_name
mediumint(8)
UNSIGNED
No
0
snmp_query_graph -> id
mediumint(8)
mediumint(8)
UNSIGNED
UNSIGNED
No
No
0
0
data_template -> id
data_template_rrd -> id
No
0
varchar(50)
Attributes
Null
Default
Extra
Links to
Page number: 40/46
Comments
MIME
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 AM
Last update: Jul 22, 2004 at 12:42 AM
Field
Type
Attributes
id
hash
snmp_query_grap
h_id
data_template_id
sequence
field_name
text
mediumint(8)
varchar(32)
mediumint(8)
UNSIGNED
mediumint(8)
mediumint(8)
varchar(100)
varchar(255)
UNSIGNED
UNSIGNED
UNSIGNED
Null
No
No
No
No
No
No
No
Default
Extra
Links to
Comments
MIME
auto_increment
0
snmp_query_graph -> id
0
0
data_template -> id
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 AM
Last update: Feb 01, 2004 at 08:44 PM
Field
Type
Attributes
id
hash
snmp_query_grap
h_id
sequence
field_name
text
mediumint(8)
varchar(32)
mediumint(8)
UNSIGNED
mediumint(8)
varchar(100)
varchar(255)
UNSIGNED
UNSIGNED
Null
No
No
No
No
No
No
Default
Extra
Links to
Comments
MIME
auto_increment
0
snmp_query_graph -> id
0
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 PM
Last update: Nov 06, 2003 at 07:05 PM
Last check: Jul 21, 2003 at 05:20 PM
Field
Type
id
username
password
realm
full_name
must_change_pa
ssword
show_tree
show_list
show_preview
graph_settings
login_opts
policy_graphs
policy_trees
policy_hosts
policy_graph_tem
plates
mediumint(8)
varchar(50)
varchar(50)
mediumint(8)
varchar(100)
char(2)
char(2)
char(2)
char(2)
char(2)
tinyint(1)
tinyint(1)
tinyint(1)
tinyint(1)
tinyint(1)
Attributes
UNSIGNED
UNSIGNED
UNSIGNED
UNSIGNED
UNSIGNED
Null
Default
No
No
No
No
Yes
Yes
0
0
0
0
NULL
Yes
Yes
No
Yes
No
No
No
No
No
on
on
on
NULL
1
1
1
1
1
Extra
Links to
Comments
MIME
auto_increment
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 PM
Last update: Aug 17, 2003 at 03:14 PM
Field
user_id
item_id
type
Type
mediumint(8)
mediumint(8)
tinyint(2)
Attributes
UNSIGNED
UNSIGNED
UNSIGNED
Null
No
No
No
Default
0
0
0
Extra
Links to
Comments
MIME
user_auth -> id
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 PM
Last update: Nov 06, 2003 at 07:05 PM
Field
realm_id
user_id
Type
mediumint(8)
mediumint(8)
Attributes
UNSIGNED
UNSIGNED
Null
No
No
Default
0
0
Extra
Links to
Comments
MIME
user_auth -> id
Page number: 45/46
Sep 26, 2004 at 03:33 PM
Cacti Database Schema (0.8.6)
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_sv
id
hash
snmp_query_graph_id
data_template_id
sequence
field_name
text
snmp_query_graph_sv
colors
id
hex
host_template
id
hash
name
id
hash
snmp_query_graph_id
sequence
field_name
text
graph_local
id
graph_template_id
host_id
snmp_query_id
snmp_index
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_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
host_template_graph
host_template_id
graph_template_id
host_snmp_query
host_id
snmp_query_id
sort_field
title_format
reindex_method
snmp_query_graph_rrd
snmp_query_graph_id
data_template_id
data_template_rrd_id
snmp_field_name
graph_templates
id
hash
name
host
id
host_template_id
description
hostname
snmp_community
snmp_version
snmp_username
snmp_password
snmp_port
snmp_timeout
disabled
status
status_event_count
host_snmp_cache
status_fail_date
host_id
status_rec_date
snmp_query_id
status_last_error
field_name
min_time
field_value
max_time
snmp_index
cur_time
oid
avg_time
total_polls
failed_polls
availability
data_template
id
hash
name
data_local
id
data_template_id
host_id
snmp_query_id
snmp_index
data_template_data_rra
data_template_data_id
rra_id
settings_graphs
user_id
name
value
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_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
settings_tree
user_id
graph_tree_item_id
status
data_input
id
hash
name
input_string
type_id
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
graph_templates_item
graph_tree_items
id
graph_tree_id
local_graph_id
rra_id
title
host_id
order_key
host_grouping_type
sort_children_type
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
cdef
id
hash
name
cdef_items
id
hash
cdef_id
sequence
type
value
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
Page number: 46/46
poller_reindex
host_id
data_query_id
action
op
assert_value
arg1
data_input_fields
id
hash
data_input_id
name
data_name
input_output
update_rra
sequence
type_code
regexp_match
allow_nulls
rra
id
hash
name
x_files_factor
steps
rows
timespan
rra_cf
rra_id
consolidation_function_id
data_input_data
data_input_field_id
data_template_data_id
t_value
value
user_auth_realm
realm_id
user_id
user_auth_perms
user_id
item_id
type
poller_time
id
poller_id
start_time
end_time
poller
id
hostname
ip_address
last_update
poller_command
poller_id
time
action
command
poller_output
local_data_id
rrd_name
time
output
Sep 26, 2004 at 03:33 PM