Page 1 of 1

Exporting XI Config and Import with IP changes

Posted: Mon Nov 16, 2015 12:04 pm
by chipngc_nagios
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

Re: Exporting XI Config and Import with IP changes

Posted: Mon Nov 16, 2015 12:34 pm
by ssax
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.