mirror of
https://github.com/gethomepage/homepage.git
synced 2026-05-19 03:49:14 +08:00
Enhancement: Add node parameter to Technitium DNS Widget (#6638)
This commit is contained in:
committed by
GitHub
parent
72b0e493d0
commit
ce8f020b7b
@@ -14,6 +14,7 @@ widget:
|
||||
type: technitium
|
||||
url: <url to dns server>
|
||||
key: biglongapitoken
|
||||
node: <node dns name or cluster> # optional, defaults to current node
|
||||
range: LastDay # optional, defaults to LastHour
|
||||
```
|
||||
|
||||
@@ -21,6 +22,10 @@ widget:
|
||||
|
||||
This can be generated via the Technitium DNS Dashboard, and should be generated from a special API specific user.
|
||||
|
||||
#### Node
|
||||
|
||||
`node` value determines which Technitium cluster node the statistics are returned for. Specifying a value of `cluster` returns aggregrate stats for all nodes in the cluster. Specify a node domain name to return specific node stats, no value returns stats for the node against which the API is executed.
|
||||
|
||||
#### Range
|
||||
|
||||
`range` value determines how far back of statistics to pull data for. The value comes directly from Technitium API documentation found [here](https://github.com/TechnitiumSoftware/DnsServer/blob/master/APIDOCS.md#dashboard-api-calls), defined as `"type"`. The value can be one of: `LastHour`, `LastDay`, `LastWeek`, `LastMonth`, `LastYear`.
|
||||
|
||||
Reference in New Issue
Block a user