Database Templates Tables

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Post Reply
leemazong
Posts: 3
Joined: Mon Oct 08, 2012 8:26 am

Database Templates Tables

Post by leemazong »

Hello,

I have different copies of cacti and I would like to synchronise the configuration templates from my main copy (named "cacti_template") to my mirror copies.
For that I have to identify the database tables from my cacti_template and replicate those to the other cacti's database.

(all the mirror copies will have their own devices and graphs...)

Are you aware of the tables as far as the templates are concerned and all the necessary file & directory locations to synchronise.

Thanks for your response.
leemazong
Posts: 3
Joined: Mon Oct 08, 2012 8:26 am

Re: Database Templates Tables

Post by leemazong »

I worked on it and here is my result. If you find missing tables or there are errors, thank you for the report...

rsync these directories :
<cacti_path>/resource/

MySQL Replication :
snmp_query
cdef
cdef_items
data_template
graph_templates
graph_template_input_defs
graph_template_input
snmp_query_graph
snmp_query_graph_rrd_sv
snmp_query_graph_rrd
host_template
host_template_graph
host_template_snmp_query
snmp_query_graph_sv
graph_templates_gprint
colors

--Optionnal (for my plugin)
plugin_autom8_graph_rule_items
plugin_autom8_graph_rules
plugin_autom8_match_rule_items
plugin_autom8_tree_rule_items
plugin_autom8_tree_rules
Post Reply

Who is online

Users browsing this forum: No registered users and 21 guests