![Cyclades AlterPath ACS Command Reference Manual Download Page 192](http://html.mh-extra.comalterpath-acs_command-reference-manual_2703907192.png)
176
Administration
a.
Add lines to
/etc/syslog-ng/syslog-ng.conf
file.
CLI Method - Syslog
You can configure Syslog by following the steps below:
1. Open the CLI interface by issuing the command:
# CLI
a.
Configure the syslog facility number.
This is the facility number for the messages. The remote Syslog server filters received
messages according to this parameter.
cli>config network syslog facility <local0-local7>
Possible values for it ranges from local0 - local7
a.
Set up the server IP address to where syslog messages will be sent
.
In this example the server will have the fictitious IP address 200.200.200.1.
cli>config network syslog add server 200.200.200.1
You can repeat this step as many times as necessary, depending on the quantity of remote
servers you want to add.
# local syslog clients
source src { unix-stream("/dev/log"); };
# remote server 1 - IP address 10.0.0.1 port default
destination d_udp1 { udp("10.0.0.1"); };
# remote server 2 - IP address 10.0.0.2 port 1999
destination d_udp2 { udp("10.0.0.2" port(1999););};
# filter messages from facility local1 and level info to warning
filter f_local1 { facility(local1) and level(info..warn);};
# filter messages from facility local 1 and level err to alert
filter f_critic { facility(local1) and level(err .. alert);};
# send info, notice and warning messages to remote server udp1
log { source(src); filter(f_local1); destination(d_udp1); };
# send error, critical and alert messages to remote server udp2
log { source(src); filter(f_critic); destination(d_udp2); };
File Description 5.14: syslog-ng.conf configuration
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...