Service manual

Appendix G Generating Alarm and Syslog 154
Cyclades-TS Installation & Service Manual
APPENDIX G GENERATING ALARM AND SYSLOG
Versions 1.3.3 and later
This appendix shows the characteristics of the Alarm for Data Buffering that is implemented for all the TSxk
family. It is divided in five parts:
1. Syslog-ng and its configuration
2. Alarm, sendmail, sendsms and snmtrap
3. Example of the configuration to use syslog_buffering
4. Example of the configuration to use alarm feature
5. Example of the configuration to use multiples syslog servers.
1. Syslog-ng
The syslog-ng reads from sources (files, TCP/UDP connections, syslogd clients), filters the messages and
takes an action(writes in files, sends snmptrap, pager, e-mail or syslogs).
The configuration file is read at startup and is reread after receipt of a hangup (HUP) signal. When reloading the
configuration file, all destination files are closed and reopened as appropriate.
You will need to define sources, filters and actions (destinations), and after youll connect them as explained
below.
You can specify several global options to syslog-ng in the options statement:
options { opt1(params); opt2(params); ... };
where optn can be any of the following: