Migrate Configs / Data from one Nagios XI server to another
Migrate Configs / Data from one Nagios XI server to another
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.
Re: Migrate Configs / Data from one Nagios XI server to anot
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.
Support will ask if the versions are identical on the systems I imagine.
Re: Migrate Configs / Data from one Nagios XI server to anot
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.
can be used to archive the files and
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.
Code: Select all
tar -cvf perfdata.tar */*.rrd */*.xml
Code: Select all
tar -kxvf perfdata.tar
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.