Fix paths to vars
This commit is contained in:
@@ -23,9 +23,9 @@
|
||||
servicenow.itsm.incident:
|
||||
state: new
|
||||
caller: "admin"
|
||||
short_description: "CPUHog event detected on: {{ event.alert.labels.instance }}"
|
||||
description: "A CPUHog was detected on: {{ event.alert.labels.instance }} that needs to be investigated."
|
||||
short_description: "CPUHog event detected on: {{ ansible_eda.event.alert.labels.instance }}"
|
||||
description: "A CPUHog was detected on: {{ ansible_eda.event.alert.labels.instance }} that needs to be investigated."
|
||||
impact: high
|
||||
urgency: high
|
||||
delegate_to: localhost
|
||||
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
= CPUHog Report =
|
||||
A high CPU event was triggered from AlertManager.
|
||||
|
||||
{% if event is defined %}
|
||||
Annotations: "{{ event.alert.annotations }}"
|
||||
Generator URL: "{{ event.alert.generatorURL }}"
|
||||
Severity: "{{ event.alert.labels.severity }}"
|
||||
Instance: "{{ event.alert.labels.instance }}"
|
||||
{% if ansible_eda is defined %}
|
||||
Annotations: "{{ ansible_eda.event.alert.annotations }}"
|
||||
Generator URL: "{{ ansible_eda.event.alert.generatorURL }}"
|
||||
Severity: "{{ ansible_eda.event.alert.labels.severity }}"
|
||||
Instance: "{{ ansible_eda.event.alert.labels.instance }}"
|
||||
{% endif %}
|
||||
|
||||
** Top CPU Consumers **
|
||||
|
||||
Reference in New Issue
Block a user