Page 1 of 1
Unable to import data from Nagios-VM on Cent6 to Cent7 VM
Posted: Mon Oct 15, 2018 12:37 pm
by ccasho
Using the migration tool, trying to export data from the /static folders into a transportable file. The migration tool seems to be striping out all the data from the files as when they are imported into the VM on cent7, none of the services are there.
Is there a specific way to export data from the /static folder?
Re: Unable to import data from Nagios-VM on Cent6 to Cent7 V
Posted: Mon Oct 15, 2018 12:58 pm
by mcapra
Does copying+pasting the files from one static/ path to the other work? If not, what sort of error messages are your seeing?
Per
the official documentation regarding static configurations:
Configuration files in this directory are processed by the monitoring engine (Nagios Core), but are not
imported into the Nagios XI web configuration GUI Core Configuration Manager (CCM).
Now if you wanted to convert those static files into objects that live in the Core Config Manager, that's a totally different set of instructions:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Which requires you to put those files in specific places, run a "preparation" script on them, and import the objects in a specific order.
Re: Unable to import data from Nagios-VM on Cent6 to Cent7 V
Posted: Mon Oct 15, 2018 1:11 pm
by lmiltchev
@ccasho, make sure you don't have the same objects defined in both places - in the CCM and in the static directory. You didn't have to prep/import configs if you wanted to keep them in the static. Simply copy/paste from one static to the other would do, as suggested by @mcapra.