AlterPath ACS Command Reference Guide
165
Administration
source file1 {file(‘/temp/file1’);};
Example to receive messages from the kernel:
source s_kernel { file(‘/proc/kmsg’); };
2) To receive messages from local syslogd clients:
source sysl {unix-stream(‘/dev/log’);};
3) To receive messages from remote syslogd clients:
source s_udp { udp(ip(<cliente ip>) port(<udp port>)); };
Example to listen to messages from all machines on UDP port 514:
source s_udp { udp(ip(0.0.0.0) port(514));};
Example to listen to messages from one client (IP address=10.0.0.1) on UDP port 999:
source s_udp_10 { udp(ip(10.0.0.1) port(999)); };
a.
Define filters.
To define filters use this statement:
filter <identifier> { expression; };
where:
•
identifier - Has to uniquely identify this given filter.
•
expression - Boolean expression using internal functions, which
has to evaluate to true for the message to pass.
The following internal functions are available:
Table 5-3:
“Filters” parameters (Syslog-ng configuration)
Option
Description
facility
(<facility
code>)
Selects messages based on their facility code.
level(<level
code>) or prior-
ity
(<level code>)
Selects messages based on their priority.
Содержание 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...