I am in the process of creating a standby Nagios/Centreon server which will take over should our main server fail.
Presently we're replicating the primary centreon server MySQL databases to the standby server using MySQL replication. All of my logins etc on the failover server are identical to the primary server.
The standby server's
centcore daemons are disabled on the standby server.
In the event of a failure on the primary we'll (if possible and depending on how catastrophic the failure is) disable the aforementioned daemons and start them on the backup server.
My only stumbling block at the moment is
How to rebuild the graph RRD's? Is it simply a case of going to:
Administration -> Options -> CentStorage -> Manage
Then selecting all of the hosts and services then doing a
Rebuild RRD Databases?
Generating the configuration for Nagios - Is it just a case of exporting the config before starting Nagios?
Are there any other files or data that I should be concerned with copying across to the backup server periodically?
Are there any files on the backup server that should be deleted prior to failing over (lock files, logs etc,