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
Duplicate entries after import of configs from 2.7 to Xi
-
tonyyarusso
- Posts: 1128
- Joined: Wed Mar 03, 2010 12:38 pm
- Location: St. Paul, MN, USA
- Contact:
Re: Duplicate entries after import of configs from 2.7 to Xi
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.