Black Box ACS120 Uživatelská příručka Strana 268

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 450
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 267
Syslog
268 BLACK BOX ® Advanced Console Server
destination(D1); destination(D2);...
};
where :
Examples:
1) To send all messages received from local syslog clients to console:
log { source(sysl); destination(d_console);};
2) To send only messages with level alert and received from local syslog clients to all logged
root user:
log { source(sysl); filter(f_alert); destination(d_userroot); };
3) To write all messages with levels info, notice, or warning and received from syslog clients
(local and remote) to /var/log/messages file:
log { source(sysl); source(s_udp); filter(f_messages); destina-
tion(d_messages); };
4) To send e-mail if message received from local syslog client has the string kernel panic:
log { source(sysl); filter(f_kpanic); destination(d_mail1); };
5) To send e-mail and pager if message received from local syslog client has the string root
login:
log { source(sysl); filter(f_root); destination(d_mail1); destina-
tion(d_pager); };
6) To send messages with facility kernel and received from syslog clients (local and remote)
to remote syslogd:
Sx Identifier of the sources defined before.
Fx Identifier of the filters defined before.
Dx Identifier of the actions/destinations defined before.
Zobrazit stránku 267
1 2 ... 263 264 265 266 267 268 269 270 271 272 273 ... 449 450

Komentáře k této Příručce

Žádné komentáře