Dear Nagios Support,
We need your technical support to provide us with the best steps to create Synchronized DR for Nagios XI production server.
This Synchronized DR must keep synchronized with the production server for the following at least:
1- Hosts, services , commands, plugins and other configurations.
2- Hosts and services status history.
We also must avoid notification duplication, so only one server sends the notifications.
We need the best practices to create this synchronization mechanism without solutions from other vendors.
Thank you in advance.
Gergie
Synchronized DR
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Synchronized DR
Hi Gergie,
All that information is contained in the backup archive. You can set up the scheduled backups to send to another server and then restore this on some interval using a cron job. While this is not true high availability, for many users this is sufficient.
Backing Up And Restoring Your Nagios XI System
You can avoid notification duplication by disabling notification globally using an API call or sending a Nagios Core external command, for example:
https://assets.nagios.com/downloads/nag ... mand_id=16
Let us know if you have more questions.
Benjamin
Reference:
Nagios XI How To Achieve High Availability
All that information is contained in the backup archive. You can set up the scheduled backups to send to another server and then restore this on some interval using a cron job. While this is not true high availability, for many users this is sufficient.
Backing Up And Restoring Your Nagios XI System
You can avoid notification duplication by disabling notification globally using an API call or sending a Nagios Core external command, for example:
https://assets.nagios.com/downloads/nag ... mand_id=16
Let us know if you have more questions.
Benjamin
Reference:
Nagios XI How To Achieve High Availability
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
gergie.barbara
- Posts: 2
- Joined: Wed Dec 02, 2020 5:17 am
Re: Synchronized DR
Dear Benjamin,
If I created a cronjob for restoring the backup from the production server into the DR server: Will the activated license and IP address of the DR be changed to be the same license and configured IP address inside Nagios XI after restoring the backup?
Can I have a DR without human involvement?
I am asking to know if I can have a fully synchronized DR for Nagios XI without human involvement and without notification duplication?
BR,
Gergie
If I created a cronjob for restoring the backup from the production server into the DR server: Will the activated license and IP address of the DR be changed to be the same license and configured IP address inside Nagios XI after restoring the backup?
Can I have a DR without human involvement?
I am asking to know if I can have a fully synchronized DR for Nagios XI without human involvement and without notification duplication?
BR,
Gergie
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Synchronized DR
Hi,
If you need to change the URL settings in Nagios XI, that is stored in the database but you can run a query from the CLI to update it.
For example:
I believe the license information should carry over as long as you have not surpassed your max activations (3).
While this is not a true HA system, there may be some human intervention involved. It's possible to monitor the production XI server and write some script to do all this when that system goes down, but that's not built into the current solution.
Let me know if you have any other questions.
Benjamin
If you need to change the URL settings in Nagios XI, that is stored in the database but you can run a query from the CLI to update it.
For example:
Code: Select all
echo "UPDATE xi_options SET value='https://192.168.23.101/nagiosxi/' WHERE option_id=1;" | mysql -uroot -pnagiosxi nagiosxi
While this is not a true HA system, there may be some human intervention involved. It's possible to monitor the production XI server and write some script to do all this when that system goes down, but that's not built into the current solution.
Let me know if you have any other questions.
Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!