mirror of
https://github.com/prometheus-community/smartctl_exporter.git
synced 2024-11-16 01:33:07 +01:00
Merge pull request #76 from prometheus-community/superq/cleanup_config
Cleanup obsolete yaml config
This commit is contained in:
commit
bc49dec5a6
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