Docker Image with smartctl and prometheus/node_exporter smartmon.sh loop
100K+
This Docker image needs to be run in privileged mode for most of the scripts in the prometheus-community/node-exporter-textfile-collector-scripts repository, e.g., for smartctl.sh it is needed to be able to collect the SMART values.
Image available from Quay.io and Docker Hub (make sure to use the latest available (git) tags):
quay.io/galexrt/node-exporter-smartmon:v1.2.0galexrt/node-exporter-smartmon:v1.2.0An auto build is triggered every week, be sure to check the git tags.
This docker image contains the prometheus-community/node-exporter-textfile-collector-scripts repository, so that any script can be easily used with / from this Docker image.
The entrypoint script is putting the output into the directory /var/lib/node_exporter by default, filename smartmon.prom.
| Name | Default | Description |
|---|---|---|
SCRIPT | smartmon.sh | Which of the node_exporter textfile collector scripts to run. |
OUTPUT_FILENAME | smartmon | Name of the output file (file ending is always .prom). |
INTERVAL | 300 | Interval at which to run the script at. |
Any flags / args given to the container are passed to the SCRIPT that will be executed.
A Grafana dashboard for viewing the exported metrics can be found on Grafana.com - Smartmon Textfile by Galexrt and in the grafana/ directory.
The kubernetes/ directory contains an example DaemonSet for your Kubernetes cluster.
Content type
Image
Digest
Size
55.6 MB
Last updated
almost 6 years ago
docker pull galexrt/node-exporter-smartmon