Service manual
155Appendix G Generating Alarm and Syslog
Cyclades-TS Installation & Service Manual
•
time_reopen(n): the time to wait before a died connection is reestablished.
• time_reap(n): the time to wait before an idle destination file is closed.
• sync_freq(n): the number of lines buffered before written to file. (the file is synced when this number of
messages has been written to it)
• mark_freq(n): the number of seconds between two MARKS lines.
• log_fifo_size(n): the number of lines fitting to the output queue.
• chain_hostname(yes/no) or long_hostname(yes/no):
Enable/disable the chained hostname format.
• use_time_recvd(yes/no): Use the time a message is received instead of the one specified in the message.
• use_dns(yes/no): Enable or disable DNS usage. syslog-ng blocks on DNS queries, so enabling DNS may
lead to a Denial of Service attach.
• gc_idle_threshold(n): Sets the threshold value for the garbage collector, when syslog-ng is idle. GC phase
starts when the number of allocated objects reach this number. Default: 100.
• gc_busy_threshold(n): Sets the threshold value for the garbage collector, when syslog-ng is busy. GC
phase starts
• create_dirs(yes/no): Enable creating no-existing directories.
• owner(name): Set the owner of the created file to the one specified. Default: root
• group(name): Set the group of the created file to the one specified. Default: root
• perm(mask): Set the permission mask of the created file to the one specified. Default: 0600
To define sources use this statement:
source <identifier> { source-driver([params]); source-driver([params]); ...};
where:
identifier: it has to uniquely identify this given source;
source-driver: it is a method of getting a given message.
params: each source-driver may take parameters, some of them required, some of them optional.