I created over 100 hosts and services to be monitored and had groups defined.
What would be the best way to move all my configurations over to an other Nagios XI server?
Should I do backup and restore? Or is there to export and import the config data?
I need to do this because I want to decommission the current XI server(temp server for pilot) and move all the configurations over to a new Nagios XI server(to be prod).
thanks,
ik
Transferring config database to another XI server?
-
bolson
Re: Transferring config database to another XI server?
The recommended method would be to perform a full backup saved to a network location, commission your new host, install Nagios XI and perform a restore.
Code: Select all
/usr/local/nagiosxi/scripts/backup_xi.sh
/usr/local/nagiosxi/scripts/restore_xi.shRe: Transferring config database to another XI server?
I used the backup script and it looks like the Nagios XI that I'm running in Oracle Virtual Box crashed due to RAM shortage.
The VM went into saved state and refuses to start so looks like it is a write off.
Therefore, I started from scratch by importing the Nagios XI ova image , made some configurations and used the backup from the web admin console and it worked okay.
However, I don't see any Restore menu option in the admin page so is there a recovery or restore option using the backed up files in the Admin page?
thanks,
ik.
The VM went into saved state and refuses to start so looks like it is a write off.
Therefore, I started from scratch by importing the Nagios XI ova image , made some configurations and used the backup from the web admin console and it worked okay.
However, I don't see any Restore menu option in the admin page so is there a recovery or restore option using the backed up files in the Admin page?
thanks,
ik.
-
dwasswa
Re: Transferring config database to another XI server?
Hi @ ikekim,
Yes, you can do that on the admin page.
Go to page 4 of 10 of the guide attached below. It will give you proper instructions.
Creating A Backup In The Web Interface
Please let us know if you have any questions.
Yes, you can do that on the admin page.
Go to page 4 of 10 of the guide attached below. It will give you proper instructions.
Creating A Backup In The Web Interface
Please let us know if you have any questions.
Re: Transferring config database to another XI server?
Thanks dwasswa.
The backup and Restore worked.
I've been using Oracle VirtualBox and importing the OVA image and occasionally ran into VM crashing and not being able to recover which cost me many hours so I learned my lesson here to back things up.
ik
The backup and Restore worked.
I've been using Oracle VirtualBox and importing the OVA image and occasionally ran into VM crashing and not being able to recover which cost me many hours so I learned my lesson here to back things up.
ik
-
dwasswa
Re: Transferring config database to another XI server?
Hi @ikekim,
Am glad that worked for you and also that you learned something in the process.
I am now going to close this topic as resolved.
If you have any questions ,please open up a new thread and we will be happy to help.
Thank you for using the Nagios Support Forum.
Am glad that worked for you and also that you learned something in the process.
I am now going to close this topic as resolved.
If you have any questions ,please open up a new thread and we will be happy to help.
Thank you for using the Nagios Support Forum.