Page 1 of 1

Duplicate entries after import of configs from 2.7 to Xi

Posted: Wed Oct 27, 2010 1:46 am
by rgardam
Hi,

I am responsible for the upgrading of Nagios2.7 to NagiosXi and I have been scratching my head as to why I have duplicate entries in only my host and services after I do an import of my config from my nagios 2.7 instance.

Things you should know.
- NagiosXi is a Fresh install with only the localhost config still in the DB.
- I am following the guide and using the XIconfigpreptool to convert my old config.
- I am following the import configuration guide on how to import and write data files to a T.
- Once I import them I can successfully check the config without any errors.
- The duplicate hosts and services show up as inactive and Sync Missed but without any relevant host information.

I can delete the duplicates without any issue, but it would be nice if I didn't have to do this as I feel it's a bit clumsy.

Any help would be greatly appreciated.
Thanks,

Rob

Re: Duplicate entries after import of configs from 2.7 to Xi

Posted: Wed Oct 27, 2010 9:50 am
by tonyyarusso
Nagios XI uses Nagios Core's 3.x branch under the hood, so while I don't know how smart the import utilities are it's possible that they can't handle the 2.x-3.x conversion. If that is in fact the case, you would need to make any ->3.x changes necessary to the configs first and then import them to XI.