From 3e2dd33cd3ee75c0153486181640bafb4403cc1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauri=20V=C3=B5sandi?= Date: Wed, 24 Nov 2021 15:26:58 +0200 Subject: [PATCH] More fixes --- entrypoint.sh | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 5fd4b29..8acc3b4 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,8 +1,12 @@ #!/bin/bash while true; do - /scripts/smartmon.sh > /run/node-exporter/smart.prom - /scripts/nvme_metrics.sh > /run/node-exporter/nvme.prom - /scripts/bridge.sh > /run/node-exporter/bridge.prom - /scripts/ipmitool > /run/node-exporter/impitool.prom + /scripts/smartmon.sh > /run/node-exporter/smart.prom.part + mv /run/node-exporter/smart.prom.part /run/node-exporter/smart.prom + /scripts/nvme_metrics.sh > /run/node-exporter/nvme.prom.part + mv /run/node-exporter/nvme.prom.part /run/node-exporter/nvme.prom + /scripts/bridge.sh > /run/node-exporter/bridge.prom.part + mv /run/node-exporter/bridge.prom.part /run/node-exporter/bridge.prom + ipmitool sensor | /scripts/ipmitool > /run/node-exporter/impitool.prom.part + mv /run/node-exporter/impitool.prom.part /run/node-exporter/impitool.prom sleep 15 done