Page 1 of 1
NagiosXI migration
Posted: Wed Oct 18, 2017 6:42 am
by sib
Hi
I currently have NagiosXI 5.4.10 running on RHEL6 which I want to migrate to RHEL7. The problem is that the old installation was done through binary installation and it has 2 databases. Postgress and MySQL. While the new one is RPM installation and comes only with MySQL.
How can I backup and restore to the new installation with only 1 database?
best
Chris
Re: NagiosXI migration
Posted: Wed Oct 18, 2017 11:50 am
by dwasswa
Hi
@sib,
1. Before doing any migration,you need to backup your XI.The doc below will give you guidance on how to do that.
Backing-Up-And-Restoring-Nag XI
2. To want to backup and restore your databases follow the guide below:
nagios-xi-manual-backup-and-restore-databases
3.After you restore on the new system your can convert your postgress database to MySQL so you have one database. To do this please follow the guide below:
converting-postgresql-to-mysql-for-nagios-xi
Please let me know if you have any questions.
Re: NagiosXI migration
Posted: Tue Oct 24, 2017 9:27 am
by sib
Hi
Thanks that actually worked well.
Another question. When importing the backup file on the new system. Is there a way I can prevent nagios to do any sort of notification? I want to prevent the system of sending alerts everywhere because the checks will not work by the time I import it.
best
Chris
Re: NagiosXI migration
Posted: Tue Oct 24, 2017 12:21 pm
by dwasswa
Hi
@ sib,
Am glad it all worked out for you.
Now,about turning off notifications be follow the steps below:
STEP 1
Go to the home page of your XI and click on nagiosadmin in the upper right hand corner of the screen.
admin1.PNG
STEP 2
Go to Notification options on the left corner and unclick all notification options in all tabs that is email,text etc.
ADMIN2.PNG
Please let me know if works out for and if you have any other questions.
Re: NagiosXI migration
Posted: Wed Oct 25, 2017 12:56 am
by sib
Hi
I thought this setting gets overwritten when I restore the backup file. Also I need to make sure that when imported no one gets any notification. Not just nagiosadmin.
best
Chris
Re: NagiosXI migration
Posted: Wed Oct 25, 2017 9:24 am
by kyang
You could do a scheduled downtime for all of your hosts/services or hostgroups/servicegroups.
Scheduling downtime is an effective way to prevent unnecessary or unwanted notifications from being received during a period of
expected service interruption
https://assets.nagios.com/downloads/nag ... s%20XI.pdf
Re: NagiosXI migration
Posted: Mon Oct 30, 2017 9:41 am
by sib
This case can be closed. All working for now.
best
Chris
Re: NagiosXI migration
Posted: Mon Oct 30, 2017 9:42 am
by kyang
Sounds great! I'll be closing this topic as resolved!
If you have any more questions, feel free to create another thread!
Thank you for using the Nagios Support Forum!