Unified Assurance Event Watcher Custom Correlation Engine

Overview

The Unified Assurance Event Watcher Custom Correlation Engine is a digital pair of eyes that monitors the event stream for certain events within a specified time period and it performs basic event correlation. Watcher uses the defined policies to read the event database, and can then do one of the following if the configured threshold is breached:

Unified Assurance has the following Watcher Policies by default:

Watcher Custom Correlation Engine Setup

The following steps show how to create a Watcher Policy to monitor for chosen events:

  1. Add Watcher Policies or modify existing Watcher Policies:

    Configuration -> Events -> Processing -> Watcher Policies

  2. Enable the default Service, unless a specific configuration option is needed.

    Configuration -> Broker Control -> Services

Default Service

Field Value
Package Name coreProcessing-app
Service Name Event Watcher
Service Program bin/core/processing/EventWatcherd
Service Arguments
Service Description Watcher Daemon that correlates custom policies as customer defined
Failover Type Standalone (Supported: Standalone, Primary/Backup)
Status Disabled
Privileged (Checked)

Default Configuration

Name Value Possible Values Notes
CheckTime 900 Integer How often (in seconds) the application checks for new and removes old policies.
LogFile logs/EventWatcher.log Text, 255 characters Relative path to Log File.
LogLevel ERROR OFF, FATAL, ERROR, WARN, INFO, DEBUG Logging level used by application.
ShardID 1 Integer Events database shard to run query on. 0 to run and check threshold on all shards individually. NOTE: Any violation Meta Events will be inserted into the same shard that triggered it.
Threads 5 Integer Number of process threads created.

Supported Meta Event/Notification Tokens

The following table shows the supported meta event tokens.

Keyword Description
$WATCHERID Watcher policy ID
$TIME UTC epoch
$TIMESTAMP UTC epoch
$TIMESTAMP_TEXT Long local timestamp
$DATE_TEXT Long local timestamp
$NAME Watcher policy name
$FIELD Watcher policy aggregated Alarm field
$METRIC Watcher policy aggregate metric (e.g. SUM, COUNT, etc)
$OPERATOR Watcher policy compare operator
$THRESHOLD Watcher policy threshold value
$VALUE Aggregated value
$GROUPBY Watcher policy Group By list
$POLLTIME Watcher policy poll time (in seconds)
$EVENTS Comma separated list of grouped alarm IDs that crossed threshold
$SEVERITY_TEXT Severity{Clear, Unknown, Warning, Minor, Major, Critical}
$EVENTID Meta Event ID that generated this alarm - Meta Event actions only
$SHARDID ShardID generated from
$NOTIFYPROFILEID Notification Profile ID that generated this message - Notification actions only
$NOTIFYTEMPLATEID Notification Template ID that generated this message - Notification actions only
<AlarmField> Alarm field information from the most recent matching alarm, where 'AlarmField' is the field to use from the Alarm table (e.g. \<EventID>, \<FirstReported>, \<Count>, etc).

Administration Details

The following list shows the technical details needed for advanced administration of the application: