tests pass locally;
This commit is contained in:
		
							parent
							
								
									3602d8cc8f
								
							
						
					
					
						commit
						1b120a258a
					
				
							
								
								
									
										2
									
								
								go.mod
								
								
								
								
							
							
						
						
									
										2
									
								
								go.mod
								
								
								
								
							|  | @ -13,7 +13,7 @@ require ( | ||||||
| 	github.com/prometheus/common v0.61.0 | 	github.com/prometheus/common v0.61.0 | ||||||
| 	github.com/spf13/pflag v1.0.6-0.20201009195203-85dd5c8bc61c | 	github.com/spf13/pflag v1.0.6-0.20201009195203-85dd5c8bc61c | ||||||
| 	github.com/stretchr/testify v1.10.0 | 	github.com/stretchr/testify v1.10.0 | ||||||
| 	github.com/unpoller/unifi/v5 v5.0.6 | 	github.com/unpoller/unifi/v5 v5.0.7 | ||||||
| 	golang.org/x/crypto v0.31.0 | 	golang.org/x/crypto v0.31.0 | ||||||
| 	golang.org/x/net v0.33.0 | 	golang.org/x/net v0.33.0 | ||||||
| 	golang.org/x/term v0.27.0 | 	golang.org/x/term v0.27.0 | ||||||
|  |  | ||||||
							
								
								
									
										4
									
								
								go.sum
								
								
								
								
							
							
						
						
									
										4
									
								
								go.sum
								
								
								
								
							|  | @ -75,8 +75,8 @@ github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO | ||||||
| github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= | github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= | ||||||
| github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA= | github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA= | ||||||
| github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= | github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= | ||||||
| github.com/unpoller/unifi/v5 v5.0.6 h1:nokn8k5HOnxcOhLt5d0xzotJ0tvhbKoExAesrWenLhQ= | github.com/unpoller/unifi/v5 v5.0.7 h1:Dj5HY2Nhdic4Ygvh2YYW6QKIZjXCSo9IBzVDKaj86Zg= | ||||||
| github.com/unpoller/unifi/v5 v5.0.6/go.mod h1:G45KRuSH9PFrIUFmDTzWEEM/E/e7GuyXp36AVOfhm7I= | github.com/unpoller/unifi/v5 v5.0.7/go.mod h1:G45KRuSH9PFrIUFmDTzWEEM/E/e7GuyXp36AVOfhm7I= | ||||||
| github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= | github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= | ||||||
| golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= | golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= | ||||||
| golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= | golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= | ||||||
|  |  | ||||||
|  | @ -346,6 +346,26 @@ gauges: | ||||||
|   - unifi.usw.tx_bytes |   - unifi.usw.tx_bytes | ||||||
|   - unifi.usw.upgradeable |   - unifi.usw.upgradeable | ||||||
|   - unifi.usw.uptime |   - unifi.usw.uptime | ||||||
|  |   - unifi.ubb.loadavg_1 | ||||||
|  |   - unifi.ubb.mem_used | ||||||
|  |   - unifi.ubb.cpu | ||||||
|  |   - unifi.ubb.system_uptime | ||||||
|  |   - unifi.ubb.probe | ||||||
|  |   - unifi.ubb.mem_total | ||||||
|  |   - unifi.ubb.mem_buffer | ||||||
|  |   - unifi.ubb.bytes | ||||||
|  |   - unifi.ubb.loadavg_5 | ||||||
|  |   - unifi.ubb.state | ||||||
|  |   - unifi.ubb.tx_bytes | ||||||
|  |   - unifi.ubb.loadavg_15 | ||||||
|  |   - unifi.ubb.user_num_sta | ||||||
|  |   - unifi.ubb.memory | ||||||
|  |   - unifi.ubb.rx_bytes | ||||||
|  |   - unifi.ubb.last_seen | ||||||
|  |   - unifi.ubb.sys | ||||||
|  |   - unifi.ubb.uptime | ||||||
|  |   - unifi.ubb.mem | ||||||
|  |   - unifi.ubb.network | ||||||
| counts: | counts: | ||||||
|   - unifi.collector.num_devices |   - unifi.collector.num_devices | ||||||
|   - unifi.collector.num_errors |   - unifi.collector.num_errors | ||||||
|  |  | ||||||
|  | @ -390,6 +390,35 @@ points: | ||||||
|       wifi_tx_latency_mov_max: float |       wifi_tx_latency_mov_max: float | ||||||
|       wifi_tx_latency_mov_min: float |       wifi_tx_latency_mov_min: float | ||||||
|       wifi_tx_latency_mov_total: float |       wifi_tx_latency_mov_total: float | ||||||
|  |   ubb: | ||||||
|  |     tags: | ||||||
|  |       - mac | ||||||
|  |       - model | ||||||
|  |       - name | ||||||
|  |       - serial | ||||||
|  |       - site_name | ||||||
|  |       - source | ||||||
|  |       - type | ||||||
|  |       - version | ||||||
|  |     fields: | ||||||
|  |       bytes: float | ||||||
|  |       ip: string | ||||||
|  |       last_seen: float | ||||||
|  |       rx_bytes: float | ||||||
|  |       stat_bytes: float | ||||||
|  |       stat_rx_bytes: float | ||||||
|  |       stat_rx_crypts: float | ||||||
|  |       stat_rx_dropped: float | ||||||
|  |       stat_rx_errors: float | ||||||
|  |       stat_rx_frags: float | ||||||
|  |       stat_rx_packets: float | ||||||
|  |       stat_tx_bytes: float | ||||||
|  |       stat_tx_dropped: float | ||||||
|  |       stat_tx_errors: float | ||||||
|  |       stat_tx_packets: float | ||||||
|  |       stat_tx_retries: float | ||||||
|  |       tx_bytes: float | ||||||
|  |       uptime: float | ||||||
|   unifi_alarm: |   unifi_alarm: | ||||||
|     tags: |     tags: | ||||||
|       - action |       - action | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue