Skip to content

Add support for '--web.config.file' flag and TLS authentication #130

@chillriver

Description

@chillriver

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="http://localhost/server-status?auto"
--telemetry.address="0.0.0.0:9117"

Version of my apache_exporter v0.11.0

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions