Page 1 of 1
Nagios XI Configuration replication
Posted: Tue Feb 09, 2016 11:28 am
by sureshbabuy
Hi
I am trying to replicate my configuration from Nagios XI to nagios xi 5 for a standby server
please let me know the procedure to export the config and import it to the new node
also I want the new server not to notify - In other words , notifications need to be disabled on the DR / Passive/Standby node
Re: Nagios XI Configuration replication
Posted: Tue Feb 09, 2016 12:16 pm
by lmiltchev
Normally, you would need to follow the steps, outlined in
this document. However, you may run into some issues, because the "new" Nagios XI installs don't use postgres db, while the "old" ones do.
Are the "old" and the "new" Nagios XI servers the same version, i.e. "Nagios XI 5.2.3"? Same architecture? How did you install the "old" Nagios XI instance? Was it a new, fullinstall or an upgrade from the older instance of XI?
If the "old" XI uses posgres, you will have issues restoring on the "new" server. This issue *should* be fixed in our new "restore_xi.sh" script (from the DEV revision of XI). If you don't want to wait until the next release of Nagios XI, I could send it to you (for testing) via PM. Let me know if you would like to try it.
As for the notifications, as soon as you restore your XI to the new server, disable notifications globally by setting:
in the "/usr/local/nagios/etc/nagios.cfg" file, and restarting nagios.
Re: Nagios XI Configuration replication
Posted: Tue Feb 09, 2016 2:11 pm
by sureshbabuy
Hi
The Older version is Nagios XI 2014R7. we are moving data into nagios xi 5.2.0.
Our initial installation was via fullinstall execution and not an upgrade
Both are of the same architecture
Please do send the latest release of restore_xi.sh
Re: Nagios XI Configuration replication
Posted: Tue Feb 09, 2016 3:01 pm
by lmiltchev
I sent you a PM.
Re: Nagios XI Configuration replication
Posted: Thu Feb 11, 2016 3:06 pm
by sureshbabuy
Hi
I assume restore_xi.sh does restore all the binaries and config ( /usr/local/nagios & /etc/httpd/conf.d/* & database ) files etc - If I am not wrong
What if I wanted to restore only the config files ( /usr/local/nagios/etc/*.cfg and /usr/local/nagios/etc/services/ ) and the database restore. I don't want to touch any of the /etc/httpd/conf/ files
OS Linux / 64-bit
Nagios Version - 5.2.3
Thanks
Suresh Babu Y
Re: Nagios XI Configuration replication
Posted: Thu Feb 11, 2016 3:49 pm
by hsmith
You would have to modify the script/make your own to change that.