Prometheus exporter for smartmontools to export the S.M.A.R.T. attributes. Using /dev/disk/by-id.
1.1K
Prometheus exporter for smartmontools to export the S.M.A.R.T. attributes.
This exporter uses device IDs which created in /dev/disk/by-id as device in case labels(like /dev/sda) changed after hardware modification.
This project was modified from https://github.com/STI26/smartctl_exporter which is using label as device name. Thank the earlier work by ctrysbita and STI26.
docker run --detach --privileged -p 9111:9111 --name smartctl_exporter_by_id -v /dev:/dev:ro libook/smartctl_exporter_by_id:latest
# or via podman
podman run --detach --privileged -p 9111:9111 --name smartctl-exporter-by-id -v /dev:/dev:ro docker.io/libook/smartctl_exporter_by_id:latest
--addr Listen address. Default to listen on all network interface.--port Listen port. Default to 9111.--path Matrics path. Default to /metrics.--disable-auth Set to true to disable Basic Authentication.--user Username of Basic Authentication. Default to admin.--pass Password of Basic Authentication. Default to admin.--version Show version.Metrics will be available at http://localhost:9111/metrics
Content type
Image
Digest
sha256:8a599f66d…
Size
8.2 MB
Last updated
about 3 years ago
docker pull libook/smartctl_exporter_by_id