AlterPath ACS Command Reference Guide
161
Administration
5.4 Syslog-ng
The syslog-ng daemon provides a modern treatment to system messages.
Its basic function is to read and log messages to the system console, log
files, other machines (remote syslog servers) and/or users as specified by
its configuration file. In addition, syslog-ng is able to filter messages
based on their content and to perform an action (e.g. to send an e-mail or
pager message). In order to access these functions, the
syslog-ng.conf
file
needs some specific configuration.
The configuration file (default:
/etc/syslog-ng/syslog-ng.conf
) is read at
startup and is reread after reception of a hangup (HUP) signal. When
reloading the configuration file, all destination files are closed and
reopened as appropriate. 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 to remote
servers).
There are five steps required for configuring syslog-ng:
Step 1: Define Global Options.
Step 2: Define Sources.
Step 3: Define Filters.
Step 4: Define Actions (Destinations).
Step 5: Connect all of the above.
These five tasks are going to be explained in this section.
Port Slave Parameters Involved with syslog-ng
•
conf.facility
- This value (0-7) is the Local facility sent to the
syslog-ng from PortSlave.
•
conf.DB_facility
- This value (0-7) is the local facility sent to the
syslog-ng with data when syslog_buffering and/or alarm is
active. When nonzero, the contents of the data buffer are sent to
the syslog-ng every time a quantity of data equal to this param-
eter is collected. The syslog level for data buffering is hard
coded to level five (notice) and facility local[0+
conf.DB_facility]. The file /etc/syslog-ng/syslog-ng.conf
should be set accordingly for the syslog-ng to take some action.
Example value: 0.
•
all.syslog_buffering
- When nonzero, the contents of the data
buffer are sent to the syslog-ng every time a quantity of data
equal to this parameter is collected. The syslog message is sent
Содержание AlterPath ACS
Страница 16: ...xvi Table of Contents...
Страница 29: ...13 This page has been left intentionally blank...
Страница 30: ...14 Preface...
Страница 68: ...52 Device Access...
Страница 86: ...70 Authentication Step 5 Saving changes To save the configuration run the command saveconf...
Страница 96: ...80 Authentication Save the configuration to flash 2 cli config savetoflash...
Страница 114: ...98 Authentication...
Страница 204: ...188 Administration To exit the CLI mode and return to ACS s shell issue the command cli quit...
Страница 268: ...252 Power Management with AlterPath PM Integration...
Страница 304: ...288 PCMCIA Cards Integration...
Страница 338: ...322 Profile Configuration...
Страница 364: ...348 Additional Features and Applications...
Страница 376: ...360 Appendix A New User Background Information...
Страница 406: ...390 Appendix C Cabling and Hardware Information This page has been left intentionally blank...
Страница 418: ...402 List of Tables...
Страница 420: ...404 List of Figures...