I have a lot of historic information about ~10,000 hosts on our zabbix server and I am looking to keep this and just rename the hosts.
I have tried clicking the Update hosts button leaving create new off but this doesn't work.
It appears that I am going to end up having to create new hosts and lose the information that is stored in the old ones (not too big an issue this is still a test environment)
OR
This task will need to be undertaken in the MySQL database which is obviously going to require automation of it's own.
Given the choices I have seen above the best ways forwards that I can see are as follows:
1) Someone here tells me what I am doing wrong and I update the names the same way they got there in the first place (via import)
2) Delete the old hosts losing the historic information and recreate the devices under new names.
3) Write a new script that queries given IP addresses and renames them in the database.
Option 3 will no doubt leave our database crippled when I do something stupid. Any assistance will be greatly appreciated.
I have tried clicking the Update hosts button leaving create new off but this doesn't work.
It appears that I am going to end up having to create new hosts and lose the information that is stored in the old ones (not too big an issue this is still a test environment)
OR
This task will need to be undertaken in the MySQL database which is obviously going to require automation of it's own.
Given the choices I have seen above the best ways forwards that I can see are as follows:
1) Someone here tells me what I am doing wrong and I update the names the same way they got there in the first place (via import)
2) Delete the old hosts losing the historic information and recreate the devices under new names.
3) Write a new script that queries given IP addresses and renames them in the database.
Option 3 will no doubt leave our database crippled when I do something stupid. Any assistance will be greatly appreciated.
Comment