From c9b4f52ec6671201f28e2fef2cb06a01997caa0d Mon Sep 17 00:00:00 2001 From: SuperQ Date: Mon, 3 Oct 2022 17:35:37 +0200 Subject: [PATCH] Cleanup obsolete yaml config Remove the old yaml config and usage. Signed-off-by: SuperQ --- Dockerfile | 2 -- .../smartctl_exporter-9999.ebuild | 1 - smartctl_exporter.yaml | 19 ------------------- 3 files changed, 22 deletions(-) delete mode 100755 smartctl_exporter.yaml 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