Alerts
The Alerts tab on the System page displays a list of all alerts configured on a HVR Hub System.
Under this tab, you can create an alert and manage the existing alerts. Alerts scan the hub server log files and, according to their configuration properties, send notifications about any issues encountered (errors, warnings, latency threshold exceeded).
When you create an alert, an alert configuration file (alert_name.conf) is created in the HVR_CONFIG/hubs/hub/alerts directory. The file contains the alert configuration properties specified when the alert was created, i.e. every alert has a certain set of alert properties. For an alert, you always must specify the type of notification: Email, SNS, Slack, or SNMP. If you want to receive alert notifications of different types, e.g. via email and Slack, separate alerts need to be configured.
The hvralertmanager command is responsible for executing all the alerts configured on the hub server.
The Alerts dialog corresponds to the hvralertconfig command.
The page provides the following information about alerts.
Field | Description |
---|---|
Alert | Alert name. Clicking the alert name opens the Edit Alert dialog. |
Type | Type of the alert notification that the alerting system will send. Available options are:
|
Last Check | The last time the alert was executed. |
Description | Specific channels and/or locations for which the alert is configured, i.e. only the specified channel(s) and/or location(s) will be checked by the alert. |
The hvralertmanager should be scheduled to run at certain time intervals for monitoring the status of the HVR Hub System. When an alert is not executed within two hours (provided that the alert is not disabled and the hub is not frozen), warning "Alert execution is overdue" is displayed in the LAST CHECK column.
Managing Alerts
The following options to manage alerts are available at the top right menu, as well as under the More options menus related to each alert.
To select multiple alerts in one go, select the first alert, hold the Shift key and then select the last alert - all alerts in between the first and the last will be selected.
Create New Alert
Create a new alert. For steps to create an alert, see Creating Alerts.View Alert Manager Log
This option opens the hvralertmanager.out log file in the Log Viewer drawer containing the Alert Manager runtime information.Disable/Enable Alerts
Disable/enable the selected alert. Once disabled, an alert will not be executed until it is enabled again.Send Test Notification
Test an alert to verify if notification settings (Slack, email, etc) are properly configured.
This applies only when an alert is enabled.
Perform Alert Check
Execute an alert. This applies only when an alert is enabled.Clear Outstanding Errors
Disregard any pending errors, so that only new errors will be reported the next time the alert is run. This applies only when an alert is enabled.Duplicate Alert
Create a copy of an existing alert with all its configured properties. When you click Duplicate Alert, the Edit Alert dialog opens, where you need to specify a unique name of the new alert.Delete Alert(s)
Delete selected alerts.View Alert Log
This option opens the alert's log file in the Log Viewer drawer containing the alert runtime information.