If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to REGISTER before you can post. To start viewing messages, select the forum that you want to visit from the selection below.
Unlink one template, but just unlink (no unlink and clear!) and then link your host to another template. Existing items will be reattached to the new template automatically.
Alexei Vladishev
Creator of Zabbix, Product manager
New York | Tokyo | Riga My Twitter
So in my case I have a "catch em all template" that i want to split in 2,
I have to
* unlink the template without clearing data
* refactor the huge template in two templates
* re link , and it should work, right ?
I dont have a testbed as i'm already working on a prototype... beter be sure :-)
for reference, what I did was
* copy the items from the big template to the new template
* remove the items from the template <= bad move
* link to the new template <= nodata ... duh...
anyway I only lost last day of data, I exercised my sql-fu a bit to partialy restore the data from yesterday's backup...
It should work. Note that these operations may take a while depending on the number of hosts linked to your templates. Please consider having a test environment some day.
Alexei Vladishev
Creator of Zabbix, Product manager
New York | Tokyo | Riga My Twitter
Comment