diff --git a/Dockerfile b/Dockerfile index 1fd60c1..83d3a47 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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" ] diff --git a/gentoo/app-metrics/smartctl_exporter/smartctl_exporter-9999.ebuild b/gentoo/app-metrics/smartctl_exporter/smartctl_exporter-9999.ebuild index 606c00b..6df37e7 100644 --- a/gentoo/app-metrics/smartctl_exporter/smartctl_exporter-9999.ebuild +++ b/gentoo/app-metrics/smartctl_exporter/smartctl_exporter-9999.ebuild @@ -28,5 +28,4 @@ src_install() { newbin bin/${PN}-${PV} ${PN} dodoc "README.md" insinto /etc - newins "${FILESDIR}/smartctl_exporter.yaml" smartctl_exporter.yaml } diff --git a/smartctl_exporter.yaml b/smartctl_exporter.yaml deleted file mode 100755 index f3d7c58..0000000 --- a/smartctl_exporter.yaml +++ /dev/null @@ -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