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

Add TLS and basic authentication in web interface #16

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Dmitry-Eremeev
Copy link

  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