TLS and Basic Auth Config Flag not working
Eforen opened this issue · 2 comments
Eforen commented
Not sure if I am stupid or the documentation is incomplete or something.
I am unable to get the webconfig file working
>"C:\Program Files\windows_exporter\windows_exporter.exe" --log.format logger:eventlog?name=windows_exporter --telemetry.addr :9182 --web.config.file C:\Monitoring\web.yaml
windows_exporter.exe: error: unknown long flag '--web.config.file', try --help
my web.yaml is
tls_server_config:
cert_file: C:\Monitoring\cert.crt
key_file: C:\Monitoring\cert.key
basic_auth_users:
prometheus: [redacted]
roidelapluie commented
It seems like this has not been relased yet, and in the default branch,the code is on --web.config, not web.config.file
Created prometheus-community/windows_exporter#735 to align the flag.
bboreham commented
Very old issue; I assume this is resolved now.