AlterPath ACS Command Reference Guide
167
Administration
filter f_alarm { facility(local[0+<conf.DB_facility>]) and level(info)
and match('ALARM') and match('<your string>'); } ;
Example to filter ALARM message with the string “kernel panic”:
filter f_kpanic { facility(local[0+<conf.DB_facility>]) and level(info)
and match('ALARM') and match('kernel panic'); };
Example to filter ALARM message with the string “root login”:
filter f_root { facility(local[0+<conf.DB_facility>]) and level(info)
and match('ALARM') and match('root login'); };
5) To eliminate SSHD debug messages:
filter f_sshd_debug { not program('sshd') or not level(debug); };
6) To filter the syslog_buffering:
filter f_syslog_buf { facility(local[0+<conf.DB_facility>]) and
level(notice); };
a.
Define Actions.
To define actions use this statement (note that the statement should be one line):
destination <identifier> {destination-driver([params]); destination-
driver([param]);..};
where:
•
identifier
- Has to uniquely identify this given destination.
•
destination driver
- Is a method of outputting a given message.
•
params
- Each destination-driver may take parameters. Some of
them required, some of them are optional.
Содержание 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...