This configuration file holds the options for controlling the event handler, trace handling and alert suppression.
Filename: | LogEvent.cfg |
Designated Editor: | ss7view (program) |
Trace = [<trace options>]
where the <trace options> are:Trace = Info Subsystem Function
Error=[<error options>]
EventTrigger = <list>
EventTrigCmd = <valid shell command>
EventSize = <size>
<WVRerror>:<times>
where WVRerror is the error number as passed to Blueworx Voice Response, in the range 30000-30199. The special error of ANY can be used to refer to any error events within the valid range. The <times> is the number of occurrences after which no further captures are generated. The <times> and the colon (:) can be omitted, in which case event files will continue to be issued.An example would be EventTrigger = ANY: 3, 30000:4, 30020:2. This matches any error three times, error 30000 four times, and finally error 30020 twice. Note that if the first error detected by the system is 30020, this is handled under the ANY error as it is first in the list.
When an error trigger is detected, the EventTrigCmd is processed. This calls ss7view to copy the shared memory into disk file.
This describes the command you should run when an event trigger has been detected. Typically this would call the ss7view command to copy the event shared memory to disk file. However, other commands can be substituted.
Note that the command is run in the background relative to SS7_D7 custom server, so does not delay the real-time execution. However, there is no monitoring of the program and over-triggering or badly chosen commands could result in the system running out of CPU and processing slots.
The command can utilize two substitutions to describe the event with the use of the %d parameter. The first %d is replaced with the Error number that triggered this capture and the second is replaced with the issue number.
EventTrigCmd = "ss7view –event R Events/Event-%d-%d"This example shows the ss7view being run to copy the event-shared memory in raw mode into the file Events/Event-%d-%d. The first %d will be substituted with the error number that triggered this execution and the second %d is an incrementing issue number for this error.
This option defines a number of alerts which are to be suppressed when an attempt is made to send to the Blueworx Voice Response reporting mechanism. The condition is still recorded in the SS7_D7 custom server error file.
The list of Alerts to suppress can be given as a list of single numbers or as ranges separated by commas. This suppress option works only for Alert in the range 30000-30499. An example would be: AlertSupress=30021, 30030-30035
Stats = Off/Interval <interval> Buffer <buffer>
This controls the statistical collection option. <interval> defines how many seconds between collecting samples and <buffer> defines how many samples to remember.