Skip to main content

Configuration

Para gestionar el HA de la base de datos de histórico es necesario indicar las siguientes opciones de configuración en el fichero /opt/pandorafms/pandora_history_ha/pandora_history_ha.conf

ParámetroDescripción
dbnameName of the historical database to connect to.
dbportConnection port for the historical database.
dbuserHistorical database connection user. Requires the"`REPLICATION CLIENT" and "SUPER" (or "REPLICATION_SLAVE_ADMIN") privileges.
dbpassPassword for the previous user.
repl_dbuserHistorical database replication user. Requires the "REPLICATION SLAVE" privilege.
repl_dbpassPassword for the previous user.
ha_hostsList of IP addresses or FQDNs of all hosts participating in the historical database HA cluster (comma-separated).
ha_intervalInterval, in seconds, between HA status checks.
ha_connect_retriesNumber of retry attempts when connecting to the historical database HA cluster.
ha_connect_delayDelay, in seconds, between connection retry attempts.
splitbrain_autofixEnables (1) or disables (0) automatic HA recovery in the event of a split-brain situation.
verboseEnables (1) or disables (0) detailed logging.
log_filePath to the service log file.
pid_filePath to the service PID file.
main_dbhostIP address or FQDN of the main Pandora FMS database.
main_dbportConnection port for the main Pandora FMS database.
main_dbnameName of the main Pandora FMS database.
main_dbuserConnection user for the main Pandora FMS database.
main_dbpassPassword for the previous user.