Page 1 of 1
Bulk Host Cloning doesn't work
Posted: Fri Jul 27, 2018 4:31 am
by chrtap
Hi,
With the new versions (5.5.1 and 5.5.2) when using "Configuration Wizards" "Bulk Host Cloning and Import" all directives of the new host are empty and it's not possible to apply configuration "Error: Could not register host (config file '/usr/local/nagios/etc/hosts/xxx.cfg', starting on line 16)"
Do I have to restore to version 5.4.13 ?
Regards.
Re: Bulk Host Cloning doesn't work
Posted: Fri Jul 27, 2018 5:54 am
by chrtap
Question if I need to restore to old version, not because I would be angry, but because I have to update NRPE windows client to NSCA++ with NRPE listening module (alot of errors with our NRPE windows clients), and if I have to rollback, I will not stress about this correction.

Re: Bulk Host Cloning doesn't work
Posted: Fri Jul 27, 2018 9:33 am
by scottwilkerson
Re: Bulk Host Cloning doesn't work
Posted: Mon Jul 30, 2018 6:56 am
by chrtap
Hi,
I thing you didn't understand me (it's probably my fault;-)).
The problem is that with the news versions (5.5.1 and 5.5.2), "Configuration Wizards" "Bulk Host Cloning and Import" doesn't works find, every params are empty in the host created (check interval, retry interval, max check attempts, and so one) .
Restore would be as a last solution, to avoid if possible.
Regards.
Re: Bulk Host Cloning doesn't work
Posted: Mon Jul 30, 2018 7:23 am
by scottwilkerson
Can you show a screenshot of the page where you are selecting the services in the wizard?
Re: Bulk Host Cloning doesn't work
Posted: Tue Jul 31, 2018 12:28 am
by chrtap
He,
The page asked (if I understood correctly) is in attachment.
Regards
Re: Bulk Host Cloning doesn't work
Posted: Tue Jul 31, 2018 7:23 am
by scottwilkerson
After consulting with the developers about the cause of this, we did come up with a cause and that is the file format changes slightly in the newer versions and need to be re-written to be parsed correctly.
Lets to the following. Remove the erroneous configs for the host/services, in the CCM.
Then
CCM -> Tools -> Config File Management
Delete Files
Write Configs
Verify Files
Restart Nagios Core
This will reset the configs
Now, the Bulk Host Import Wizard should work correctly.
Re: Bulk Host Cloning doesn't work
Posted: Thu Aug 02, 2018 8:17 am
by chrtap
Hi,
Thanks a lot, it works after the proposed manipulation.
Regards
Re: Bulk Host Cloning doesn't work
Posted: Thu Aug 02, 2018 8:27 am
by scottwilkerson
chrtap wrote:Hi,
Thanks a lot, it works after the proposed manipulation.
Regards
Excellent
Closing