| 1 | plugin_name: go.d.plugin |
| 2 | modules: |
| 3 | - meta: |
| 4 | id: collector-go.d.plugin-powerdns |
| 5 | plugin_name: go.d.plugin |
| 6 | module_name: powerdns |
| 7 | monitored_instance: |
| 8 | name: PowerDNS Authoritative Server |
| 9 | link: https://doc.powerdns.com/authoritative/ |
| 10 | icon_filename: powerdns.svg |
| 11 | categories: |
| 12 | - data-collection.networking |
| 13 | keywords: |
| 14 | - powerdns |
| 15 | - dns |
| 16 | related_resources: |
| 17 | integrations: |
| 18 | list: [] |
| 19 | info_provided_to_referring_integrations: |
| 20 | description: "" |
| 21 | overview: |
| 22 | data_collection: |
| 23 | metrics_description: | |
| 24 | This collector monitors PowerDNS Authoritative Server instances. |
| 25 | It collects metrics from [the internal webserver](https://doc.powerdns.com/authoritative/http-api/index.html#webserver). |
| 26 | |
| 27 | Used endpoints: |
| 28 | |
| 29 | - [`/api/v1/servers/localhost/statistics`](https://doc.powerdns.com/authoritative/http-api/statistics.html) |
| 30 | method_description: "" |
| 31 | supported_platforms: |
| 32 | include: [] |
| 33 | exclude: [] |
| 34 | multi_instance: true |
| 35 | additional_permissions: |
| 36 | description: "" |
| 37 | default_behavior: |
| 38 | auto_detection: |
| 39 | description: "" |
| 40 | limits: |
| 41 | description: "" |
| 42 | performance_impact: |
| 43 | description: "" |
| 44 | setup: |
| 45 | prerequisites: |
| 46 | list: |
| 47 | - title: Enable webserver |
| 48 | description: | |
| 49 | Follow [webserver](https://doc.powerdns.com/authoritative/http-api/index.html#webserver) documentation. |
| 50 | - title: Enable HTTP API |
| 51 | description: | |
| 52 | Follow [HTTP API](https://doc.powerdns.com/authoritative/http-api/index.html#enabling-the-api) documentation. |
| 53 | configuration: |
| 54 | file: |
| 55 | name: go.d/powerdns.conf |
| 56 | options: |
| 57 | description: | |
| 58 | The following options can be defined globally: update_every, autodetection_retry. |
| 59 | folding: |
| 60 | title: Config options |
| 61 | enabled: true |
| 62 | list: |
| 63 | - name: update_every |
| 64 | description: Data collection interval (seconds). |
| 65 | default_value: 1 |
| 66 | required: false |
| 67 | group: Collection |
| 68 | - name: autodetection_retry |
| 69 | description: Autodetection retry interval (seconds). Set 0 to disable. |
| 70 | default_value: 0 |
| 71 | required: false |
| 72 | group: Collection |
| 73 | |
| 74 | - name: url |
| 75 | description: Target endpoint URL. |
| 76 | default_value: http://127.0.0.1:8081 |
| 77 | required: true |
| 78 | group: Target |
| 79 | - name: timeout |
| 80 | description: HTTP request timeout (seconds). |
| 81 | default_value: 1 |
| 82 | required: false |
| 83 | group: Target |
| 84 | |
| 85 | - name: username |
| 86 | description: Username for Basic HTTP authentication. |
| 87 | default_value: "" |
| 88 | required: false |
| 89 | group: HTTP Auth |
| 90 | - name: password |
| 91 | description: Password for Basic HTTP authentication. |
| 92 | default_value: "" |
| 93 | required: false |
| 94 | group: HTTP Auth |
| 95 | - name: bearer_token_file |
| 96 | description: "Path to a file containing a bearer token (used for `Authorization: Bearer`)." |
| 97 | default_value: "" |
| 98 | required: false |
| 99 | group: HTTP Auth |
| 100 | |
| 101 | - name: tls_skip_verify |
| 102 | description: Skip TLS certificate and hostname verification (insecure). |
| 103 | default_value: no |
| 104 | required: false |
| 105 | group: TLS |
| 106 | - name: tls_ca |
| 107 | description: Path to CA bundle used to validate the server certificate. |
| 108 | default_value: "" |
| 109 | required: false |
| 110 | group: TLS |
| 111 | - name: tls_cert |
| 112 | description: Path to client TLS certificate (for mTLS). |
| 113 | default_value: "" |
| 114 | required: false |
| 115 | group: TLS |
| 116 | - name: tls_key |
| 117 | description: Path to client TLS private key (for mTLS). |
| 118 | default_value: "" |
| 119 | required: false |
| 120 | group: TLS |
| 121 | |
| 122 | - name: proxy_url |
| 123 | description: HTTP proxy URL. |
| 124 | default_value: "" |
| 125 | required: false |
| 126 | group: Proxy |
| 127 | - name: proxy_username |
| 128 | description: Username for proxy Basic HTTP authentication. |
| 129 | default_value: "" |
| 130 | required: false |
| 131 | group: Proxy |
| 132 | - name: proxy_password |
| 133 | description: Password for proxy Basic HTTP authentication. |
| 134 | default_value: "" |
| 135 | required: false |
| 136 | group: Proxy |
| 137 | |
| 138 | - name: method |
| 139 | description: HTTP method to use. |
| 140 | default_value: "GET" |
| 141 | required: false |
| 142 | group: Request |
| 143 | - name: body |
| 144 | description: Request body (e.g., for POST/PUT). |
| 145 | default_value: "" |
| 146 | required: false |
| 147 | group: Request |
| 148 | - name: headers |
| 149 | description: "Additional HTTP headers (one per line as key: value)." |
| 150 | default_value: "" |
| 151 | required: false |
| 152 | group: Request |
| 153 | - name: not_follow_redirects |
| 154 | description: Do not follow HTTP redirects. |
| 155 | default_value: no |
| 156 | required: false |
| 157 | group: Request |
| 158 | - name: force_http2 |
| 159 | description: Force HTTP/2 (including h2c over TCP). |
| 160 | default_value: no |
| 161 | required: false |
| 162 | group: Request |
| 163 | |
| 164 | - name: vnode |
| 165 | description: Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes). |
| 166 | default_value: "" |
| 167 | required: false |
| 168 | group: Virtual Node |
| 169 | examples: |
| 170 | folding: |
| 171 | title: Config |
| 172 | enabled: true |
| 173 | list: |
| 174 | - name: Basic |
| 175 | description: An example configuration. |
| 176 | config: | |
| 177 | jobs: |
| 178 | - name: local |
| 179 | url: http://127.0.0.1:8081 |
| 180 | - name: HTTP authentication |
| 181 | description: Basic HTTP authentication. |
| 182 | config: | |
| 183 | jobs: |
| 184 | - name: local |
| 185 | url: http://127.0.0.1:8081 |
| 186 | username: admin |
| 187 | password: password |
| 188 | - name: Multi-instance |
| 189 | description: | |
| 190 | > **Note**: When you define multiple jobs, their names must be unique. |
| 191 | |
| 192 | Local and remote instances. |
| 193 | config: | |
| 194 | jobs: |
| 195 | - name: local |
| 196 | url: http://127.0.0.1:8081 |
| 197 | |
| 198 | - name: remote |
| 199 | url: http://203.0.113.0:8081 |
| 200 | troubleshooting: |
| 201 | problems: |
| 202 | list: [] |
| 203 | alerts: [] |
| 204 | metrics: |
| 205 | folding: |
| 206 | title: Metrics |
| 207 | enabled: false |
| 208 | description: "" |
| 209 | availability: [] |
| 210 | scopes: |
| 211 | - name: global |
| 212 | description: These metrics refer to the entire monitored application. |
| 213 | labels: [] |
| 214 | metrics: |
| 215 | - name: powerdns.questions_in |
| 216 | description: Incoming questions |
| 217 | unit: questions/s |
| 218 | chart_type: line |
| 219 | dimensions: |
| 220 | - name: udp |
| 221 | - name: tcp |
| 222 | - name: powerdns.questions_out |
| 223 | description: Outgoing questions |
| 224 | unit: questions/s |
| 225 | chart_type: line |
| 226 | dimensions: |
| 227 | - name: udp |
| 228 | - name: tcp |
| 229 | - name: powerdns.cache_usage |
| 230 | description: Cache Usage |
| 231 | unit: events/s |
| 232 | chart_type: line |
| 233 | dimensions: |
| 234 | - name: query-cache-hit |
| 235 | - name: query-cache-miss |
| 236 | - name: packetcache-hit |
| 237 | - name: packetcache-miss |
| 238 | - name: powerdns.cache_size |
| 239 | description: Cache Size |
| 240 | unit: entries |
| 241 | chart_type: line |
| 242 | dimensions: |
| 243 | - name: query-cache |
| 244 | - name: packet-cache |
| 245 | - name: key-cache |
| 246 | - name: meta-cache |
| 247 | - name: powerdns.latency |
| 248 | description: Answer latency |
| 249 | unit: microseconds |
| 250 | chart_type: line |
| 251 | dimensions: |
| 252 | - name: latency |