Migrate Configs / Data from one Nagios XI server to another

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
bostidr
Posts: 6
Joined: Mon Jan 13, 2014 4:17 pm

Migrate Configs / Data from one Nagios XI server to another

Post by bostidr »

I need to merge two Nagios XI servers into one. So I have alpha and beta and the data on alpha needs to stay in tact while I add the data from beta --> alpha and keep the historical data. I see lots of articles about backing up and restoring or going from core to xi, but I cannot seem to find any information on exporting data from one xi server to import and keep the existing data on another. I would rather not just import the configs and lose the data from the "being removed" server.
gormank
Posts: 1114
Joined: Tue Dec 02, 2014 12:00 pm

Re: Migrate Configs / Data from one Nagios XI server to anot

Post by gormank »

Which data do you not want to lose? As long as the 2 NXI hosts are monitoring different hosts, you might be able to migrate the perfdata (.rrd and .xml) files.
Support will ask if the versions are identical on the systems I imagine.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Migrate Configs / Data from one Nagios XI server to anot

Post by cdienger »

https://support.nagios.com/kb/article.php?id=166 may be able to give you some help as well if you need to convert between architecture. Be careful with the commands as they will remove old data if followed exactly.

Code: Select all

tar -cvf perfdata.tar */*.rrd */*.xml
can be used to archive the files and

Code: Select all

tar -kxvf perfdata.tar
can be used to extract them from the archive. The -k option will prevent overwriting any files that may already exist on the new machine.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked