From 40a8fc29cc7d2ec85abeafc62ebd472514e69c1a Mon Sep 17 00:00:00 2001 From: Kazuhiro MUSASHI Date: Sun, 27 Sep 2020 18:21:39 +0900 Subject: [PATCH] Change `"` to `'`. --- .../files/etc/prometheus.d/alerts/node_exporter.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cookbooks/prometheus/files/etc/prometheus.d/alerts/node_exporter.yml b/cookbooks/prometheus/files/etc/prometheus.d/alerts/node_exporter.yml index be8fdad..8b30d28 100644 --- a/cookbooks/prometheus/files/etc/prometheus.d/alerts/node_exporter.yml +++ b/cookbooks/prometheus/files/etc/prometheus.d/alerts/node_exporter.yml @@ -200,7 +200,7 @@ groups: severity: info annotations: summary: "Host EDAC Correctable Errors detected (instance {{ $labels.instance }})" - description: "{{ $labels.instance }} has had {{ printf "%.0f" $value }} correctable memory errors reported by EDAC in the last 5 minutes.\n VALUE = {{ $value }}\n LABELS: {{ $labels }}" + description: '{{ $labels.instance }} has had {{ printf "%.0f" $value }} correctable memory errors reported by EDAC in the last 5 minutes.\n VALUE = {{ $value }}\n LABELS: {{ $labels }}' - alert: HostEdacUncorrectableErrorsDetected expr: node_edac_uncorrectable_errors_total > 0 @@ -209,7 +209,7 @@ groups: severity: warning annotations: summary: "Host EDAC Uncorrectable Errors detected (instance {{ $labels.instance }})" - description: "{{ $labels.instance }} has had {{ printf "%.0f" $value }} uncorrectable memory errors reported by EDAC in the last 5 minutes.\n VALUE = {{ $value }}\n LABELS: {{ $labels }}" + description: '{{ $labels.instance }} has had {{ printf "%.0f" $value }} uncorrectable memory errors reported by EDAC in the last 5 minutes.\n VALUE = {{ $value }}\n LABELS: {{ $labels }}' - alert: HostNetworkReceiveErrors expr: increase(node_network_receive_errs_total[5m]) > 0 @@ -218,7 +218,7 @@ groups: severity: warning annotations: summary: "Host Network Receive Errors (instance {{ $labels.instance }})" - description: "{{ $labels.instance }} interface {{ $labels.device }} has encountered {{ printf "%.0f" $value }} receive errors in the last five minutes.\n VALUE = {{ $value }}\n LABELS: {{ $labels }}" + description: '{{ $labels.instance }} interface {{ $labels.device }} has encountered {{ printf "%.0f" $value }} receive errors in the last five minutes.\n VALUE = {{ $value }}\n LABELS: {{ $labels }}' - alert: HostNetworkTransmitErrors expr: increase(node_network_transmit_errs_total[5m]) > 0 @@ -227,5 +227,5 @@ groups: severity: warning annotations: summary: "Host Network Transmit Errors (instance {{ $labels.instance }})" - description: "{{ $labels.instance }} interface {{ $labels.device }} has encountered {{ printf "%.0f" $value }} transmit errors in the last five minutes.\n VALUE = {{ $value }}\n LABELS: {{ $labels }}" + description: '{{ $labels.instance }} interface {{ $labels.device }} has encountered {{ printf "%.0f" $value }} transmit errors in the last five minutes.\n VALUE = {{ $value }}\n LABELS: {{ $labels }}'