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