Merge pull request #52 from davidnewhall/dn2_mv_dashs
Update docs with new dashboard locations.
This commit is contained in:
		
						commit
						505b707262
					
				
							
								
								
									
										12
									
								
								Makefile
								
								
								
								
							
							
						
						
									
										12
									
								
								Makefile
								
								
								
								
							|  | @ -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.
 | ||||||
|  |  | ||||||
							
								
								
									
										12
									
								
								README.md
								
								
								
								
							
							
						
						
									
										12
									
								
								README.md
								
								
								
								
							|  | @ -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. | ||||||
| 
 |  | ||||||
|  |  | ||||||
| 
 | 
 | ||||||
| Here's a picture of the USG dashboard. | Here's a picture of the USG dashboard. | ||||||
| 
 |  | ||||||
|  |  | ||||||
| 
 | 
 | ||||||
| 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. | ||||||
| 
 |  | ||||||
|  |  | ||||||
| 
 | 
 | ||||||
| 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. | ||||||
| 
 |  | ||||||
|  |  | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| ## Copyright & License | ## Copyright & License | ||||||
|  |  | ||||||
|  | @ -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 | ||||||
|  |  | ||||||
|  | @ -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
											
										
									
								
							
		Loading…
	
		Reference in New Issue