Page 1 of 1

Switching from Nagios XI to Nagios Core

Posted: Tue Mar 12, 2019 2:01 am
by Jacobcullen
Hello,

I have installed and begun monitoring windows hosts on nagios core, but I had around 200 websites being monitored on nagiosxi is there any way to import those hosts from nagiosxi to nagios core? All of the documentation I have found is about importing from core to xi.

Right now my company would rather put the man hours into switching it over rather than pay for nagiosxi but I've run into a roadblock without creating all of the host documents by hand in nagios core.

Any information you can provide would be helpful.

Re: Switching from Nagios XI to Nagios Core

Posted: Tue Mar 12, 2019 8:48 am
by mcapra
You should be able to just copy the Nagios XI configuration files to your Nagios Core machine. You'd need to make sure your main nagios.cfg file has the correct paths to load those configurations, though.

Plugins and dependencies aside (because that's a whole other can of worms), you should be able to copy the main nagios.cfg file as well as all existing Nagios XI directories/files referenced by the cfg_file and cfg_dir directives right onto your Nagios Core installation. That should get you all your configuration objects loaded onto the Nagios Core machine.

Re: Switching from Nagios XI to Nagios Core

Posted: Tue Mar 12, 2019 11:41 am
by benjaminsmith
Thanks @mcapra. As Matt suggested, you'll need to go through your check commands, contacts, time periods..etc and make sure they are valid entries.

You can verify configuration by running the following command:

Code: Select all

/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
Nagios Object Definitions
https://assets.nagios.com/downloads/nag ... tions.html

Let us know if you have any other questions.