Bulk Host Cloning doesn't work

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
chrtap
Posts: 35
Joined: Wed Dec 28, 2011 6:31 am

Bulk Host Cloning doesn't work

Post 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.
chrtap
Posts: 35
Joined: Wed Dec 28, 2011 6:31 am

Re: Bulk Host Cloning doesn't work

Post 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. ;)
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Bulk Host Cloning doesn't work

Post by scottwilkerson »

Restore instructions can be found here

https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
chrtap
Posts: 35
Joined: Wed Dec 28, 2011 6:31 am

Re: Bulk Host Cloning doesn't work

Post 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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Bulk Host Cloning doesn't work

Post by scottwilkerson »

Can you show a screenshot of the page where you are selecting the services in the wizard?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
chrtap
Posts: 35
Joined: Wed Dec 28, 2011 6:31 am

Re: Bulk Host Cloning doesn't work

Post by chrtap »

He,
The page asked (if I understood correctly) is in attachment.

Regards
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Bulk Host Cloning doesn't work

Post 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.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
chrtap
Posts: 35
Joined: Wed Dec 28, 2011 6:31 am

Re: Bulk Host Cloning doesn't work

Post by chrtap »

Hi,

Thanks a lot, it works after the proposed manipulation.

Regards
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Bulk Host Cloning doesn't work

Post by scottwilkerson »

chrtap wrote:Hi,

Thanks a lot, it works after the proposed manipulation.

Regards
Excellent

Closing
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked