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.
Bulk Host Cloning doesn't work
Re: Bulk Host Cloning doesn't work
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
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.
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
Can you show a screenshot of the page where you are selecting the services in the wizard?
Re: Bulk Host Cloning doesn't work
He,
The page asked (if I understood correctly) is in attachment.
Regards
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
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.
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
Hi,
Thanks a lot, it works after the proposed manipulation.
Regards
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
Excellentchrtap wrote:Hi,
Thanks a lot, it works after the proposed manipulation.
Regards
Closing