Avaya Media Processing Server Series System (Software Release 2.1) Bedienungsanleitung Seite 212

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 306
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 211
Avaya Media Processing Server Series System Reference Manual
Page 212 # P0602477 Ver: 3.1.11
To prevent alarmd or alarmf from applying additional filters, use the syntax
<alarm_criteria> ? <action_functions> && discard() :
discard()
at the point in the set where you wish filtering to stop.
((producer == "mxvmt") && frequency(5, 10)) ?
(action("alert.sh", number, "manager") &&
action("alert.sh", producer, "boss")) : false
executes the script alert.sh twice if mxvmt sends five alarms within 10 seconds: the
first instance of the script includes the alarm number and the word manager as arguments,
while the second instance includes the producer (in this case mxvmt) and the word boss as
arguments.
consolidate(alarm#
<, newtext>)
Consolidates alarms meeting the filter criteria into a secondary
alarm with corresponding alarm number and new text (text can
be a maximum of 1024 bytes). If an alarm renders this function, it
is discarded and the new consolidated alarm is used afterward
(and sent to the viewers). For example:
((producer == "conout" && severity > 5 || producer == "trip") ?
consolidate(90025, "Something wrong with conout or trip")
: false
generates a secondary alarm numbered 90025 with the indicated text if the conout process
produces an alarm of its own with a severity greater than five or any alarm is produced by the
trip process (the original alarms are discarded).
discard() Discards the alarm, and therefore does not apply any remaining
filters to it.
Action Function Description
Seitenansicht 211
1 2 ... 207 208 209 210 211 212 213 214 215 216 217 ... 305 306

Kommentare zu diesen Handbüchern

Keine Kommentare