Commit Graph

563 Commits

Author SHA1 Message Date
davidnewhall2 3a3081fe2a allow more data reduction 2019-11-30 03:42:17 -08:00
davidnewhall2 0c0bc2ae89 remove a bunch of unused things from influx code 2019-11-30 02:47:11 -08:00
davidnewhall2 e56064e882 Add port ID to switch ports. 2019-11-30 02:15:06 -08:00
davidnewhall2 6028e962e2 jeeez, fix the build already 2019-11-30 02:05:56 -08:00
davidnewhall2 7b4cc3652c add back comment 2019-11-30 01:58:38 -08:00
davidnewhall2 69dff80638 fix build 2019-11-30 01:57:50 -08:00
davidnewhall2 009d565a18 update readme 2019-11-30 01:47:06 -08:00
davidnewhall2 5ee92da2be move pkgs, update readme, add two more metrics to influx client 2019-11-30 01:45:42 -08:00
davidnewhall2 b587a29d53 one more.. 2019-11-29 23:36:26 -08:00
davidnewhall2 2d26c9898c add two more metrics to clients 2019-11-29 23:17:26 -08:00
davidnewhall2 ac242523e2 update deps 2019-11-29 23:03:17 -08:00
davidnewhall2 3714551e3d still cleaning 2019-11-29 22:58:48 -08:00
davidnewhall2 4350afb357 still cleaning 2019-11-29 22:56:56 -08:00
davidnewhall2 c1be3e79a3 tighter for loops 2019-11-29 22:35:42 -08:00
davidnewhall2 05bc8953ef more cleanup 2019-11-29 21:16:49 -08:00
davidnewhall2 adf33d9520 Add more to the interface 2019-11-29 20:30:51 -08:00
davidnewhall2 670b5c0182 use fewer tags 2019-11-29 14:43:23 -08:00
davidnewhall2 0e1af5b543 fix comments 2019-11-29 13:55:59 -08:00
davidnewhall2 0f8abe45c3 remove all 2019-11-29 13:37:10 -08:00
davidnewhall2 113ebc5fa5 add radio label to vaps 2019-11-29 04:14:46 -08:00
davidnewhall2 d8392cd581 use the same labels on all client metrics - derp 2019-11-29 03:33:24 -08:00
davidnewhall2 4d759427f8 use the same labels on all client metrics 2019-11-29 03:30:19 -08:00
davidnewhall2 7b42953be9 fix labels on UAP 2019-11-29 02:47:20 -08:00
davidnewhall2 794bb73040 fix up client labels 2019-11-29 00:44:33 -08:00
davidnewhall2 4a304f56ed bug fix 2019-11-28 21:08:53 -08:00
davidnewhall2 49ada70c9f add an interface for testing 2019-11-28 20:43:06 -08:00
davidnewhall2 4516a26b3c cleanup 2019-11-28 20:17:37 -08:00
davidnewhall2 b7384e581a unify variable names 2019-11-28 16:09:21 -08:00
davidnewhall2 14206a6398 add UDM support 2019-11-28 16:02:13 -08:00
davidnewhall2 73d5304cc7 cosolidate code 2019-11-28 04:14:05 -08:00
davidnewhall2 de6ebba948 re-arrange a file pieces. 2019-11-28 03:54:53 -08:00
davidnewhall2 d784d72fd8 small qol update 2019-11-28 03:34:29 -08:00
davidnewhall2 9150f24041 fix a few more unit locations 2019-11-28 03:08:13 -08:00
David Newhall II 79d41e88dc Apply suggestions from code review
Co-Authored-By: Ben Kochie <superq@gmail.com>
2019-11-28 02:57:34 -08:00
davidnewhall2 38d0cdff97 fixes 2019-11-28 02:45:59 -08:00
David Newhall II fe158cd201 Update promunifi/clients.go
Co-Authored-By: Ben Kochie <superq@gmail.com>
2019-11-28 02:41:27 -08:00
davidnewhall2 3a529df30e convert speeds to bps 2019-11-28 02:40:29 -08:00
David Newhall II d2a63de535 Update promunifi/clients.go
Co-Authored-By: Ben Kochie <superq@gmail.com>
2019-11-28 02:33:40 -08:00
David Newhall II ff1d7b04d4 Update promunifi/usw.go
Co-Authored-By: Ben Kochie <superq@gmail.com>
2019-11-28 02:32:12 -08:00
davidnewhall2 e8a78a747d more fixes! 2019-11-28 02:30:39 -08:00
davidnewhall2 02999a53a1 more fixes 2019-11-28 02:25:33 -08:00
davidnewhall2 79f4cd7135 track zeros 2019-11-27 22:31:46 -08:00
davidnewhall2 adf3aed402 trim a few more zeros 2019-11-27 22:20:48 -08:00
davidnewhall2 d9c94ea5ec clean up site and clients 2019-11-27 22:04:12 -08:00
davidnewhall2 1028c036ca fix linter 2019-11-27 21:33:22 -08:00
davidnewhall2 cc522bd7d8 fix the names 2019-11-27 21:22:37 -08:00
David Newhall II ee0b1d5793 Update promunifi/clients.go
Co-Authored-By: Ben Kochie <superq@gmail.com>
2019-11-27 03:08:22 -08:00
davidnewhall2 b3b175b6b1 Update comment 2019-11-27 02:57:24 -08:00
davidnewhall2 d017445a58 update deps 2019-11-26 01:52:02 -08:00
davidnewhall2 43a20daf42 rearrange wait group 2019-11-26 01:49:22 -08:00
davidnewhall2 fa89c53ec0 add radio table stats 2019-11-25 23:55:00 -08:00
davidnewhall2 68cc7d740e add more uap stats 2019-11-25 22:34:37 -08:00
davidnewhall2 cbc6dabfb1 fix version setting 2019-11-25 13:34:49 -08:00
davidnewhall2 b9d6332a07 fix lint errors 2019-11-25 13:20:45 -08:00
davidnewhall2 ead4eb6005 shave a few more nanoseconds 2019-11-25 12:59:26 -08:00
davidnewhall2 e8db986d3c shave off some nanoseconds 2019-11-25 03:14:14 -08:00
davidnewhall2 d430d0ac66 rename client struct 2019-11-25 00:36:50 -08:00
davidnewhall2 53ca6b1b40 fix more port numbers 2019-11-25 00:19:05 -08:00
davidnewhall2 181e280df6 Updates 2019-11-25 00:17:59 -08:00
davidnewhall2 d75205361f fix bugs 2019-11-18 03:07:23 -08:00
davidnewhall2 f6aece312e missed a couple 2019-11-18 02:43:13 -08:00
davidnewhall2 14eb75dcea move tx/rx labels around 2019-11-18 02:41:20 -08:00
davidnewhall2 1a6f1248a4 rename some things 2019-11-18 02:10:16 -08:00
davidnewhall2 f83fb2980e this makes more sense 2019-11-18 01:38:34 -08:00
davidnewhall2 f4c642ad58 found a bug in site code 2019-11-18 01:26:49 -08:00
davidnewhall2 b261a936bc spread things out 2019-11-18 01:19:30 -08:00
davidnewhall2 37c8124d55 Add more usw data, start uap 2019-11-18 01:06:25 -08:00
davidnewhall2 cdcc99585f Add speed test stats to usg 2019-11-18 00:14:11 -08:00
davidnewhall2 f66d81e961 less appendage 2019-11-18 00:01:33 -08:00
davidnewhall2 5ad08cc37c add usg exports 2019-11-17 21:43:47 -08:00
davidnewhall2 fa7d96d5b3 add switch sys stats 2019-11-17 20:35:20 -08:00
davidnewhall2 65467ec4ed and some more desciprion fixes 2019-11-17 18:24:26 -08:00
davidnewhall2 b4a79988d8 a few more fixes 2019-11-17 18:21:30 -08:00
davidnewhall2 48351b72ba missed one 2019-11-17 18:13:35 -08:00
davidnewhall2 ed71308550 remove IDS, fix metric names to standards, remove timestamp 2019-11-17 18:13:02 -08:00
davidnewhall2 59f4c9cbc0 better logging 2019-11-17 17:18:37 -08:00
davidnewhall2 85d9ce583c fix comment 2019-11-17 14:27:51 -08:00
davidnewhall2 88547d3ef8 some cleanup 2019-11-17 14:27:23 -08:00
davidnewhall2 78d2ca3ba2 Add USW and conuter 2019-11-17 14:03:59 -08:00
davidnewhall2 de4c0cb248 code shrinking 2019-11-17 11:55:00 -08:00
davidnewhall2 bdbfbe97b5 dep ensure 2019-11-17 11:03:17 -08:00
davidnewhall2 1618051bdc dont need that anymore 2019-11-17 10:11:58 -08:00
davidnewhall2 ab86d34cf2 add site code 2019-11-17 03:02:25 -08:00
davidnewhall2 f5b67ffb7f new files 2019-11-17 01:52:41 -08:00
davidnewhall2 ed282b029d a few bugs 2019-11-17 01:26:07 -08:00
davidnewhall2 5bfa3019b6 rename package 2019-11-17 01:21:30 -08:00
davidnewhall2 5b1993bf5f fix a bug and send a few more pieces into the mix 2019-11-17 01:12:33 -08:00
davidnewhall2 ad381cef64 Base layout .. maybe. 2019-11-17 00:52:13 -08:00
davidnewhall2 a96d1e1f62 a few more steps 2019-11-12 01:30:40 -08:00
davidnewhall2 9bc67cbe2c Rename all the packages 2019-11-12 00:36:49 -08:00
davidnewhall2 a8a1e4426e split influx code into new package 2019-11-12 00:12:50 -08:00
davidnewhall2 e1f4ef8713 rename internal package 2019-11-12 00:05:51 -08:00
davidnewhall2 9885237285 this is just a start, nothing works yet 2019-11-12 00:04:01 -08:00
a5hs 79ac727c2f Correct url for the script pipe to bash
This may confuse those who don't always read what they're piping into a privileged shell...
2019-11-07 05:32:46 +00:00
David Newhall II f449c5ab28 fix test 2019-10-08 22:00:54 -07:00
David Newhall II d005f2bd42 builder has the certs, so use that 2019-10-07 22:50:34 -07:00
David Newhall II c03b2b27fd Add SSL certificates to Docker container 2019-10-07 22:49:11 -07:00
David Newhall II 969fd3c0a6 Merge remote-tracking branch 'origin/master' into dn2_fix_crash 2019-10-01 19:56:52 -07:00
David Newhall II e171786e83 protect against nil return values 2019-10-01 19:53:43 -07:00
David Newhall II 64bbd0b21a fix typos 2019-09-25 00:26:28 -07:00
David Newhall II 42ca6c584a Remove max errors parameter 2019-09-25 00:12:09 -07:00
davidnewhall2 99e1a46f38 library updates 2019-09-21 00:00:08 -07:00
davidnewhall2 33380dc0cd ignore G402 2019-09-20 18:41:04 -07:00
davidnewhall2 5bb1d43577 Fix some bugs. 2019-09-20 18:36:20 -07:00
davidnewhall2 b221bdfc09 Merge branch 'master' of github.com:davidnewhall/unifi-poller 2019-09-11 00:27:40 -07:00
davidnewhall2 b09692d156 fix test 2019-09-11 00:27:33 -07:00
Dan Wall 9a393d1737 Fix docker compose environment variables 2019-09-10 18:17:31 +10:00
David Newhall II 99c801c2b6 fix deploy key extract 2019-09-09 20:57:39 -07:00
David Newhall II 408150e6f5 Update deploy key 2019-09-09 20:55:03 -07:00
David Newhall II c24ddcc874 Merge pull request #110 from davidnewhall/dn2_udm_non_pro
Add AP support to UDM. Fix restart on linux/systemd. Add more debug.
2019-09-09 20:00:43 -07:00
davidnewhall2 23113af6fd fix state conflict 2019-09-09 19:12:04 -07:00
Jon Bloom 0906e28a19 sane defaults 2019-09-09 13:38:14 -04:00
davidnewhall2 64d27b02c8 update readmes 2019-09-09 01:33:08 -07:00
davidnewhall2 3459ea8d9c Add radio description to each client 2019-09-08 03:00:30 -07:00
davidnewhall2 434f176884 Fix num_sta types to no break existing dbs. 2019-09-08 02:10:59 -07:00
Jon Bloom 974348e5a0 rename .env, add newlines, branch in env var 2019-09-06 16:47:24 -04:00
Jon Bloom fc6bb60e95 add docker-compose for influxdb, chronograf, grafana, unifi-poller 2019-09-06 16:20:09 -04:00
davidnewhall2 7ca7c326da Fix types. 2019-09-04 12:30:54 -07:00
davidnewhall2 15031568c7 update library 2019-09-03 23:13:12 -07:00
davidnewhall2 fcc3a6f0d9 Create UAP device from UDM. 2019-09-03 21:49:16 -07:00
davidnewhall2 66dc96b547 Rename variables 2019-09-03 13:43:42 -07:00
davidnewhall2 cc32046759 Update discord links, make processPoints better, add restartsec to unit 2019-09-03 11:54:58 -07:00
davidnewhall2 d08d9f5244 add more debug logs 2019-09-03 01:08:42 -07:00
davidnewhall2 5394a503c7 Add AP support to UDM. 2019-09-03 00:24:15 -07:00
davidnewhall2 f628f39e15 Finally fix UDM. 2019-08-28 12:25:37 -07:00
davidnewhall2 e2c1e767f5 update readme 2019-08-27 22:51:14 -07:00
davidnewhall2 55de03d7ce readme update 2019-08-27 21:43:33 -07:00
davidnewhall2 61824ee5b7 Update unifi lib. 2019-08-27 21:16:35 -07:00
David Newhall II 0d48fb5824 Fix default user in config files. 2019-08-26 02:16:44 -07:00
David Newhall II 2dfbd9f1e7 move things 2019-08-26 01:06:35 -07:00
David Newhall II ede4a41c87 get local types dynamically 2019-08-26 00:24:25 -07:00
David Newhall II 9066a39d5d fix Duration types 2019-08-26 00:13:03 -07:00
David Newhall II 910af29be0 return error on bad parsed env variable 2019-08-25 23:53:03 -07:00
David Newhall II 30981cbd7f fix tests 2019-08-25 23:37:58 -07:00
David Newhall II 6a3312acdb Use actual struct with TypeOf 2019-08-25 23:31:49 -07:00
David Newhall II 24a4183528 Use reflection and tags for env variables. 2019-08-25 23:19:29 -07:00
David Newhall II d5588e50d4 Update readme 2019-08-25 21:00:52 -07:00
David Newhall II be13ece5e7 fix broken test 2019-08-25 20:37:10 -07:00
David Newhall II d3b5c56a61 Allow environment variable configuration 2019-08-25 20:00:27 -07:00
David Newhall II f328750dca Remove struct inheritance. 2019-08-25 19:01:29 -07:00
David Newhall II cb806648a2 Add a debug message for re-auth 2019-08-25 18:07:16 -07:00
David Newhall II 8867de3707 Add nil checks 2019-08-25 16:38:29 -07:00
David Newhall II 61bf7ae31f Rename clients influx file 2019-08-25 15:06:18 -07:00
David Newhall II 3fb955c9fc Rename files 2019-08-25 15:04:00 -07:00
David Newhall II 1585b37aed Fix tests 2019-08-25 13:35:59 -07:00
David Newhall II b4c77dcc33 Update unifi library 2019-08-25 13:33:22 -07:00
David Newhall II 748a0c5d32 Add influx code to unifi-poller 2019-08-25 13:24:58 -07:00
David Newhall II d210bbfe4e change default config options to uncommented 2019-08-25 02:09:48 -07:00
David Newhall II 0cb1049bcb Add reauth feature, remove errors library. 2019-08-25 01:54:19 -07:00
davidnewhall2 62dd873d11 Add UDM support and fix FlexInt bug. Closes #97 closes #98 closes #100 2019-08-24 04:01:19 -07:00