Black Box ACS120 Podręcznik Użytkownika Strona 182

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 181
Generating Alarms
182 BLACK BOX ® Advanced Console Server
log (source(sysl); filter(f_kpanic); destination(d_pager);
};
To send e-mail:
destination d_mail { pipe("/dev/cyc_alarm" template("send-
mail <pars>"));};
To send a pager message:
destination d_pager {pipe("/dev/cyc_alarm" template("sendsms
<pars>"));};
To send snmptrap:
destination d_trap {pipe("/dev/cyc_alarm" template("snmptrap
<pars>")); };
Step 4: Connect filters and actions in the syslog-ng configuration file.
Example: alarm is active and if the serial port receives the string kernel panic," one
message will be sent to the pager.
log (source(sysl); filter(f_kpanic); destination(d_trap);
destination(d_pager); };
Sendmail
Sendmail sends a message to a SMTP server. It is not intended as a user interface routine; it is
used only to send pre-formatted messages. Sendmail reads all parameters in the command
line. If the SMTP server does not answer the SMTP protocol requests sent by sendmail, the
message is dropped.
Przeglądanie stron 181
1 2 ... 177 178 179 180 181 182 183 184 185 186 187 ... 449 450

Komentarze do niniejszej Instrukcji

Brak uwag