The rate and number of incoming events serve as an important indicator of the state of the system. For example, you can detect when there are too many events, too few, or none at all. Monitoring policies are designed to detect such situations. In a policy, you can specify a lower threshold, an optional upper threshold, and the way the events are counted: by frequency or by total number.
The policy must be applied to the event source. After applying the policy, you can monitor the status of the source: green means everything is OK, red means the stream is outside the configured threshold. If the status is red, an event of the Monitoring type generated. The monitoring event is generated in the tenant that owns the event source and is sent to the storage of the Main tenant (the storage must already be deployed in the Main tenant). If you have access to the tenant of the event source and do not have access to the Main tenant, you can still search for monitoring events in the storage of the Main tenant; the monitoring events of the tenants available to you will be displayed for you. You can also configure notifications to be sent to an arbitrary email address. Policies for monitoring the sources of events are displayed in the table under Source status → Monitoring policies. You can sort the table by clicking the column header of the relevant setting. Clicking a policy opens the data area with policy settings. The settings can be edited. The maximum size of the policy list is not limited. If the number of policies is more than 250, the Show next 250 button becomes available.
Algorithm for applying a monitoring policy
Monitoring policies are applied to an event source in accordance with the following algorithm:
Depending on the policy type, the number of the event stream is counted as the number of events (for the byCount policy type) or as the number events per second (EPS, for the byEPS policy type). You can look up how the stream is counted for the applied policy in the Stream column on the List of event sources page.
If the event stream from the source crosses the thresholds specified in the monitoring policy, information about this is recorded in the following way:
5
(Type=5
) is generated. The fields of the event are described in the table below.Fields of the monitoring event
Event field name |
Field value |
---|---|
ID |
Unique ID of the event. |
Timestamp |
Event time. |
Type |
Type of the audit event. For the audit event, the value is |
Name |
Name of the monitoring policy. |
DeviceProduct |
|
DeviceCustomString1 |
The value from the |
The generated monitoring event is sent to the following resources:
Managing monitoring policies
To add a monitoring policy:
If you do not specify the frequency of measurement, the monitoring policy is triggered immediately after the stream is found to cross the threshold.
To forward notifications, you must configure a connection to the SMTP server.
The monitoring policy will be added.
To apply a monitoring policy:
After you select the event sources to which you want to apply a monitoring policy, the Apply policy button becomes available on the toolbar if any policies are available.
The monitoring policy is applied to the selected event sources.
To delete a monitoring policy:
The selected monitoring policies are deleted.
You cannot remove preinstalled monitoring policies or policies that have been assigned to data sources.
Page top