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
Summary of Contents for AlterPath ACS
Page 16: ...xvi Table of Contents...
Page 29: ...13 This page has been left intentionally blank...
Page 30: ...14 Preface...
Page 68: ...52 Device Access...
Page 86: ...70 Authentication Step 5 Saving changes To save the configuration run the command saveconf...
Page 96: ...80 Authentication Save the configuration to flash 2 cli config savetoflash...
Page 114: ...98 Authentication...
Page 204: ...188 Administration To exit the CLI mode and return to ACS s shell issue the command cli quit...
Page 268: ...252 Power Management with AlterPath PM Integration...
Page 304: ...288 PCMCIA Cards Integration...
Page 338: ...322 Profile Configuration...
Page 364: ...348 Additional Features and Applications...
Page 376: ...360 Appendix A New User Background Information...
Page 406: ...390 Appendix C Cabling and Hardware Information This page has been left intentionally blank...
Page 418: ...402 List of Tables...
Page 420: ...404 List of Figures...