Is possible to move host and service to another xi

This support forum board is for support questions relating to Nagios xi, our flagship commercial network monitoring solution.
dimsum
Posts: 153
Joined: Thu Aug 15, 2013 6:05 pm

Is possible to move host and service to another xi

Post by dimsum »

Hello,

I need to know is possible to migrate hosts and services data to the new xi by inserting them into the new xi. because I have existing data on it. not restore

Thank you.
kg2857
Posts: 363
Joined: Wed Apr 12, 2023 5:48 pm

Re: Is possible to move host and service to another xi

Post by kg2857 »

Yes. Copy your config files into the import dir and run an apply config. Note that things in the hosts/services need to exist before importing. For example, if a service is applied to a host, the host should be imported first. Similarly, if a host has contact attached, the contact should be imported first.
https://www.google.com/search?q=nagios+ ... s-wiz-serp
dimsum
Posts: 153
Joined: Thu Aug 15, 2013 6:05 pm

Re: Is possible to move host and service to another xi

Post by dimsum »

Hello,

Thanks for your mentions, how can I migrate old graphs and data?

Thank you.
kg2857
Posts: 363
Joined: Wed Apr 12, 2023 5:48 pm

Re: Is possible to move host and service to another xi

Post by kg2857 »

Locate the perfdata dir and scp the contents to the new host.