From cc03403fe94bbbfaa70b9413892407d3dc038f03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=93=D0=BE=D1=80=D0=BB=D0=BE=D0=B2=20=D0=9C=D0=B0=D0=BA?= =?UTF-8?q?=D1=81=D0=B8=D0=BC?= Date: Wed, 14 Aug 2019 23:38:48 +0300 Subject: [PATCH] change default port to reserved at https://github.com/prometheus/prometheus/wiki/Default-port-allocations --- README.md | 2 +- options.go | 2 +- smartctl_exporter.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e95f079..e2036c6 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Export smartctl statistics to prometheus Example content: ``` smartctl_exporter: - bind_to: "[::1]:9631" + bind_to: "[::1]:9633" url_path: "/metrics" fake_json: no smartctl_location: /usr/sbin/smartctl diff --git a/options.go b/options.go index f02ab3d..2a36d8b 100644 --- a/options.go +++ b/options.go @@ -50,7 +50,7 @@ func loadOptions() Options { opts := Options{ SMARTOptions{ - BindTo: "9631", + BindTo: "9633", URLPath: "/metrics", FakeJSON: false, SMARTctlLocation: "/usr/sbin/smartctl", diff --git a/smartctl_exporter.yaml b/smartctl_exporter.yaml index 939a02b..ca1c62d 100644 --- a/smartctl_exporter.yaml +++ b/smartctl_exporter.yaml @@ -1,5 +1,5 @@ smartctl_exporter: - bind_to: "[::1]:9631" + bind_to: "[::1]:9633" url_path: "/metrics" fake_json: no smartctl_location: /usr/sbin/smartctl