Sync between multiple active Nagios instances

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
hbouma
Posts: 483
Joined: Tue Feb 27, 2018 9:31 am

Sync between multiple active Nagios instances

Post by hbouma »

We have a rather large environment requiring multiple Nagios instances to monitor different parts of the environments. Each instance will have its own hosts and services. Is there some way to automatically sync the users, contacts, contact groups and commands between multiple servers?

We would want to be able to have a master Nagios server that has all contacts, contact groups, commands and users entered. This would then propagate out to the other environments (Non-Production, DR, etc) without manual intervention.

We are running Nagios 5.5.1 on Red Hat 7 64bit VM's.
hbouma
Posts: 483
Joined: Tue Feb 27, 2018 9:31 am

Sync between Nagios active and Standby

Post by hbouma »

We are doing a setup with Nagios active and standby servers. At this time, the plan for the standby server would be to use it in the event of patching or a disaster. The standby will not need performance or historical data.

Is there some way in place to just copy the configuration files from the active server to the standby and manually import them in the event of a switch to the standby? We attempted importing the configuration files from the /usr/local/nagios/etc folder, but ran into some issues with configurations not applying based on the order they were being imported.

We are running Nagios 5.5.1 on Red Hat 7 64bit VM's.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Sync between multiple active Nagios instances

Post by scottwilkerson »

hbouma wrote:We have a rather large environment requiring multiple Nagios instances to monitor different parts of the environments. Each instance will have its own hosts and services. Is there some way to automatically sync the users, contacts, contact groups and commands between multiple servers?

We would want to be able to have a master Nagios server that has all contacts, contact groups, commands and users entered. This would then propagate out to the other environments (Non-Production, DR, etc) without manual intervention.

We are running Nagios 5.5.1 on Red Hat 7 64bit VM's.
There is no built in way of doing this in Nagios XI
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Sync between Nagios active and Standby

Post by scottwilkerson »

hbouma wrote:We are doing a setup with Nagios active and standby servers. At this time, the plan for the standby server would be to use it in the event of patching or a disaster. The standby will not need performance or historical data.

Is there some way in place to just copy the configuration files from the active server to the standby and manually import them in the event of a switch to the standby? We attempted importing the configuration files from the /usr/local/nagios/etc folder, but ran into some issues with configurations not applying based on the order they were being imported.

We are running Nagios 5.5.1 on Red Hat 7 64bit VM's.
The only way for these to be replicated properly would be to use the backup and restore
https://assets.nagios.com/downloads/nag ... ios-XI.pdf

and then stop the nagios process.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
hbouma
Posts: 483
Joined: Tue Feb 27, 2018 9:31 am

Re: Sync between multiple active Nagios instances

Post by hbouma »

This would also include the history and performance data, would it not?
jomann
Development Lead
Posts: 611
Joined: Mon Apr 22, 2013 10:06 am
Location: Nagios Enterprises

Re: Sync between multiple active Nagios instances

Post by jomann »

Yes it would include config, perfdata, logs, and databases.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked