Compare commits

...

2 commits

3 changed files with 5 additions and 2 deletions

View file

@ -49,6 +49,9 @@ Mandatory variables:
- `ddns_passphrase`: Passphrase for updating dynDNS entries
- `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
Mandatory variables:
- `telegraf_server_url`: URL of the influxDB server, e.g. `https://example.com:8086`

View file

@ -21,4 +21,4 @@
name: "{{ ddns_domain }} dynDNS"
minute: "*/5"
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 %}"

View file

@ -2,7 +2,7 @@
## SNMP Input For Unifi APs (Gen 2/Gen 3)
##
[[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"
timeout = "10s"
retries = 3