Compare commits
2 commits
c0d2381824
...
f82bd4edf2
Author | SHA1 | Date | |
---|---|---|---|
Jannik Beyerstedt | f82bd4edf2 | ||
Jannik Beyerstedt | 4784804b96 |
|
@ -49,6 +49,9 @@ Mandatory variables:
|
||||||
- `ddns_passphrase`: Passphrase for updating dynDNS entries
|
- `ddns_passphrase`: Passphrase for updating dynDNS entries
|
||||||
- `ddns_domain`: Domain where the host's entries are created as `$hostname.$ddns_domain`
|
- `ddns_domain`: Domain where the host's entries are created as `$hostname.$ddns_domain`
|
||||||
|
|
||||||
|
Optional variable:
|
||||||
|
- `ddns_silence`: Set to true to silence stderr too
|
||||||
|
|
||||||
### Telegraf
|
### Telegraf
|
||||||
Mandatory variables:
|
Mandatory variables:
|
||||||
- `telegraf_server_url`: URL of the influxDB server, e.g. `https://example.com:8086`
|
- `telegraf_server_url`: URL of the influxDB server, e.g. `https://example.com:8086`
|
||||||
|
|
|
@ -21,4 +21,4 @@
|
||||||
name: "{{ ddns_domain }} dynDNS"
|
name: "{{ ddns_domain }} dynDNS"
|
||||||
minute: "*/5"
|
minute: "*/5"
|
||||||
hour: "*"
|
hour: "*"
|
||||||
job: "/usr/local/bin/ddns-hosts.sh > /dev/null"
|
job: "/usr/local/bin/ddns-hosts.sh > /dev/null{% if ddns_silence is defined and ddns_silence is sameas true %} 2>&1{% endif %}"
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
## SNMP Input For Unifi APs (Gen 2/Gen 3)
|
## SNMP Input For Unifi APs (Gen 2/Gen 3)
|
||||||
##
|
##
|
||||||
[[inputs.snmp]]
|
[[inputs.snmp]]
|
||||||
agents = [ "192.168.4.11", "192.168.4.12", "192.168.8.13" ]
|
agents = [ "192.168.4.11", "192.168.4.12", "192.168.4.13" ]
|
||||||
interval = "5m"
|
interval = "5m"
|
||||||
timeout = "10s"
|
timeout = "10s"
|
||||||
retries = 3
|
retries = 3
|
||||||
|
|
Loading…
Reference in a new issue