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
Nagios XI Configuration replication
Re: Nagios XI Configuration replication
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.
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:
Code: Select all
enable_notifications=0Code: Select all
service nagios restartBe sure to check out our Knowledgebase for helpful articles and solutions!
-
sureshbabuy
- Posts: 23
- Joined: Wed Aug 26, 2015 11:31 am
Re: Nagios XI Configuration replication
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
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
I sent you a PM.
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
sureshbabuy
- Posts: 23
- Joined: Wed Aug 26, 2015 11:31 am
Re: Nagios XI Configuration replication
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
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
You would have to modify the script/make your own to change that.
Former Nagios Employee.
me.
me.