Commit Graph

628 Commits

Author SHA1 Message Date
davidnewhall2 818be2df71 more testing 2019-12-05 00:11:07 -08:00
davidnewhall2 06f7a5e52a still testing 2019-12-04 23:52:33 -08:00
davidnewhall2 6958735526 try this 2019-12-04 23:41:15 -08:00
davidnewhall2 71043bf2b4 fix env var 2019-12-04 23:27:26 -08:00
davidnewhall2 b57a4c9cc0 try without this package 2019-12-04 23:22:29 -08:00
davidnewhall2 0d6c0835e9 sign packages 2019-12-04 23:19:03 -08:00
davidnewhall2 18d963603d dep 2019-12-04 00:51:30 -08:00
davidnewhall2 a832b5d3c1 update deps, fix channel bug for uap_vaps 2019-12-03 12:09:07 -08:00
davidnewhall2 dcbc97ee8c update descrip 2019-12-03 03:44:13 -08:00
davidnewhall2 68a02d5afc one more go 2019-12-03 03:38:13 -08:00
davidnewhall2 121bc51f3d do is required 2019-12-03 03:37:55 -08:00
davidnewhall2 6f3c5e3dc7 try this too 2019-12-03 03:31:19 -08:00
davidnewhall2 2b220f0708 try this? 2019-12-03 03:30:53 -08:00
davidnewhall2 d6d428ad00 change repo names 2019-12-03 03:25:53 -08:00
davidnewhall2 0f7054fc02 fix this name 2019-12-03 03:14:15 -08:00
davidnewhall2 8fff3dde77 remove test code 2019-12-03 03:13:49 -08:00
davidnewhall2 41d097955f last fix? 2019-12-03 02:54:35 -08:00
davidnewhall2 c3aacb3414 go again 2019-12-03 02:53:41 -08:00
davidnewhall2 6684a0d420 fix 2019-12-03 02:46:33 -08:00
davidnewhall2 a6b252986a still testing 2019-12-03 02:44:14 -08:00
davidnewhall2 46a94ee6fb fix build 2019-12-03 02:35:49 -08:00
davidnewhall2 bbab31a193 fix build script 2019-12-03 02:33:00 -08:00
davidnewhall2 e33db1de76 rename this back 2019-12-03 02:32:19 -08:00
davidnewhall2 1b8c5fed8f fix script 2019-12-03 02:30:22 -08:00
davidnewhall2 9475acb494 add uptime back 2019-12-03 02:26:27 -08:00
davidnewhall2 488a4be71e fixes 2019-12-03 02:18:32 -08:00
davidnewhall2 840fa69634 comments 2019-12-03 00:59:37 -08:00
davidnewhall2 c3ae982be5 move pieces into methods 2019-12-03 00:19:47 -08:00
davidnewhall2 69838f4554 missed 2019-12-02 20:56:08 -08:00
davidnewhall2 44feb73dd5 merge 2019-12-02 20:50:55 -08:00
David Newhall II 2d8894833e Merge branch 'master' into dn2_merge 2019-12-02 20:47:54 -08:00
David Newhall II 74bc0315a7 Merge pull request #147 from davidnewhall/superq/duplicate_metrics
Cleanup duplicate station metrics
2019-12-02 20:45:10 -08:00
David Newhall II 1eff0cedfd Merge branch 'master' into dn2_merge 2019-12-02 20:44:00 -08:00
davidnewhall2 cc8442db33 combine more counters, fix cpu/mem graphs, fix udmp type 2019-12-02 20:18:55 -08:00
davidnewhall2 369406ec3e comment cleanup 2019-12-02 19:40:29 -08:00
davidnewhall2 6ade83a58d add more labels, ditch uptime 2019-12-02 19:28:24 -08:00
davidnewhall2 e3337fdbc4 fixes 2019-12-02 18:38:58 -08:00
David Newhall II ff4adfb4a0 Merge pull request #150 from davidnewhall/dn2_udm_fixes
combine usg stats with udm stats to add missing uplink values
2019-12-02 17:54:23 -08:00
davidnewhall2 db258747d4 coimbine usg stats with udm stats to add missing uplink values 2019-12-02 17:45:33 -08:00
Ben Kochie 43ad96ae8d Remove IP address from device info label.
Signed-off-by: Ben Kochie <superq@gmail.com>
2019-12-02 23:34:49 +01:00
Ben Kochie 3085f73cce Use explicit label items rather than a cut of the slice.
Signed-off-by: Ben Kochie <superq@gmail.com>
2019-12-02 23:31:49 +01:00
Ben Kochie 4bdec1552f Move excess device labels to info metric
Move some of the excess device inventory labels to an "info" metric.
This reduces query output noise and indexing overhead.

