-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for '--web.config.file' flag and TLS authentication #130
Comments
hi @chillriver, that's currently not a supported option Feel free to submit a PR in order to add that feature |
hi @Lusitaniae, thanks for your reply. I tried something to test and made lucky result. It works!! I changed follow: to : The configfile is loading and now I can pull from my webbrowser with TLS. Can you confirm this setting? |
That's good to hear Seems I rushed in my reply and give you wrong information! Would you like to make a quick PR to update the parameter mentioned in the README at https://github.com/Lusitaniae/apache_exporter/blob/aee05657dae4661965fbd40df3fb99fc43b5c016/README.md#tls-and-basic-authentication and anything else you think relevant? |
Yes I can edit the README and make a PR. It should be change the TLS chapter and also the help on flags. |
Much appreciated! |
Hello,
how does the topic already say. I have that error when I started the service from systemd an read in the log from journalctl:
apache_exporter: error: unknown long flag '--web.config.file', try --help
I want to add a configfile in order to use TLS and define the certspath. Here is my configfragment in the unitfile from systemd.
ExecStart=/usr/local/bin/apache_exporter
--web.config.file="/etc/apache_exporter/web.yml"
--scrape_uri="https://localhost/server-status?auto"
--telemetry.address="0.0.0.0:9117"
Version of my apache_exporter v0.11.0
The text was updated successfully, but these errors were encountered: