Page 1 of 1
bulk load of 2500 hosts
Posted: Tue Oct 13, 2020 12:14 pm
by nmarbue79
Hello, I want to ask you a query, in my nagiosxi I want to include around 2500 hosts with its description, is there a way to do this load from a file so as not to register one by one and take a short time?, if so, such a large load based on data would run a problem that could corrupt a table, or it would be better by sections of 200 or 500 hosts, or which sections of host would be more correct so as not to overload the database.
thank you very much
Re: bulk load of 2500 hosts
Posted: Tue Oct 13, 2020 3:04 pm
by benjaminsmith
Hi,
That can be accomplished using the Bulk Cloning and Import wizard, simply upload a csv file of all the hosts to clone. Take a look at the guide below for more details.
How To Use The Bulk Host Cloning And Import Wizard
If you're going to import that many hosts, you may hit some of the PHP limits, I would recommend following the guide below to increase the timeout, execution time, and max input variables. Otherwise, divide the import into smaller sets.
Nagios XI - Optimizing The PHP Settings File
It's always good to take a backup before making any major changes.
Backing Up And Restoring Your Nagios XI System
Let us know if you have further questions.
Benjamin
Re: bulk load of 2500 hosts
Posted: Wed Nov 11, 2020 1:32 pm
by nmarbue79
Thank you very much I will try it and if I have any problems I will tell you, it would be with an exell with host name and IP
Re: bulk load of 2500 hosts
Posted: Thu Nov 12, 2020 11:18 am
by benjaminsmith
HI,
Thank you very much I will try it and if I have any problems I will tell you, it would be with an exell with host name and IP
Sounds good. We'll keep this open if you need any assistance.
Benjamin