efc6e28edc
- Removes the hard-coded magic number of 60 seconds allowing users to choose the period that they require. - Standardise on strings for DictOpt dict keys. When loaded from a config file, the DictOpt keys are parsed as strings, which was conflicting with the default integer dict keys. This caused the periodic engine to silently fail to load when configured via a config file. - Remove unused variable Story: 2006783 Task: 37313 Change-Id: Ibd61c45fc1ade37022150d34a5b00c56fdf69814
37 lines
1.2 KiB
YAML
37 lines
1.2 KiB
YAML
# Refer the following url for request parameters.
|
|
|
|
jira_format:
|
|
|
|
# Message to be displayed. This is in Jinja2 format and can be customized.
|
|
|
|
# notification.alarm_id
|
|
# notification.alarm_name
|
|
# notification.alarm_timestamp
|
|
# notification.message
|
|
# notification.name
|
|
# notification.notification_timestamp
|
|
# notification.src_partition
|
|
# notification.src_offset
|
|
# notification.state
|
|
# notification.severity
|
|
# notification.link
|
|
# notification.lifecycle_state
|
|
# notification.tenant_id
|
|
# notification.type
|
|
# notification.metrics
|
|
# notification.retry_count
|
|
# notification.raw_alarm
|
|
# notification.period
|
|
|
|
# Please include alarm_id in summary as it is used for searching the issues
|
|
summary: Alaram created for {{ notification.alarm_name }} with severity {{ notification.state }} for {{ notification.alarm_id }}
|
|
description : "{{ notification.alarm_name }}"
|
|
comments : |
|
|
AlarmName: {{ notification.alarm_name }}
|
|
AlarmId: {{ notification.alarm_id }}
|
|
AlarmTimestamp: {{ notification.alarm_time_stamp}}
|
|
message: {{ notification.message}}
|
|
state: {{ notification.state}}
|
|
severity: {{ notification.severity}}
|
|
|