From 78e5a1dbe3faf2e587c4daee6e26c577d42ddd65 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sat, 6 Aug 2022 00:13:07 +0200 Subject: ch-prometheus: new nvme disk --- chaos-at-home/ch-prometheus.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'chaos-at-home/ch-prometheus.yml') diff --git a/chaos-at-home/ch-prometheus.yml b/chaos-at-home/ch-prometheus.yml index f0545d26..a736a331 100644 --- a/chaos-at-home/ch-prometheus.yml +++ b/chaos-at-home/ch-prometheus.yml @@ -51,11 +51,13 @@ #!/bin/bash {% set disk_variables = [] %} {% for disk in install.disks.raid.members %} - disk_primary{{ loop.index0 }}=$(basename $(realpath '{{ install.disks.primary }}')) + disk_primary{{ loop.index0 }}=$(basename $(realpath '{{ disk }}')) {{ disk_variables.append('$disk_primary'+(loop.index0| string)) -}} {% endfor %} {% for name,volume in luks_volumes.items() %} + {% if 'crypto-nvme' not in name %} disk_{{ name | replace('-', '_') }}=$(basename $(realpath '{{ volume.device }}')) {{ disk_variables.append('$disk_'+(name | replace('-', '_'))) -}} + {% endif %} {% endfor %} exec dstat -cnd -N {{ network.primary.name }} -D "{{ disk_variables | join(',') }}" --disk-util --top-io --top-bio -- cgit v1.2.3