Merge pull request #76 from prometheus-community/superq/cleanup_config

Cleanup obsolete yaml config
This commit is contained in:
Ben Kochie 2022-10-05 13:53:19 +02:00 committed by GitHub
commit bc49dec5a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 22 deletions

View File

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

View File

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

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