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