Comments and Downtime failover syncronization
Posted: Mon Aug 05, 2013 2:44 pm
We are attempting to configure a second nagios server as a live failover if the primary nagios server becomes unresponsive. We are able to maintain live status information for hosts and services on the failover server by passing results via NSCA. We also have both servers configured to use the same NagiosQL database, so they are able to write out the same configuration files.
*** We are unable to find a way to replicate the downtime and comments for hosts and services to the failover server. ***
We have attempted to rsync the retention file, and turn on retention settings in the nagios.cfg, however this does not include the comments and downtimes.
The nagiosql database does not appear to contain any tables for storing these.
QUESTIONS:
1) How are the comments and downtime stored in Nagios?
2) How can these be replicated to another server in realtime (or close to it) to support a failover server configuration?
*** We are unable to find a way to replicate the downtime and comments for hosts and services to the failover server. ***
We have attempted to rsync the retention file, and turn on retention settings in the nagios.cfg, however this does not include the comments and downtimes.
The nagiosql database does not appear to contain any tables for storing these.
QUESTIONS:
1) How are the comments and downtime stored in Nagios?
2) How can these be replicated to another server in realtime (or close to it) to support a failover server configuration?