Description: Available only in syslog-ng Premium Edition version
servers() | |||
Type: | list of IP addresses and fully-qualified domain names | ||
Default: | empty | ||
Description: Specifies a secondary destination server where log messages are sent if the primary server becomes inaccessible. To list several failover servers, separate the address of the servers with comma. By default, syslog-ng PE waits for the a server before switching to the next failover server is set in the time-reopen() option. If failback() is not set, syslog-ng PE does not attempt to return to the primary server even if it becomes available. In case the failover server fails, syslog-ng PE attempts to connect the next failover server in the list in round-robin fashion. This is the default behavior in syslog-ng PE version 7.0.9 and earlier.
|
failback() | |
Description: Available only in syslog-ng Premium Edition version When syslog-ng PE starts up, it always connects to the primary server first. In the failover() option there is a possibility to customize the failover modes. Depending on how you set the failback() option, syslog-ng PE behaves as follows:
Default value for tcp-probe-interval(): 60 seconds Default value for successful-probes-required(): 3 |
NOTE: This option is not available for the connection-less UDP protocol, because in this case the client does not detect that the destination becomes inaccessible.