I have several Redhat Linux servers each using Nagios XI 5.2.3 or 5.2.9.
These Redhat servers are going to be reimaged and once they are online again, I plan on installing Nagios XI 5.4.4 and want to be able to import what I had from the older Nagios XI versions.
I know within the Nagios XI GUI, there is a backup/restore utility, but based on my reading that tool only works when you are dealing with the same Nagios XI version.
What I want to be able to do is:
1) Backup all hosts, hostgroups, contacts, contactgroups, service checks, etc. and then import them again once Nagios XI 5.4.4 is running
2) I would also like to be able to import the GUI login accounts and passwords so that I don't have to manually input them, but I don't know if this is possible
I assume the best tool for doing what I want to do is the Export/Import tool as is explained on https://assets.nagios.com/downloads/nag ... 1495730479
Please advise
Importing & Exporting Nagios Config
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Importing & Exporting Nagios Config
There's no tool that will do everything you want. You can import the configs or you can follow https://assets.nagios.com/downloads/nag ... ios-XI.pdf. My guess is you read that and weren't happy with what it said about version #s.
Re: Importing & Exporting Nagios Config
As I mentioned above, the backup/restore only works if for example you have Nagios XI 5.2.3 and you rebuilt your server and then were installing Nagios XI 5.2.3 back on to the server.
This is mentioned in the pdf you provided as quoted below.
This is mentioned in the pdf you provided as quoted below.
NOTE 1: The version of the fresh install of Nagios XI that you are restoring to needs to match the version of Nagios XI that the backup
was taken from. For example:
Backup was created on Nagios XI 5.2.2
The server you are restoring to must have Nagios XI 5.2.2 installed on it
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Importing & Exporting Nagios Config
Did you have any other questions? You seem to have a pretty good understanding of your options.
Re: Importing & Exporting Nagios Config
Yes, actually. On the document mentioned in the url on my original post above, I noticed the following:
This seems to me that the procedure is just for migrating from the old, non-licensed Nagios Core product to Nagios XI. I assume the procedure can also be used to move from an older Nagios XI version to a new Nagios XI version ?This document describes how to use the Nagios® XI™ configuration file import prep tool to prepare an installation for migration from
Nagios Core to Nagios XI.
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Importing & Exporting Nagios Config
ks6764 wrote: This seems to me that the procedure is just for migrating from the old, non-licensed Nagios Core product to Nagios XI.
This doesn't really apply to OP, but just for clarity for anyone reading this in the future: Nagios Core is not necessarily non-licensed: https://www.nagios.com/services/nagios- ... ort-plans/
That's correct. Ultimately, XI uses Core as the backend, so the config files are "the same", with differences given to version and such.ks6764 wrote:I assume the procedure can also be used to move from an older Nagios XI version to a new Nagios XI version ?
Re: Importing & Exporting Nagios Config
Thanks Doc, guess that answers my questions