Compare commits

..

No commits in common. "f82bd4edf27b750710358c58e8183dc3643e9ea6" and "c0d238182425754b41846d22fbcd89716bc2f41f" have entirely different histories.

3 changed files with 2 additions and 5 deletions

View file

@ -49,9 +49,6 @@ 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`

View file

@ -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{% if ddns_silence is defined and ddns_silence is sameas true %} 2>&1{% endif %}" job: "/usr/local/bin/ddns-hosts.sh > /dev/null"

View file

@ -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.4.13" ] agents = [ "192.168.4.11", "192.168.4.12", "192.168.8.13" ]
interval = "5m" interval = "5m"
timeout = "10s" timeout = "10s"
retries = 3 retries = 3