These labels can still be used for filtering with a `group_left` query.

Signed-off-by: Ben Kochie <superq@gmail.com>
2019-12-02 22:43:35 +01:00
Ben Kochie 589710cb96 Cleanup duplicate station metrics
Combine "user" and "guest" station metrics into a single labeled metric
to avoid duplicate storage of the same data.

Signed-off-by: Ben Kochie <superq@gmail.com>
2019-12-02 22:41:43 +01:00
davidnewhall2 ba8e619c9c fix env variable usage 2019-12-02 13:11:35 -08:00
davidnewhall2 d405e32935 readme update 2019-12-02 00:14:43 -08:00
davidnewhall2 d1fcd065f9 add a small readme 2019-12-01 22:33:37 -08:00
davidnewhall2 2e7cf48863 dpkg --force-confdef --force-confold --install 2019-12-01 22:31:57 -08:00
davidnewhall2 e33760de49 doc updates 2019-12-01 22:19:57 -08:00
davidnewhall2 9e31deba60 update example 2019-12-01 19:29:40 -08:00
davidnewhall2 604294780d reference new dashes 2019-12-01 19:28:44 -08:00
davidnewhall2 c181e62514 a couple more fixes 2019-12-01 19:04:17 -08:00
davidnewhall2 648febd3dc fix more ratios, combine export loops 2019-12-01 17:42:13 -08:00
David Newhall II 4970c3eda2 Apply suggestions from code review 2019-12-01 17:25:49 -08:00
David Newhall II 9c3cb425c8 Apply suggestions from code review 2019-12-01 17:24:35 -08:00
David Newhall II ebfce744e2 Merge branch 'master' into superq/metric_names 2019-12-01 17:18:41 -08:00
davidnewhall2 cfa71ba716 a couple others missing 2019-12-01 14:39:18 -08:00
davidnewhall2 138766c0a3 add a few missing metrics 2019-12-01 14:03:27 -08:00
Ben Kochie a9b417f178 Convert Prometheus percents to ratio
Typically we like to use ratio in Prometheus rather than percent as it
is easier to do math with.

Signed-off-by: Ben Kochie <superq@gmail.com>
2019-12-01 19:48:59 +01:00
Ben Kochie a6edfb3a3a Fix radio_transmit metric type
The metrics radio_transmit_{packets,retries} appear to gauges, not
counters.

Signed-off-by: Ben Kochie <superq@gmail.com>
2019-12-01 19:28:53 +01:00
Ben Kochie d6044f3992 Update channel utilization metrics
* Unit is percent.
* Drop "total" as it is the sum of transmit and receive.

