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