We have a situation where we have two identical systems one in development the other in production. We have created a XI host and service configuration on the development system. We would like to export that and import that into the production system, however the IP addresses of the hosts are different on the production system. Would there be an easy way to accomplish this task thru the XI tools to import but with different IPs for the hosts and services? Thanks.
Chip
Exporting XI Config and Import with IP changes
-
chipngc_nagios
- Posts: 14
- Joined: Fri Mar 20, 2015 2:46 pm
Re: Exporting XI Config and Import with IP changes
You should just be able to grab all the host config files from /usr/local/nagios/etc/hosts, change the IPs, and put them in /usr/local/nagios/etc/import and use the import tool (Configure > Core Config Manager > Tools > Import Config Files) making sure that the overwrite option is selected.