Splitting very large XI server to another

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
bpennin
Posts: 85
Joined: Tue Feb 20, 2018 2:23 pm

Splitting very large XI server to another

Post by bpennin »

I am splitting the load of an existing Nagios XI server to new XI server. I need a good clean way to transfer Hosts by Host groups to the new server. I do not want to do a backup - restore - delete. I just want to pluck off some easy things and move them. I have seen an example API that pulls things by host group but does not seem to intuitive as how to add the output of the API command back in to the new server. Anyone have scripts/API/etc that has done this before?
User avatar
jbrunkow
Posts: 441
Joined: Fri Mar 13, 2020 10:45 am

Re: Splitting very large XI server to another

Post by jbrunkow »

Hi @bpennin,

If you do not want to do a backup and restore, the second best option may be to re-run the Wizards again on the new instance. Would that be a viable option, or is there just too many?

This may be something worth making a feature request for, so that we can include it in future versions of Nagios. Thanks for your input!
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
bpennin
Posts: 85
Joined: Tue Feb 20, 2018 2:23 pm

Re: Splitting very large XI server to another

Post by bpennin »

Thanks for the idea but we have too many servers to manually add them back in. It would be nice to offer an admin task that would be used to package up a host and all the service checks to a tar file for the purpose of moving or removing...
User avatar
jbrunkow
Posts: 441
Joined: Fri Mar 13, 2020 10:45 am

Re: Splitting very large XI server to another

Post by jbrunkow »

I can certainly request for that to be a feature in future releases. There may be other users who would also appreciate being able to migrate an entire host group in bulk.

You could also relegate some of the work to another server using Mod Gearman. Learn how to set up a Mod Gearman worker server by following the documentation linked below.
https://assets.nagios.com/downloads/nag ... ios_XI.pdf
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
bpennin
Posts: 85
Joined: Tue Feb 20, 2018 2:23 pm

Re: Splitting very large XI server to another

Post by bpennin »

I have already purchased another XI unlimited server and want to split my current server out. Is there any other options?
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Splitting very large XI server to another

Post by benjaminsmith »

Hi @bpennin,

I would recommend downloading the current configuration snapshot and then importing those files into the new XI instance. The process of importing configuration files is explained in the following guide.

Importing Config Files From Nagios Core Into Nagios XI

Once you get the configuration successfully imported, you can either delete or deactivate the hosts/services from the respective instances.

Let us know if you have any questions about the process.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked