smartctl_exporter_by_id

command module
v0.0.0-...-29980de Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 30, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

README

smartctl_exporter_by_id

Docker Image Size

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.

Deployment

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
Parameters
  • --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

Grafana Dashboard

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL