Fix powerdns_recursor socket_mode option (#6572)

This commit is contained in:
Daniel Nelson
2019-10-23 12:50:54 -07:00
committed by GitHub
parent 44ab9b44f8
commit 504ccc25a7
3 changed files with 33 additions and 9 deletions

View File

@@ -14,6 +14,16 @@ The powerdns plugin gathers metrics about PowerDNS using unix socket.
unix_sockets = ["/var/run/pdns.controlsocket"]
```
#### Permissions
Telegraf will need read access to the powerdns control socket.
On many systems this can be accomplished by adding the `telegraf` user to the
`pdns` group:
```
usermod telegraf -a -G pdns
```
### Measurements & Fields:
- powerdns