186
Administration
Example 6 - Send messages with facility kernel and received from syslog cli-
ents (local and remote) to remote syslogd.
Insert the lines below at the END of the
file
syslog-ng.conf
file, keeping all lines above commented.
a.
Activate changes.
To activate the changes made, run the following commands in the presented order:
# runconf
# killall syslog-ng
# syslog-ng
The first command activate the changes made in the
/etc/portslave/pslave.conf
file. The
second and the third commands activate the changes made in the
/etc/syslog-ng/syslog-
ng.conf
file.
a.
Save the changes to the flash memory.
To save the changes made, run the command:
# saveconf
CLI Method - Alarm Notification
The CLI interface allows the configuration of alarm notifications when is
an event is generated in any port of the ACS . Generating alarms for the
ACS itself is not customizable using the CLI interface.
Into the CLI interface all options are under the following menu:
cli> config administration notifications
There you’ll have the options:
•
addemail
- Sends a message to the configured e-mail address if
the defined string appears.
•
addpager
- Sends a message to the configured pager if the defined
string appears.
•
addsnmptrap
- Sends a snmp trap to the configured server if the
defined string appears.
source sysl {unix-stream("/dev/log");};
source s_udp { udp(ip(<ip client>) port(<udp port>)); };
filter f_kern { facility(kern); };
destination d_udp1 { udp("10.0.0.1" port(514)); };
log { source(sysl); source(s_udp); filter(f_kern); destination(d-udp1); };
File Description 5.20: part of the /etc/syslog-ng/syslog-ng.conf file
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...