Nagios XI Migration for New Data Center
Posted: Tue Feb 23, 2021 10:13 am
Hello!
I'm seeking some feedback and to see if anyone has gone about or have tackled the following scenario listed below. I'm hoping that someone has or would know the best way (and least amount of changes/outage) for this. See background below.
Background:
I have recently migrated to Nagios XI 5.7.5 and have added all new windows/linux/network & printer devices/ESXi hosts and service checks. We are around 500+ Host objects with around 3.7K service checks. We are relocating to a new data center and the requirements are that host names and IPs will need to be changed as well as a new instance of XI will be built. We have one instance per data center. With this being said, it seems there could be a few ways to handle this. The source XI PRD instance handles all notifications and alerting so this will be standing throughout the migration of all host objects.
1) Does a new XI instance makes sense and will it require a method to have brand new hosts and all its service checks to be imported although almost all of the hosts and services checks was created in CCM via configuration wizards?
2) Should I just migrate (Its a VM - vMotion) it over to the new DC and then use some defined process to rename the host objects so that it maintains all host assigned service checks? Is there a good method on doing a mass host object renaming? Once migrated, can the instance be renamed host name wise and re-ip'd? Although, this still has host object level renames to occur.
3) Use the native CCM export and edit manually the host.cfg and services.cfg and import them into the new DC XI instance? Does that keep the relation ship when importing?
All feedback/help/input is appreciated on this. Thanks!
I'm seeking some feedback and to see if anyone has gone about or have tackled the following scenario listed below. I'm hoping that someone has or would know the best way (and least amount of changes/outage) for this. See background below.
Background:
I have recently migrated to Nagios XI 5.7.5 and have added all new windows/linux/network & printer devices/ESXi hosts and service checks. We are around 500+ Host objects with around 3.7K service checks. We are relocating to a new data center and the requirements are that host names and IPs will need to be changed as well as a new instance of XI will be built. We have one instance per data center. With this being said, it seems there could be a few ways to handle this. The source XI PRD instance handles all notifications and alerting so this will be standing throughout the migration of all host objects.
1) Does a new XI instance makes sense and will it require a method to have brand new hosts and all its service checks to be imported although almost all of the hosts and services checks was created in CCM via configuration wizards?
2) Should I just migrate (Its a VM - vMotion) it over to the new DC and then use some defined process to rename the host objects so that it maintains all host assigned service checks? Is there a good method on doing a mass host object renaming? Once migrated, can the instance be renamed host name wise and re-ip'd? Although, this still has host object level renames to occur.
3) Use the native CCM export and edit manually the host.cfg and services.cfg and import them into the new DC XI instance? Does that keep the relation ship when importing?
All feedback/help/input is appreciated on this. Thanks!