davidnewhall2
108e983061
update descrip
2019-12-03 03:44:13 -08:00
davidnewhall2
59b0318261
one more go
2019-12-03 03:38:13 -08:00
davidnewhall2
a06d185e28
do is required
2019-12-03 03:37:55 -08:00
davidnewhall2
ebf9aed507
try this too
2019-12-03 03:31:19 -08:00
davidnewhall2
e4daa07857
try this?
2019-12-03 03:30:53 -08:00
davidnewhall2
b75f896abd
change repo names
2019-12-03 03:25:53 -08:00
davidnewhall2
f09db0fbf9
fix this name
2019-12-03 03:14:15 -08:00
davidnewhall2
078cc04d62
remove test code
2019-12-03 03:13:49 -08:00
davidnewhall2
153b28d0df
last fix?
2019-12-03 02:54:35 -08:00
davidnewhall2
a6d31e98b8
go again
2019-12-03 02:53:41 -08:00
davidnewhall2
603cf1a030
fix
2019-12-03 02:46:33 -08:00
davidnewhall2
4ede5e9936
still testing
2019-12-03 02:44:14 -08:00
davidnewhall2
7e98232d02
fix build
2019-12-03 02:35:49 -08:00
davidnewhall2
247e92ec7d
fix build script
2019-12-03 02:33:00 -08:00
davidnewhall2
4fac3c6b88
rename this back
2019-12-03 02:32:19 -08:00
davidnewhall2
aa27deed26
fix script
2019-12-03 02:30:22 -08:00
davidnewhall2
06c675269e
add uptime back
2019-12-03 02:26:27 -08:00
davidnewhall2
f8de1d6a80
fixes
2019-12-03 02:18:32 -08:00
davidnewhall2
0e8f3c4b81
comments
2019-12-03 00:59:37 -08:00
davidnewhall2
1c6f972455
move pieces into methods
2019-12-03 00:19:47 -08:00
davidnewhall2
7ae36d64ee
missed
2019-12-02 20:56:08 -08:00
davidnewhall2
9916bdc75d
merge
2019-12-02 20:50:55 -08:00
David Newhall II
df8deb0ef8
Merge branch 'master' into dn2_merge
2019-12-02 20:47:54 -08:00
David Newhall II
7cb4191b44
Merge pull request #147 from davidnewhall/superq/duplicate_metrics
...
Cleanup duplicate station metrics
2019-12-02 20:45:10 -08:00
David Newhall II
8b5753ce58
Merge branch 'master' into dn2_merge
2019-12-02 20:44:00 -08:00
davidnewhall2
c9d64618a2
combine more counters, fix cpu/mem graphs, fix udmp type
2019-12-02 20:18:55 -08:00
davidnewhall2
d3673251df
comment cleanup
2019-12-02 19:40:29 -08:00
davidnewhall2
e5a67922ee
add more labels, ditch uptime
2019-12-02 19:28:24 -08:00
davidnewhall2
36fe6cda9e
fixes
2019-12-02 18:38:58 -08:00
David Newhall II
9143aed709
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
da496184fa
coimbine usg stats with udm stats to add missing uplink values
2019-12-02 17:45:33 -08:00
Ben Kochie
07b111dbc2
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
b9dae4b8c6
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
43de17053d
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
583a8a4a0e
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
b045a457a4
fix env variable usage
2019-12-02 13:11:35 -08:00
davidnewhall2
e77444a9f3
readme update
2019-12-02 00:14:43 -08:00
davidnewhall2
4e58defd44
add a small readme
2019-12-01 22:33:37 -08:00
davidnewhall2
871769b6ea
dpkg --force-confdef --force-confold --install
2019-12-01 22:31:57 -08:00
davidnewhall2
bb031c146d
doc updates
2019-12-01 22:19:57 -08:00
davidnewhall2
564fe595b6
update example
2019-12-01 19:29:40 -08:00
davidnewhall2
dc8e6aaadc
reference new dashes
2019-12-01 19:28:44 -08:00
davidnewhall2
160e995037
a couple more fixes
2019-12-01 19:04:17 -08:00
davidnewhall2
fb996282fd
fix more ratios, combine export loops
2019-12-01 17:42:13 -08:00
David Newhall II
9beea28951
Apply suggestions from code review
2019-12-01 17:25:49 -08:00
David Newhall II
9f40055d97
Apply suggestions from code review
2019-12-01 17:24:35 -08:00
David Newhall II
5b2163520e
Merge branch 'master' into superq/metric_names
2019-12-01 17:18:41 -08:00
davidnewhall2
a0f89f88be
a couple others missing
2019-12-01 14:39:18 -08:00
davidnewhall2
071fd29f1e
add a few missing metrics
2019-12-01 14:03:27 -08:00
Ben Kochie
d2d2dd02be
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
463b71349f
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
0efb7822f0
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
3cd9018d8e
more fixes
2019-12-01 03:26:13 -08:00
davidnewhall2
24f423175e
fixes
2019-12-01 00:43:57 -08:00
davidnewhall2
1935fc6195
test fix
2019-11-30 19:30:21 -08:00
davidnewhall2
2fc596645e
more reusable code
2019-11-30 18:18:49 -08:00
davidnewhall2
ffa38fe707
Improve influx library
2019-11-30 16:45:22 -08:00
davidnewhall2
cdb02873dd
allow more data reduction
2019-11-30 03:42:17 -08:00
davidnewhall2
74e706872d
remove a bunch of unused things from influx code
2019-11-30 02:47:11 -08:00
davidnewhall2
964eed16b6
Add port ID to switch ports.
2019-11-30 02:15:06 -08:00
davidnewhall2
2b30cb992f
jeeez, fix the build already
2019-11-30 02:05:56 -08:00
davidnewhall2
63e3242220
add back comment
2019-11-30 01:58:38 -08:00
davidnewhall2
0357747294
fix build
2019-11-30 01:57:50 -08:00
davidnewhall2
e2f57228e1
update readme
2019-11-30 01:47:06 -08:00
davidnewhall2
166585bfd5
move pkgs, update readme, add two more metrics to influx client
2019-11-30 01:45:42 -08:00
davidnewhall2
420bab0535
one more..
2019-11-29 23:36:26 -08:00
davidnewhall2
8090b833e3
add two more metrics to clients
2019-11-29 23:17:26 -08:00
davidnewhall2
61f2796aa9
update deps
2019-11-29 23:03:17 -08:00
davidnewhall2
213d37851c
still cleaning
2019-11-29 22:58:48 -08:00
davidnewhall2
989f874f15
still cleaning
2019-11-29 22:56:56 -08:00
davidnewhall2
3742871620
tighter for loops
2019-11-29 22:35:42 -08:00
davidnewhall2
62ad7f7296
more cleanup
2019-11-29 21:16:49 -08:00
davidnewhall2
76b8ab299d
Add more to the interface
2019-11-29 20:30:51 -08:00
davidnewhall2
dc1e590afe
use fewer tags
2019-11-29 14:43:23 -08:00
davidnewhall2
daaa047eba
fix comments
2019-11-29 13:55:59 -08:00
davidnewhall2
e53682752d
remove all
2019-11-29 13:37:10 -08:00
davidnewhall2
d880c3150f
add radio label to vaps
2019-11-29 04:14:46 -08:00
davidnewhall2
ffac10c5bb
use the same labels on all client metrics - derp
2019-11-29 03:33:24 -08:00
davidnewhall2
296d3d4867
use the same labels on all client metrics
2019-11-29 03:30:19 -08:00
davidnewhall2
1936fc147a
fix labels on UAP
2019-11-29 02:47:20 -08:00
davidnewhall2
28da48a88f
fix up client labels
2019-11-29 00:44:33 -08:00
davidnewhall2
265f9ef477
bug fix
2019-11-28 21:08:53 -08:00
davidnewhall2
bf23a5ab4a
add an interface for testing
2019-11-28 20:43:06 -08:00
davidnewhall2
fe54b93e47
cleanup
2019-11-28 20:17:37 -08:00
davidnewhall2
a9b99eab29
unify variable names
2019-11-28 16:09:21 -08:00
davidnewhall2
722504c58a
add UDM support
2019-11-28 16:02:13 -08:00
davidnewhall2
9d2ec7e760
cosolidate code
2019-11-28 04:14:05 -08:00
davidnewhall2
f5337ffa72
re-arrange a file pieces.
2019-11-28 03:54:53 -08:00
davidnewhall2
035cdf10f0
small qol update
2019-11-28 03:34:29 -08:00
davidnewhall2
5b7c9b7abb
fix a few more unit locations
2019-11-28 03:08:13 -08:00
David Newhall II
6e47a0baaa
Apply suggestions from code review
...
Co-Authored-By: Ben Kochie <superq@gmail.com>
2019-11-28 02:57:34 -08:00
davidnewhall2
4737145a57
fixes
2019-11-28 02:45:59 -08:00
David Newhall II
2c91163482
Update promunifi/clients.go
...
Co-Authored-By: Ben Kochie <superq@gmail.com>
2019-11-28 02:41:27 -08:00
davidnewhall2
c84f18246c
convert speeds to bps
2019-11-28 02:40:29 -08:00
David Newhall II
756b15c130
Update promunifi/clients.go
...
Co-Authored-By: Ben Kochie <superq@gmail.com>
2019-11-28 02:33:40 -08:00
David Newhall II
a1bdc6f3bd
Update promunifi/usw.go
...
Co-Authored-By: Ben Kochie <superq@gmail.com>
2019-11-28 02:32:12 -08:00
davidnewhall2
28f74a33c2
more fixes!
2019-11-28 02:30:39 -08:00
davidnewhall2
2d92837266
more fixes
2019-11-28 02:25:33 -08:00
davidnewhall2
328e5654c5
track zeros
2019-11-27 22:31:46 -08:00
davidnewhall2
a29fcc79ea
trim a few more zeros
2019-11-27 22:20:48 -08:00