powerdns_exporter icon indicating copy to clipboard operation
powerdns_exporter copied to clipboard

running docker image janeczku/powerdns-exporter

Open awsmaythem opened this issue 3 years ago • 1 comments

Hello

When i try docker run -p 9120:9120 janeczku/powerdns-exporter -api-url="http://host:port/" -api-key="api-key" the response : level=fatal msg="Could not fetch PowerDNS server info: Not Found" source="powerdns_exporter.go:332" My host and port and api-key is correct i tested the api by curl -H 'X-API-Key: api-key' http://host:port/api/v1/servers/localhost/zones/example.org. | jq . there is a response back. how to solve it?

my os : centos 7 powerdns 4.5.1

awsmaythem avatar Aug 24 '21 10:08 awsmaythem