Commit Graph

320 Commits

Author SHA1 Message Date
Julian Kornberger
a9cdc623ca Extract Start() function from Collector
Makes it easier to test.
2016-12-22 03:07:26 +01:00
Julian Kornberger
252ce89fc0 Move main to cmd/respond-collector 2016-12-22 01:10:11 +01:00
Geno
da9d2cf8c6 Merge pull request #14 from FreifunkBremen/measurements
Add measurements for models and firmwares
2016-12-15 18:54:31 +01:00
Julian Kornberger
ac5858259c Add measurements for models and firmwares
closes #12
2016-12-15 14:30:56 +01:00
Julian Kornberger
3a6fd20bf3 Remove indirection of embedded structs in Software 2016-12-15 10:43:07 +01:00
Julian Kornberger
15487b3d1b Fix possible segfault 2016-12-15 10:42:40 +01:00
Julian Kornberger
c2e50f59d4 Add comment to deleteWorker() 2016-12-15 09:52:12 +01:00
Julian Kornberger
8ac5bf7cd5 Update related projects 2016-12-15 00:23:51 +01:00
Geno
40fb10eb4e Merge pull request #10 from FreifunkBremen/purge-influxdb
want to resolve #8:  Purge node specific statistics after several days
2016-11-29 16:08:07 +01:00
Martin Geno
30e4fe3267 log on deleting node information 2016-11-29 00:15:40 +01:00
Martin Geno
e060934c6c want to resolve #8 2016-11-26 13:11:21 +01:00
Julian Kornberger
79e8be48ec Increase test coverage 2016-11-20 19:26:02 +01:00
Julian Kornberger
223e97bfaf Increase test coverage 2016-11-20 19:18:59 +01:00
Julian Kornberger
0362bf1b03 Increase test coverage 2016-11-20 19:11:56 +01:00
Julian Kornberger
55991260b0 Fix import of global stats
Use uin32 instead of float64
2016-11-20 19:02:03 +01:00
Julian Kornberger
2068d2b1a1 Increase test coverage 2016-11-20 18:49:41 +01:00
Julian Kornberger
5c2a655b11 Use json.Encoder/Decoder directly with file pointer 2016-11-20 18:30:32 +01:00
Julian Kornberger
332e7f5f54 Update README 2016-11-20 18:30:10 +01:00
Martin Geno
0c18f402a0 fix: collector crash without db 2016-10-18 22:54:45 +02:00
Geno
38f32952c2 Merge pull request #5 from FreifunkBremen/nodes_expiration
Expire nodes after n days of inactivity
(Ist okay so -> gleich mal ein Test auf meiner Maschine ...)
2016-10-09 18:49:31 +02:00
Julian Kornberger
997735ffce Add test for node expiration 2016-10-08 12:06:47 +02:00
Julian Kornberger
e9420828a2 Remove indirection of Flags
Simplifies the code
2016-10-08 12:06:47 +02:00
Julian Kornberger
cbe2577aa9 Expire nodes after n days of inactivity
closes #4
2016-10-08 10:51:31 +02:00
Julian Kornberger
54c39b7d67 Update go versions for Travis 2016-10-07 22:51:58 +02:00
Julian Kornberger
00df010870 Remove contact from nodes.json
closes #3
2016-10-07 22:46:59 +02:00
Martin Geno
8c09687e86 fix bugs rrd importer -> clients are no nodes :) 2016-10-04 15:00:54 +02:00
Martin Geno
dfae737da3 fix bugs after refactoring 2016-10-04 14:54:19 +02:00
Julian Kornberger
d2be435308 Omit data types 2016-10-04 01:08:07 +02:00
Julian Kornberger
cbd8048d31 Add global statistics 2016-10-04 01:06:24 +02:00
Julian Kornberger
a60be980c5 Use defer 2016-10-04 00:50:39 +02:00
Julian Kornberger
75228cf8bf Add importer for global RRD stats 2016-10-03 22:04:02 +02:00
Julian Kornberger
d57d864ab0 Refactoring 2016-10-03 22:04:01 +02:00
Martin Geno
959521b209 add global stats to influxdb 2016-07-27 07:55:58 +02:00
Martin Geno
e1b84dc21b add txpower (for check controller) 2016-07-15 16:34:28 +02:00
Julian Kornberger
156122e62a Limit utilization to 100 %
I don't know the reason for weird values
2016-07-14 17:22:26 +02:00
Martin Geno
aab0f81676 morpheus need hostname in DB 2016-07-14 14:13:45 +02:00
Martin Geno
9c73746cc8 later offlinemap 2016-07-14 14:13:26 +02:00
Julian Kornberger
2afc795e74 Fix possible nullpointer exception 2016-07-14 12:38:32 +02:00
Julian Kornberger
c30d6bc281 Output channel utilization as percentage 2016-07-14 12:31:11 +02:00
Julian Kornberger
92aac7b7ca Calculate channel utilization 2016-07-14 01:20:06 +02:00
Julian Kornberger
8a99cb2bd7 Remove junk code 2016-07-13 23:39:01 +02:00
Julian Kornberger
285bb84870 Add LLDP links to graph 2016-07-13 17:36:01 +02:00
Julian Kornberger
6450ae05a5 Calculate total clients if necessary 2016-07-13 16:54:34 +02:00
Julian Kornberger
4a9b78367c Add support for LLDP neighbors 2016-07-13 16:30:39 +02:00
Martin Geno
f76f6b34a8 api aliases delete cleanup 2016-07-13 00:09:49 +02:00
Martin Geno
f127bed990 fix cleanup 2016-07-12 19:04:42 +02:00
Martin Geno
5d57fd98b9 fix owner 2016-07-10 20:30:31 +02:00
Martin Geno
2ad2356fbe add owner to repsond-collector 2016-07-09 10:58:06 +02:00
Martin Geno
c13185fd51 add owner (as tag) 2016-07-09 02:33:34 +02:00
Martin Geno
93fe0fadb5 airtime + no panic on lost of influxdb connection 2016-07-04 14:46:45 +02:00