This commit is contained in:
Горлов Максим 2019-08-14 23:38:48 +03:00
parent 9e6e240e85
commit cc03403fe9
3 changed files with 3 additions and 3 deletions

View File

@ -16,7 +16,7 @@ Export smartctl statistics to prometheus
Example content: Example content:
``` ```
smartctl_exporter: smartctl_exporter:
bind_to: "[::1]:9631" bind_to: "[::1]:9633"
url_path: "/metrics" url_path: "/metrics"
fake_json: no fake_json: no
smartctl_location: /usr/sbin/smartctl smartctl_location: /usr/sbin/smartctl

View File

@ -50,7 +50,7 @@ func loadOptions() Options {
opts := Options{ opts := Options{
SMARTOptions{ SMARTOptions{
BindTo: "9631", BindTo: "9633",
URLPath: "/metrics", URLPath: "/metrics",
FakeJSON: false, FakeJSON: false,
SMARTctlLocation: "/usr/sbin/smartctl", SMARTctlLocation: "/usr/sbin/smartctl",

View File

@ -1,5 +1,5 @@
smartctl_exporter: smartctl_exporter:
bind_to: "[::1]:9631" bind_to: "[::1]:9633"
url_path: "/metrics" url_path: "/metrics"
fake_json: no fake_json: no
smartctl_location: /usr/sbin/smartctl smartctl_location: /usr/sbin/smartctl