Page 1 of 1

Bulk Host Cloning and import wizard not working

Posted: Sun Sep 13, 2020 11:22 pm
by mejokj
Hello,

The Bulk Host Cloning and import wizard is not working. We have cloned on host by adding a CSV below format

ip, Name


But It is not working, after apply its shows the error that Max check attempts is invalid for the new host. And on checking the new host config the Max check attempts is blank and it will not copy the parent host config.

Re: Bulk Host Cloning and import wizard not working

Posted: Mon Sep 14, 2020 3:25 pm
by cdienger
What version of the wizard and XI is this?

Is the parent host using a template? Max check attempts is a required setting so I would have to think it is set somewhere if not directly on the hosts.

As a test, try setting the parent host's max check attempts, saving and applying the changes, and then run the bulk import wizard again.

Re: Bulk Host Cloning and import wizard not working

Posted: Mon Sep 14, 2020 11:44 pm
by mejokj
Hello,

I am using latest version of the nagiosxi 5.7.3 and the parent host has this Max check attempts setting default 5 min and it is not template its generic host.

Re: Bulk Host Cloning and import wizard not working

Posted: Tue Sep 15, 2020 2:33 pm
by cdienger
Please PM me the following:

I'd like to get a profile from the XI server which can be generated under Admin > System Config > System Profile > Download Profile, or from the command line with:

Code: Select all

/usr/local/nagiosxi/scripts/components/getprofile.sh 60048
The profile is then saved to:

Code: Select all

/usr/local/nagiosxi/var/components/profile.zip
I'd also like to get a copy of a the database that has the current configuration. If the default database is being used then this can be done from the command line with:

Code: Select all

mysqldump -uroot -pnagiosxi nagiosql > nagiosql.sql