mirror of
https://github.com/prometheus-community/smartctl_exporter.git
synced 2024-11-23 01:43:07 +01:00
change default port to reserved at https://github.com/prometheus/prometheus/wiki/Default-port-allocations
This commit is contained in:
parent
9e6e240e85
commit
cc03403fe9
3 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
|
@ -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",
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue