Closed pentiumoverdrive closed 7 years ago
In pdns 4.0.1 you would access the api via a different URL that is suggested, its:
./powerdns_exporter -api-url="http://localhost:8081/api/v1/" -api-key='mykey"
A minor documentation thing, but the usage example is missing a "-" for api-url (which should also show /api/v1:
go run powerdns_exporter api-url="http://<HOST>:<API-PORT>/api/v1" -api-key="<YOUR_API_KEY>"
Now its working, great exporter btw :)
didn't read the documentation good enough :)
In pdns 4.0.1 you would access the api via a different URL that is suggested, its:
./powerdns_exporter -api-url="http://localhost:8081/api/v1/" -api-key='mykey"
A minor documentation thing, but the usage example is missing a "-" for api-url (which should also show /api/v1:
go run powerdns_exporter api-url="http://<HOST>:<API-PORT>/api/v1" -api-key="<YOUR_API_KEY>"
Now its working, great exporter btw :)