summaryrefslogtreecommitdiff
path: root/chaos-at-home
diff options
context:
space:
mode:
Diffstat (limited to 'chaos-at-home')
-rw-r--r--chaos-at-home/ch-prometheus.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/chaos-at-home/ch-prometheus.yml b/chaos-at-home/ch-prometheus.yml
index 1cfa59c1..4ecc415e 100644
--- a/chaos-at-home/ch-prometheus.yml
+++ b/chaos-at-home/ch-prometheus.yml
@@ -39,3 +39,11 @@
sleep 2
systemctl restart libvirtd.service
systemctl restart nfs-kernel-server
+
+ - name: install dstat script
+ copy:
+ dest: /usr/local/bin/dstat.sh
+ mode: 0755
+ content: |
+ #!/bin/bash
+ exec dstat -cnd -N enp1s0,bond0 -D nvme0n1,nvme1n1,sda,sdb,sdc --disk-util --top-io --top-bio