Package Details: smartctl_exporter 0.14.0-3

Git Clone URL: https://aur.archlinux.org/smartctl_exporter.git (read-only, click to copy)
Package Base: smartctl_exporter
Description: Prometheus exporter for S.M.A.R.T. metrics using smartctl
Upstream URL: https://github.com/prometheus-community/smartctl_exporter
Licenses: GNU
Submitter: k0ste
Maintainer: k0ste
Last Packager: k0ste
Votes: 1
Popularity: 0.63
First Submitted: 2024-03-29 19:52 (UTC)
Last Updated: 2026-07-03 14:19 (UTC)

Latest Comments

jpetrina commented on 2026-07-12 16:43 (UTC)

Good catch about the package in [extra] I missed that, thanks.

I only now noticed that this package adds improvements via patches PR290 and PR293 so that made it clearer.

k0ste commented on 2026-07-12 15:05 (UTC) (edited on 2026-07-12 15:05 (UTC) by k0ste)

When building with paru -S smartctl_exporter I get this

Create issue for this program, why it ignores env's? Or use makepkg

Unrelated nitpick, but could this package be renamed to

Already exists https://archlinux.org/packages/extra/x86_64/prometheus-smartctl-exporter

jpetrina commented on 2026-07-12 14:35 (UTC) (edited on 2026-07-12 14:36 (UTC) by jpetrina)

When building with paru -S smartctl_exporter I get this:

==> Starting build()...
.../.cache/paru/clone/smartctl_exporter/PKGBUILD: line 45: cd: /src/github.com/prometheus-community/smartctl_exporter: No such file or directory
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'smartctl_exporter-0.14.0-3':

The build probably does not carry over environment from prepare() which exports GOPATH so maybe exporting it outside is a proper fix? Thanks.

Unrelated nitpick, but could this package be renamed to prometheus-<thing>-exporter i.e. prometheus-smartctl-exporter since most other packages follow the convention (https://aur.archlinux.org/packages?O=0&K=prometheus%2D)?

tyrolyean commented on 2026-07-03 14:49 (UTC)

thanks a lot ^^

k0ste commented on 2026-07-03 14:20 (UTC)

@tyrolyean updated 🚚

tyrolyean commented on 2026-07-03 13:21 (UTC)

Hi, can you please change patch -p1 -i "../${e}" to patch -p1 -i "${e}" since the former escapes the actual source dir, and fails if srcdir isn't underneath the repository (i.e. if building inside a chroot). Thanks