Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Add TLS and basic authentication in web interface - #16

Open
Dmitry-Eremeev wants to merge 1 commit into
greenpau:mainfrom
Dmitry-Eremeev:issues/15
Open

Add TLS and basic authentication in web interface#16
Dmitry-Eremeev wants to merge 1 commit into
greenpau:mainfrom
Dmitry-Eremeev:issues/15

Conversation

@Dmitry-Eremeev

Copy link
Copy Markdown
  1. TLS and basic authentication are in flag --web.config.file: https://github.com/prometheus/exporter-toolkit/blob/master/docs/web-configuration.md#web-configuration 2) All command-line arguments are with two dashes now.

Example:
./ovs-exporter --web.listen-address 10.224.141.48:9134 --database.vswitch.file.pid.path /run/openvswitch/ovsdb-server.pid --database.vswitch.socket.remote unix:/run/openvswitch/db.sock --service.vswitchd.file.pid.path /run/openvswitch/ovs-vswitchd.pid --system.run.dir /run/openvswitch --database.vswitch.file.log.path /var/log/kolla/openvswitch/ovsdb-server.log --service.vswitchd.file.log.path /var/log/kolla/openvswitch/ovs-vswitchd.log --log.level=debug --web.config.file web_config.yml

Prometheus Exporter Toolkit provides TLS and basic authentication in exporters.
The Toolkit requires newer command-line and log packages. So packages "flag" and "go-kit/log" were replaced.

https://github.com/greenpau/ovs_exporter/issues

1) TLS and basic authentication are in flag `--web.config.file`:
https://github.com/prometheus/exporter-toolkit/blob/master/docs/web-configuration.md#web-configuration
2) All command-line arguments are with two dashes now.

Example:
./ovs-exporter --web.listen-address 10.224.141.48:9134 --database.vswitch.file.pid.path /run/openvswitch/ovsdb-server.pid --database.vswitch.socket.remote unix:/run/openvswitch/db.sock --service.vswitchd.file.pid.path /run/openvswitch/ovs-vswitchd.pid --system.run.dir /run/openvswitch --database.vswitch.file.log.path /var/log/kolla/openvswitch/ovsdb-server.log --service.vswitchd.file.log.path /var/log/kolla/openvswitch/ovs-vswitchd.log --log.level=debug --web.config.file web_config.yml

Prometheus Exporter Toolkit provides TLS and basic authentication in
exporters.
The Toolkit requires newer command-line and log packages.
So packages "flag" and "go-kit/log" were replaced.

greenpau#15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant