Bulk Host Cloning and Import stop working after going to 5.5

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
hqnguyen
Posts: 12
Joined: Fri Apr 22, 2016 9:38 am

Bulk Host Cloning and Import stop working after going to 5.5

Post by hqnguyen »

After upgrading to 5.5, Bulk Host Cloning and Import failed while trying to apply.
failed1.jpg
A quick look at the hosts and services entries show that new entries for host and services were added but they are completely empty so the application failed.
failed2.jpg
failed3.JPG
Do we have a workaround or a fix for this?

Thanks,
You do not have the required permissions to view the files attached to this post.
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: Bulk Host Cloning and Import stop working after going to

Post by rajasegar »

I have encountered this before in previous versions.
Most of them related to the import file missing items like host_template or service_template.

You should attach the file you are trying to import to identify the root cause.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Bulk Host Cloning and Import stop working after going to

Post by scottwilkerson »

Doing some investigation we did discover a change that could make this happen. This will be a 1 time fix.
Remove the blank host and services from your import

In the CCM -> Tools -> Config File Management
Click Delete Files
Write Configs
Verify Files

If all is Blue, Got to Apply Configuration

Now the import should work successfully.

There is a slight variant in how the configs are written in 5.5 and if you had txt configs from pre-5.5 (because they only normally upgrade on change), then it would fail.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
hqnguyen
Posts: 12
Joined: Fri Apr 22, 2016 9:38 am

Re: Bulk Host Cloning and Import stop working after going to

Post by hqnguyen »

That works! Thank you very much!
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Bulk Host Cloning and Import stop working after going to

Post by tmcdonald »

Great to hear! Did you have further (related) questions or are we good to lock this up?
Former Nagios employee
Locked