You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
funnily enough I've just had the same. I could resolve that with given api-url the full url as /api/v1/ seems to need set there aswell. So just modify -api-url="http://host:port/" to -api-url="http://host:port/api/v1/" solved it for me.
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
The text was updated successfully, but these errors were encountered: