Merge pull request #52 from davidnewhall/dn2_mv_dashs

Update docs with new dashboard locations.
This commit is contained in:
David Newhall II 2019-06-23 01:19:04 -07:00 committed by GitHub
commit 505b707262
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
14 changed files with 14 additions and 17650 deletions

View File

@ -121,15 +121,14 @@ docker:
package_build_linux: readme man linux package_build_linux: readme man linux
# Building package environment for linux. # Building package environment for linux.
mkdir -p $@/usr/bin $@/etc/$(BINARY) $@/lib/systemd/system mkdir -p $@/usr/bin $@/etc/$(BINARY) $@/lib/systemd/system
mkdir -p $@/usr/share/man/man1 $@/usr/share/doc/$(BINARY)/examples mkdir -p $@/usr/share/man/man1 $@/usr/share/doc/$(BINARY)
# Copying the binary, config file, unit file, and man page into the env. # Copying the binary, config file, unit file, and man page into the env.
cp $(BINARY).linux $@/usr/bin/$(BINARY) cp $(BINARY).linux $@/usr/bin/$(BINARY)
cp *.1.gz $@/usr/share/man/man1 cp *.1.gz $@/usr/share/man/man1
cp examples/*.conf.example $@/etc/$(BINARY)/ cp examples/up.conf.example $@/etc/$(BINARY)/
cp examples/up.conf.example $@/etc/$(BINARY)/up.conf cp examples/up.conf.example $@/etc/$(BINARY)/up.conf
cp LICENSE *.html examples/*dash.json examples/up.conf.example $@/usr/share/doc/$(BINARY)/ cp LICENSE *.html examples/* $@/usr/share/doc/$(BINARY)/
# These go to their own folder so the img src in the html pages continue to work. # These go to their own folder so the img src in the html pages continue to work.
cp examples/*.png $@/usr/share/doc/$(BINARY)/examples
cp init/systemd/$(BINARY).service $@/lib/systemd/system/ cp init/systemd/$(BINARY).service $@/lib/systemd/system/
check_fpm: check_fpm:
@ -165,14 +164,13 @@ install: man readme $(BINARY)
@[ "$(PREFIX)" != "" ] || (echo "Unable to continue, PREFIX not set. Use: make install PREFIX=/usr/local ETC=/usr/local/etc" && false) @[ "$(PREFIX)" != "" ] || (echo "Unable to continue, PREFIX not set. Use: make install PREFIX=/usr/local ETC=/usr/local/etc" && false)
@[ "$(ETC)" != "" ] || (echo "Unable to continue, ETC not set. Use: make install PREFIX=/usr/local ETC=/usr/local/etc" && false) @[ "$(ETC)" != "" ] || (echo "Unable to continue, ETC not set. Use: make install PREFIX=/usr/local ETC=/usr/local/etc" && false)
# Copying the binary, config file, unit file, and man page into the env. # Copying the binary, config file, unit file, and man page into the env.
/usr/bin/install -m 0755 -d $(PREFIX)/bin $(PREFIX)/share/man/man1 $(ETC)/$(BINARY) $(PREFIX)/share/doc/$(BINARY)/examples /usr/bin/install -m 0755 -d $(PREFIX)/bin $(PREFIX)/share/man/man1 $(ETC)/$(BINARY) $(PREFIX)/share/doc/$(BINARY)
/usr/bin/install -m 0755 -cp $(BINARY) $(PREFIX)/bin/$(BINARY) /usr/bin/install -m 0755 -cp $(BINARY) $(PREFIX)/bin/$(BINARY)
/usr/bin/install -m 0644 -cp $(BINARY).1.gz $(PREFIX)/share/man/man1 /usr/bin/install -m 0644 -cp $(BINARY).1.gz $(PREFIX)/share/man/man1
/usr/bin/install -m 0644 -cp examples/up.conf.example $(ETC)/$(BINARY)/ /usr/bin/install -m 0644 -cp examples/up.conf.example $(ETC)/$(BINARY)/
[ -f $(ETC)/$(BINARY)/up.conf ] || /usr/bin/install -m 0644 -cp examples/up.conf.example $(ETC)/$(BINARY)/up.conf [ -f $(ETC)/$(BINARY)/up.conf ] || /usr/bin/install -m 0644 -cp examples/up.conf.example $(ETC)/$(BINARY)/up.conf
/usr/bin/install -m 0644 -cp LICENSE *.html examples/{*dash.json,up.conf.example} $(PREFIX)/share/doc/$(BINARY)/ /usr/bin/install -m 0644 -cp LICENSE *.html examples/* $(PREFIX)/share/doc/$(BINARY)/
# These go to their own folder so the img src in the html pages continue to work. # These go to their own folder so the img src in the html pages continue to work.
/usr/bin/install -m 0644 -cp examples/*.png $(PREFIX)/share/doc/$(BINARY)/examples
# If you installed with `make install` run `make uninstall` before installing a binary package. # If you installed with `make install` run `make uninstall` before installing a binary package.
# This will remove the package install from macOS, it will not remove a package install from Linux. # This will remove the package install from macOS, it will not remove a package install from Linux.

View File

@ -107,23 +107,19 @@ configurations. Help me figure that out?
# What's it look like? # What's it look like?
Here's a picture of the Client dashboard. Here's a picture of the Client dashboard.
![UniFi Clients Dashboard Image](https://grafana.com/api/dashboards/10418/images/6554/image)
![image](examples/unifi-clients-dashboard.png?raw=true)
Here's a picture of the USG dashboard. Here's a picture of the USG dashboard.
![USG Dashboard Image](https://grafana.com/api/dashboards/10416/images/6552/image)
![image](examples/unifi-usg-dashboard.png?raw=true)
Here's a picture of the UAP dashboard. This only shows one device, but you can Here's a picture of the UAP dashboard. This only shows one device, but you can
select multiple to put specific stats side-by-side. select multiple to put specific stats side-by-side.
![UAP Dashboard Image](https://grafana.com/api/dashboards/10415/images/6551/image)
![image](examples/unifi-uap-dashboard.png?raw=true)
The USW / Switch Dashboard is pretty big with one data-filled section per selected port. The USW / Switch Dashboard is pretty big with one data-filled section per selected port.
You can drill down into specific sites, switches, and ports. Compare ports in different You can drill down into specific sites, switches, and ports. Compare ports in different
sites side-by-side. So easy! This screenshot barely does it justice. sites side-by-side. So easy! This screenshot barely does it justice.
![USW Dashboard Image](https://grafana.com/api/dashboards/10417/images/6553/image)
![image](examples/unifi-usw-dashboard.png?raw=true)
## Copyright & License ## Copyright & License

View File

@ -10,6 +10,9 @@ measurements in an Influx Database. The measurements and metrics collected belon
to every available site, device and client found on the controller. Including to every available site, device and client found on the controller. Including
UniFi Security Gateways, Access Points, Switches and possibly more. UniFi Security Gateways, Access Points, Switches and possibly more.
Dashboards for Grafana are available.
Find them at [Grafana.com](https://grafana.com/dashboards?search=unifi-poller).
DESCRIPTION DESCRIPTION
--- ---
Unifi-Poller is a small Golang application that runs on Windows, macOS, Linux or Unifi-Poller is a small Golang application that runs on Windows, macOS, Linux or

View File

@ -1,11 +1,8 @@
# Grafana Dashboards & Examples # Grafana Dashboards & Examples
This folder contains 4 grafana dashboards to get you started with the new data pool. This folder used to contain Grafana Dashboards.
Import these into Grafana to quickly visualize data from your devices.
Created with Grafana 6.2.
These dashboards require a few plugins. **They are now located at [Grafana.com](https://grafana.com/dashboards?search=unifi-poller).** More info is available on The [Grafana Dashboards Wiki Page](https://github.com/davidnewhall/unifi-poller/wiki/Grafana-Dashboards).
See the [Grafana Wiki Article](https://github.com/davidnewhall/unifi-poller/wiki/Grafana) for more info.
Keep in mind these dashboards are just examples. You should make an Example folder Keep in mind these dashboards are just examples. You should make an Example folder
in Grafana to keep them in, and copy them to new dashboards that you want to change. in Grafana to keep them in, and copy them to new dashboards that you want to change.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 238 KiB

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 130 KiB

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 200 KiB

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 158 KiB

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 237 KiB

File diff suppressed because it is too large Load Diff