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.
Sync between multiple active Nagios instances
Sync between Nagios active and Standby
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.
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
There is no built in way of doing this in Nagios XIhbouma 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.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Sync between Nagios active and Standby
The only way for these to be replicated properly would be to use the backup and restorehbouma 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.
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
and then stop the nagios process.
Re: Sync between multiple active Nagios instances
This would also include the history and performance data, would it not?
Re: Sync between multiple active Nagios instances
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.