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?
Unable to import data from Nagios-VM on Cent6 to Cent7 VM
Re: Unable to import data from Nagios-VM on Cent6 to Cent7 V
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:
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.
Per the official documentation regarding static configurations:
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: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).
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.
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: Unable to import data from Nagios-VM on Cent6 to Cent7 V
@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.
Be sure to check out our Knowledgebase for helpful articles and solutions!