Avaya Media Processing Server Series System (Software Release 2.1) Manual de usuario Pagina 208

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 306
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 207
Avaya Media Processing Server Series System Reference Manual
Page 208 # P0602477 Ver: 3.1.11
(producer == "ccm") ? print() : discard();
(severity > 6)? email("Something wrong", "sysadmin")
: false
prints all alarms from ccm and sends an e-mail for ccm alarms of severity greater
than 6 to the email address sysadmin with the message Something wrong. If
the alarm is not produced by ccm, it is discarded.
If a field is not specified in a filter, the match is assumed. Filter sets may also contain
comments. A comment is introduced with either a # or a //, and continues until the
end of the line.
To verify the syntax of a filter set, use alarmf as a utility by entering the alarmf
-f filter_name command. If the filter set passes the check, a message is
returned indicating this: if not, the message returned gives an approximate location of
the error in the file. After corrections are made the command should be repeated to
validate the efficacy of the changes.
To authenticate the performance of a valid filter file, apply it to an existing log file that
contains applicable data. Use the alarmf -l logfile -f filter_name
command to do so. Filter files can also be tested against live alarms by using the
alarmf -h hostname -f filter_name command.
Use the print() action function to send the results of these checks to the console.
However, once the files have been validated the print() function should be halted
in accordance with the note at “print(<format>)” on page 211. Use the
clearflt command to disable the filter (see Command Line Interface on page
205).
Vista de pagina 207
1 2 ... 203 204 205 206 207 208 209 210 211 212 213 ... 305 306

Comentarios a estos manuales

Sin comentarios