Cleanup obsolete yaml config

Remove the old yaml config and usage.

Signed-off-by: SuperQ <superq@gmail.com>
This commit is contained in:
SuperQ 2022-10-03 17:35:37 +02:00
parent 14778c90ea
commit c9b4f52ec6
No known key found for this signature in database
GPG key ID: C646B23C9E3245F1
3 changed files with 0 additions and 22 deletions

View file

@ -9,8 +9,6 @@ ARG ARCH="amd64"
ARG OS="linux"
COPY .build/${OS}-${ARCH}/smartctl_exporter /bin/smartctl_exporter
COPY smartctl_exporter.yaml /etc/smartctl_exporter.yaml
EXPOSE 9633
USER nobody
ENTRYPOINT [ "/bin/smartctl_exporter" ]

View file

@ -28,5 +28,4 @@ src_install() {
newbin bin/${PN}-${PV} ${PN}
dodoc "README.md"
insinto /etc
newins "${FILESDIR}/smartctl_exporter.yaml" smartctl_exporter.yaml
}

View file

@ -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