Service manual

Appendix G Generating Alarm and Syslog 172
Cyclades-TS Installation & Service Manual
3. Syslog-ng configuration to use with syslog buffering feature
This configuration example is to use syslog buffering feature, and to send the messages to remote syslogd
(10.0.0.1).
In the pslave.conf file the parameters of the syslog buffering feature are configured as:
conf.DB_facility 1
all.syslog_buffering 100
The syslog-ng.conf file need these lines:
# local syslog clients
source src { unix-stream(/dev/log); };
destination d_buffering { udp(10.0.0.1)); };
filter f_buffering { facility(local1) and level(notice); };
# send only syslog_buffering messages to remote server
log { source(src); filter(f_buffering); destination(d_buffering); };
4. Syslog-ng configuration to use with alarm feature
This configuration example is to use alarm feature.
In the pslave.conf file the parameters of the alarm feature are configured as:
all.alarm 1
conf.DB_facility 2