Page 1 of 1
NagiosXI Backup, restore and replication
Posted: Fri Feb 12, 2021 12:41 pm
by Bala.Mutyam
Hi,
Can you please answer below questions?
1) How to migrate NagiosXI to a new server?
2) Is possible to setup replication between prod NagiosXI server and DRS NagiosXI server? So if make any config changes in CCM on Prod NagiosXI and those changes will replicated to DRS without manual intervention?
3) How to configure DRS system with all configs in CCM on Prod NagiosXI? by taking backup, etc?
Thanks
Re: NagiosXI Backup, restore and replication
Posted: Mon Feb 15, 2021 11:45 am
by benjaminsmith
Hi
@Bala.Mutyam,
Here are the answers to your questions, just let me know if you need clarification on anything.
1. The migration process is relatively easy to perform, just remember to migrate between the same versions of Nagios XI. Step-by-step instructions are provided in the following guide:
Backing Up And Restoring Your Nagios XI System
2. While there isn't a built-in HA feature in Nagios XI, there are few ways to achieve this either using VMware or the Linbit solution. Depending on your needs, a simple scheduled back and restore to a DR server, may be sufficient.
How To Achieve High Availability
3. This is essentially the same process as the backup and restore procedure. The scripts will migrate everything over (i.e. configs, databases, performance data..etc.).
Also, you can use the free Nagios XI license to monitor your monitoring server.
Monitoring A Nagios XI Server
Best Regards,
Benjamin
Re: NagiosXI Backup, restore and replication
Posted: Wed Feb 17, 2021 8:25 am
by Bala.Mutyam
Hi @ benjaminsmith:
Thanks for the info.
So, if i make some config changes on Prod system, to reflect/propagate the changes on DRS environment and i will have to follow backup and restore process? It's not like MySQL master-slave replication?
Re: NagiosXI Backup, restore and replication
Posted: Wed Feb 17, 2021 2:45 pm
by benjaminsmith
Hi,
That's correct, Nagios XI does not currently have a supported database replication setup/feature. Having database replication wouldn't completely achieve HA since there's also performance data or other configurations not stored in the database.
--Benjaminin
Re: NagiosXI Backup, restore and replication
Posted: Thu Feb 18, 2021 9:39 am
by Bala.Mutyam
Hi,
Thanks for the update.
sorry, 3 more new questions.
1) Is it possible to run a service check on all the hosts and get a output as a report? also possible to run ad-hoc commands on the hosts like Ansible?
2) Is possible to configure info service checks like no notification and not to appear on dashboards even it breaches thresholds?
3) Is possible to send to custom messages like after even handler trigger (saying so and so service has been restarted) or with service or host checks?
Thanks
Re: NagiosXI Backup, restore and replication
Posted: Thu Feb 18, 2021 5:46 pm
by benjaminsmith
Hi,
No problem. The answers to your questions.
1) Is it possible to run a service check on all the hosts and get a output as a report? also possible to run ad-hoc commands on the hosts like Ansible?
I would take a look a the State History report. That will provide any service or host during a given time period. Alternatively, you can use the REST API to query host/service status and state history. Also, any commands you run directly will not show up in the nagios.log, those have to called by the nagios daemon.
2) Is possible to configure info service checks like no notification and not to appear on dashboards even it breaches thresholds?
You can disable notifications directly in the object settings, put the service in scheduled downtime or acknowledge the issue. The Open Host Problems and Open Service Problems pages will reflect those hosts or services that are in downtime or acknowledged.
3) Is possible to send to custom messages like after even handler trigger (saying so and so service has been restarted) or with service or host checks?
The acknowledgment feature will allow you to leave a comment. You can even do this by clicking the Rapid Response URL in the email notification.
It's also possible to add comments, acknowledgments, or customer notifications using the Nagios core commands:
https://assets.nagios.com/downloads/nag ... and_id=135
You can even run these using the REST API, see the POST system/corecommand endpoint.
Hope that helps answer your questions.
Benjamin