mirror of
https://github.com/prometheus-community/smartctl_exporter.git
synced 2024-11-23 01:43:07 +01:00
Cleanup obsolete yaml config
Remove the old yaml config and usage. Signed-off-by: SuperQ <superq@gmail.com>
This commit is contained in:
parent
14778c90ea
commit
c9b4f52ec6
3 changed files with 0 additions and 22 deletions
|
@ -9,8 +9,6 @@ ARG ARCH="amd64"
|
||||||
ARG OS="linux"
|
ARG OS="linux"
|
||||||
COPY .build/${OS}-${ARCH}/smartctl_exporter /bin/smartctl_exporter
|
COPY .build/${OS}-${ARCH}/smartctl_exporter /bin/smartctl_exporter
|
||||||
|
|
||||||
COPY smartctl_exporter.yaml /etc/smartctl_exporter.yaml
|
|
||||||
|
|
||||||
EXPOSE 9633
|
EXPOSE 9633
|
||||||
USER nobody
|
USER nobody
|
||||||
ENTRYPOINT [ "/bin/smartctl_exporter" ]
|
ENTRYPOINT [ "/bin/smartctl_exporter" ]
|
||||||
|
|
|
@ -28,5 +28,4 @@ src_install() {
|
||||||
newbin bin/${PN}-${PV} ${PN}
|
newbin bin/${PN}-${PV} ${PN}
|
||||||
dodoc "README.md"
|
dodoc "README.md"
|
||||||
insinto /etc
|
insinto /etc
|
||||||
newins "${FILESDIR}/smartctl_exporter.yaml" smartctl_exporter.yaml
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,19 +0,0 @@
|
||||||
smartctl_exporter:
|
|
||||||
bind_to: "0.0.0.0:9633"
|
|
||||||
url_path: "/metrics"
|
|
||||||
fake_json: no
|
|
||||||
smartctl_location: /usr/sbin/smartctl
|
|
||||||
collect_not_more_than_period: 20s
|
|
||||||
devices:
|
|
||||||
- /dev/sda
|
|
||||||
- /dev/sdb
|
|
||||||
- /dev/sdc
|
|
||||||
- /dev/sdd
|
|
||||||
- /dev/sde
|
|
||||||
- /dev/sdf
|
|
||||||
- /dev/sdg
|
|
||||||
- /dev/sdh
|
|
||||||
- /dev/sdi
|
|
||||||
- /dev/sdj
|
|
||||||
- /dev/sdk
|
|
||||||
- /dev/sdl
|
|
Loading…
Reference in a new issue