Signed-off-by: Ben Kochie <superq@gmail.com>
2019-12-01 18:29:58 +01:00
davidnewhall2 4ff9a7f8dc more fixes 2019-12-01 03:26:13 -08:00
davidnewhall2 677bc99455 fixes 2019-12-01 00:43:57 -08:00
davidnewhall2 76266785e7 test fix 2019-11-30 19:30:21 -08:00
davidnewhall2 a18cbf5158 more reusable code 2019-11-30 18:18:49 -08:00
davidnewhall2 79dae73923 Improve influx library 2019-11-30 16:45:22 -08:00
davidnewhall2 e3b38944a7 allow more data reduction 2019-11-30 03:42:17 -08:00
davidnewhall2 7fc942a567 remove a bunch of unused things from influx code 2019-11-30 02:47:11 -08:00
davidnewhall2 4eaee443ae Add port ID to switch ports. 2019-11-30 02:15:06 -08:00
davidnewhall2 59b45ab763 jeeez, fix the build already 2019-11-30 02:05:56 -08:00
davidnewhall2 a32977127d add back comment 2019-11-30 01:58:38 -08:00
davidnewhall2 f8f3f94154 fix build 2019-11-30 01:57:50 -08:00
davidnewhall2 cb518fe21d update readme 2019-11-30 01:47:06 -08:00
davidnewhall2 2579aa6a0a move pkgs, update readme, add two more metrics to influx client 2019-11-30 01:45:42 -08:00
davidnewhall2 a83bae4a20 one more.. 2019-11-29 23:36:26 -08:00
davidnewhall2 66e3816687 add two more metrics to clients 2019-11-29 23:17:26 -08:00
davidnewhall2 421566c23a update deps 2019-11-29 23:03:17 -08:00
davidnewhall2 ab4bb56ce8 still cleaning 2019-11-29 22:58:48 -08:00
davidnewhall2 6fa40ff21c still cleaning 2019-11-29 22:56:56 -08:00
davidnewhall2 c5e0df8904 tighter for loops 2019-11-29 22:35:42 -08:00
davidnewhall2 937707539c more cleanup 2019-11-29 21:16:49 -08:00
davidnewhall2 3c471abdbe Add more to the interface 2019-11-29 20:30:51 -08:00
davidnewhall2 08d393d803 use fewer tags 2019-11-29 14:43:23 -08:00
davidnewhall2 df25640304 fix comments 2019-11-29 13:55:59 -08:00
davidnewhall2 a03fea0e15 remove all 2019-11-29 13:37:10 -08:00
davidnewhall2 b46a7690a7 add radio label to vaps 2019-11-29 04:14:46 -08:00
davidnewhall2 2086c44ab6 use the same labels on all client metrics - derp 2019-11-29 03:33:24 -08:00
davidnewhall2 d3b3d55cd1 use the same labels on all client metrics 2019-11-29 03:30:19 -08:00
davidnewhall2 e0880f1a20 fix labels on UAP 2019-11-29 02:47:20 -08:00
davidnewhall2 4c74d2fae7 fix up client labels 2019-11-29 00:44:33 -08:00
davidnewhall2 94037f0e19 bug fix 2019-11-28 21:08:53 -08:00
davidnewhall2 9599bdbbe2 add an interface for testing 2019-11-28 20:43:06 -08:00
davidnewhall2 70aeeb4483 cleanup 2019-11-28 20:17:37 -08:00
davidnewhall2 4b6b639a22 unify variable names 2019-11-28 16:09:21 -08:00
davidnewhall2 7bd85c2e3c add UDM support 2019-11-28 16:02:13 -08:00
davidnewhall2 555b8b4c02 cosolidate code 2019-11-28 04:14:05 -08:00
davidnewhall2 5a16615d9a re-arrange a file pieces. 2019-11-28 03:54:53 -08:00
davidnewhall2 af116405aa small qol update 2019-11-28 03:34:29 -08:00
davidnewhall2 b4772da3c2 fix a few more unit locations 2019-11-28 03:08:13 -08:00
David Newhall II ba4a88288a Apply suggestions from code review
Co-Authored-By: Ben Kochie <superq@gmail.com>
2019-11-28 02:57:34 -08:00
davidnewhall2 1c19fcc8de fixes 2019-11-28 02:45:59 -08:00
David Newhall II 5a553d289b Update promunifi/clients.go
Co-Authored-By: Ben Kochie <superq@gmail.com>
2019-11-28 02:41:27 -08:00
davidnewhall2 88cf22b550 convert speeds to bps 2019-11-28 02:40:29 -08:00
David Newhall II a1719d6da9 Update promunifi/clients.go
Co-Authored-By: Ben Kochie <superq@gmail.com>
2019-11-28 02:33:40 -08:00
David Newhall II 56d579bb0a Update promunifi/usw.go
Co-Authored-By: Ben Kochie <superq@gmail.com>
2019-11-28 02:32:12 -08:00
davidnewhall2 d32f59fcd7 more fixes! 2019-11-28 02:30:39 -08:00
davidnewhall2 0a886f7817 more fixes 2019-11-28 02:25:33 -08:00
davidnewhall2 f1776fa573 track zeros 2019-11-27 22:31:46 -08:00
davidnewhall2 571e605b26 trim a few more zeros 2019-11-27 22:20:48 -08:00
davidnewhall2 d0cd727963 clean up site and clients 2019-11-27 22:04:12 -08:00
davidnewhall2 6ea5914873 fix linter 2019-11-27 21:33:22 -08:00
davidnewhall2 6f07e6efcf fix the names 2019-11-27 21:22:37 -08:00
David Newhall II 2448957ffe Update promunifi/clients.go
Co-Authored-By: Ben Kochie <superq@gmail.com>
2019-11-27 03:08:22 -08:00
davidnewhall2 c6259e0ede Update comment 2019-11-27 02:57:24 -08:00
davidnewhall2 dd834d5288 update deps 2019-11-26 01:52:02 -08:00
davidnewhall2 8b9657b043 rearrange wait group 2019-11-26 01:49:22 -08:00
davidnewhall2 99ac82172f add radio table stats 2019-11-25 23:55:00 -08:00
davidnewhall2 8e21455e35 add more uap stats 2019-11-25 22:34:37 -08:00
davidnewhall2 65e2373561 fix version setting 2019-11-25 13:34:49 -08:00
davidnewhall2 3598003b6f fix lint errors 2019-11-25 13:20:45 -08:00
davidnewhall2 b84b1d92b7 shave a few more nanoseconds 2019-11-25 12:59:26 -08:00
davidnewhall2 8eea9be08d shave off some nanoseconds 2019-11-25 03:14:14 -08:00
davidnewhall2 a0391c04c2 rename client struct 2019-11-25 00:36:50 -08:00
davidnewhall2 6e8497a467 fix more port numbers 2019-11-25 00:19:05 -08:00
davidnewhall2 e3069991b0 Updates 2019-11-25 00:17:59 -08:00
davidnewhall2 3f684f1e46 fix bugs 2019-11-18 03:07:23 -08:00
davidnewhall2 e937c866de missed a couple 2019-11-18 02:43:13 -08:00
davidnewhall2 5614a1d826 move tx/rx labels around 2019-11-18 02:41:20 -08:00
davidnewhall2 fe5898dc75 rename some things 2019-11-18 02:10:16 -08:00
davidnewhall2 8ba758703a this makes more sense 2019-11-18 01:38:34 -08:00
davidnewhall2 a12f5f0fde found a bug in site code 2019-11-18 01:26:49 -08:00
davidnewhall2 d4bfa569ee spread things out 2019-11-18 01:19:30 -08:00
davidnewhall2 19a697898d Add more usw data, start uap 2019-11-18 01:06:25 -08:00
davidnewhall2 97610c0c2a Add speed test stats to usg 2019-11-18 00:14:11 -08:00
davidnewhall2 573ce9bdee less appendage 2019-11-18 00:01:33 -08:00
davidnewhall2 0b5872c62e add usg exports 2019-11-17 21:43:47 -08:00
davidnewhall2 14b7ffe1f6 add switch sys stats 2019-11-17 20:35:20 -08:00
davidnewhall2 f857be3ea7 and some more desciprion fixes 2019-11-17 18:24:26 -08:00
davidnewhall2 8ea1c81c5c a few more fixes 2019-11-17 18:21:30 -08:00
davidnewhall2 bdc060fdbe missed one 2019-11-17 18:13:35 -08:00
davidnewhall2 419d38fc91 remove IDS, fix metric names to standards, remove timestamp 2019-11-17 18:13:02 -08:00
davidnewhall2 7d7226e0d2 better logging 2019-11-17 17:18:37 -08:00
davidnewhall2 cdbc51f315 fix comment 2019-11-17 14:27:51 -08:00
davidnewhall2 2eaca3bc78 some cleanup 2019-11-17 14:27:23 -08:00
davidnewhall2 b1abbc9cb5 Add USW and conuter 2019-11-17 14:03:59 -08:00
davidnewhall2 a554e2f14d code shrinking 2019-11-17 11:55:00 -08:00
davidnewhall2 cb314edba9 dep ensure 2019-11-17 11:03:17 -08:00
davidnewhall2 2b08ed5f23 dont need that anymore 2019-11-17 10:11:58 -08:00
davidnewhall2 b05b855493 add site code 2019-11-17 03:02:25 -08:00
davidnewhall2 7b8546d51a new files 2019-11-17 01:52:41 -08:00
davidnewhall2 202639a1fc a few bugs 2019-11-17 01:26:07 -08:00