AlterPath ACS Command Reference Guide
183
Administration
5.6 Generating Alarms (Syslog-ng)
This feature helps the administrator to manage the servers. It filters the
messages received by the serial port (the server’s console) based on the
contents of the messages. It then performs an action, such as sending an
email or pager message. To configure this feature, you need to configure
filters and actions in the
syslog-ng.conf
file. (You can read more about
syslog-ng
in the
section.)
How to configure
Alarm generation is strictly related to the syslog-ng configuration. It is
highly recommended to read the
section before configuring this
feature. This section will show practical examples of utilization of this
feature.
The
/etc/portslave.conf
related parameters are:
•
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.
•
all.alarm - When nonzero, all data received from the port is cap-
tured and sent to syslog-ng with INFO level and
LOCAL[0+conf.DB_facility] facility. This parameter must be
set to a non zero value to activate alarm generation.
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, email or syslogs).
Basically, alarms are triggered by a combination of sources, filters and
destinations. To connect the sources, filters and actions (any message
coming from one of the listed sources, matching the filters (each of them)
is sent to the listed destinations). Use this statement:
log { source(S1); source(S2); ...
filter(F1);filter(F2);...
destination(D1); Destination(D2);...
};
For more information about sources, destinations and filters, please refer
to the
section. This
Содержание 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...