
Avaya Media Processing Server Series System Reference Manual
Page 214 # P0602477 Ver: 3.1.11
• To have any alarms with a severity less than or equal to five or from SRP kept
from the viewers, but all other alarms sent to them, you could use:
(severity <= 5 || producer == "srp") ? false : true
The operator || indicates that if either criteria in the first part of the filter is met,
a value of false is assigned and the alarm is not forwarded; otherwise, a value
of true is assigned and on it goes to the viewers.
• For this scenario, the assumption is made that an alarmd.cfg configuration
file exists, and contains a filter set named startfile.flt. When the system
boots up, this file is processed and the filter invoked. However, at some point in
time we wish to instead activate and use a filter file named gifile.flt. To do
so, we would issue the following commands, in order, from the VSH prompt of
the common component:
alarmd clearflt
alarmd addflt gifile.flt
To go back to the original configuration, we would issue the commands again, but
with startfile.flt in the second one. To use a filter set in a location other
than $MPSHOME/common/etc, we would provide the path to it, and its name,
in the addflt command. These commands can also be used to perform the
same actions for alarmf.
Komentarze do niniejszej Instrukcji