more fixes.

This commit is contained in:
David Newhall II 2019-06-21 04:34:57 -07:00
parent d0b462523b
commit 304a2aae1b
2 changed files with 48 additions and 45 deletions

View File

@ -34,10 +34,11 @@ script:
# test and build everything # test and build everything
- rvm 2.0.0 do make release - rvm 2.0.0 do make release
after_success: after_success:
# Display Release Folder
- ls -l release/
- | - |
declare -r SSH_FILE="$(mktemp -u $HOME/.ssh/XXXXX)" declare -r SSH_FILE="$(mktemp -u $HOME/.ssh/XXXXX)"
# Display Release Folder
ls -l release/
echo -e "Host github.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config echo -e "Host github.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
# Get deploy key for golift/homebrew-mugs. # Get deploy key for golift/homebrew-mugs.
openssl aes-256-cbc -K $encrypted_9f3147001275_key -iv $encrypted_9f3147001275_iv -in ".travis/github_deploy_key.enc" -out "$SSH_FILE" -d openssl aes-256-cbc -K $encrypted_9f3147001275_key -iv $encrypted_9f3147001275_iv -in ".travis/github_deploy_key.enc" -out "$SSH_FILE" -d

View File

@ -5,53 +5,55 @@
# provided values are defaults # # provided values are defaults #
######################################################## ########################################################
--> -->
<unifi-poller>
<!--
If the controller has more than one site, specify which sites to poll here.
If only one site, "default" is likely the correct name.
Set this to ["all"] to poll all sites, no matter their names.
Add more sites by adding additional lines:
<sites>site1</sites>
<sites>site2</sites>
-->
<sites>default</sites>
<!-- <!--
If the controller has more than one site, specify which sites to poll here. The Unifi Controller only updates traffic stats about every 30 seconds.
If only one site, "default" is likely the correct name. Setting this to something lower may lead to "zeros" in your data. You've been warned.
Set this to ["all"] to poll all sites, no matter their names. -->
Add more sites by adding additional lines: <interval>30s</interval>
<sites>site1</sites>
<sites>site2</sites>
-->
<sites>default</sites>
<!-- <!-- Turns on line numbers, microsecond logging, and a per-device log. -->
The Unifi Controller only updates traffic stats about every 30 seconds. <debug>false</debug>
Setting this to something lower may lead to "zeros" in your data. You've been warned.
-->
<interval>30s</interval>
<!-- Turns on line numbers, microsecond logging, and a per-device log. --> <!--
<debug>false</debug> Turns off per-device log and per-interval log. Logs only errors.
Recommend using debug with this setting for better error logging.
-->
<quiet>false</quiet>
<!-- <!--
Turns off per-device log and per-interval log. Logs only errors. # If the poller experiences an error from the Unifi Controller or from InfluxDB
Recommend using debug with this setting for better error logging. # it will exit. If you do not want it to exit, change max_errors to -1. You can
--> # adjust the config to tolerate more errors by setting this to a higher value.
<quiet>false</quiet> # Recommend setting this between 0 and 5. See man page for more explanation.
-->
<max_errors>0</max_errors>
<!-- <!-- InfluxDB does not require auth by default, so the user/password are probably unimportant. -->
# If the poller experiences an error from the Unifi Controller or from InfluxDB <influx_db>unifi</influx_db>
# it will exit. If you do not want it to exit, change max_errors to -1. You can <influx_pass>unifi</influx_pass>
# adjust the config to tolerate more errors by setting this to a higher value. <influx_url>http://127.0.0.1:8086</influx_url>
# Recommend setting this between 0 and 5. See man page for more explanation. <influx_user>unifi</influx_user>
-->
<max_errors>0</max_errors>
<!-- InfluxDB does not require auth by default, so the user/password are probably unimportant. -->
<influx_db>unifi</influx_db>
<influx_pass>unifi</influx_pass>
<influx_url>http://127.0.0.1:8086</influx_url>
<influx_user>unifi</influx_user>
<!-- Make a read-only user in the Unifi Admin Settings. --> <!-- Make a read-only user in the Unifi Admin Settings. -->
<unifi_user>influxdb</unifi_user> <unifi_user>influxdb</unifi_user>
<unifi_pass></unifi_pass> <unifi_pass></unifi_pass>
<unifi_url>https://127.0.0.1:8443</unifi_url> <unifi_url>https://127.0.0.1:8443</unifi_url>
<!-- <!--
If your Unifi controller has a valid SSL certificate, you can enable If your Unifi controller has a valid SSL certificate, you can enable
this option to validate it. Otherwise, any SSL certificate is valid. this option to validate it. Otherwise, any SSL certificate is valid.
--> -->
<verify_ssl>false</verify_ssl> <verify_ssl>false</verify_ssl>
</unifi-poller>