Commit Graph

67 Commits

Author SHA1 Message Date
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
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
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
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
cbd8048d31 Add global statistics 2016-10-04 01:06:24 +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
9c73746cc8 later offlinemap 2016-07-14 14:13:26 +02:00
Julian Kornberger
92aac7b7ca Calculate channel utilization 2016-07-14 01:20:06 +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
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
e98c479cf3 wifisettings 2016-06-29 00:04:33 +02:00
Martin Geno
719cf13f87 disable link for offline nodes + improve offline state 2016-06-22 09:16:06 +02:00
Martin Geno
ffa9c1ba92 extra data for breminale 2016-06-19 12:50:16 +02:00
Martin Geno
4da0b97f38 extra data for breminale 2016-06-19 00:52:12 +02:00
Martin Geno
5b26b6bf88 fix ansible output 2016-06-19 00:00:18 +02:00
Julian Kornberger
630eb62621 Fix GraphBuilder 2016-06-16 21:17:06 +02:00
Martin Geno
08565d1839 fix graph 2016-06-16 21:02:42 +02:00
Martin Geno
fb2f0bda27 update nodes 2016-06-16 18:50:43 +02:00
Martin Geno
67c6031fff multi nodes 2016-06-16 18:03:45 +02:00
Martin Geno
83dd82e6d2 complete ansible alias 2016-05-29 22:49:40 +02:00
Martin Geno
dc47ab8719 nodes split to meshviewernodes 2016-05-29 21:41:58 +02:00
root
bc525f2636 Merge remote-tracking branch 'origin/v0.1' 2016-05-23 14:22:14 +02:00
root
a49351cdf6 fix jsontime + onlinestatus 2016-05-23 14:20:58 +02:00
root
743ef30532 Merge branch 'v0.1'
Conflicts:
	models/nodes.go
2016-05-21 13:13:56 +02:00
root
9c66688e64 fix timing 2016-05-21 13:11:29 +02:00
Martin Geno
f2f383bdd0 api access controll 2016-05-17 11:07:14 +02:00
root
311352a4ca first try of graph.json 2016-05-16 12:24:50 +02:00
root
12c0fd4b70 first try of graph.json 2016-05-16 11:50:23 +02:00
root
0f910c5483 first try of graph.json 2016-05-16 11:41:45 +02:00
Geno
11e584183e nodes.json are meshviewer compatible 2016-05-16 09:50:49 +02:00
Martin Geno
139c94f083 add API for aliases/ansible 2016-05-14 13:21:10 +02:00
Martin Geno
d1aa7ab4d7 add API for aliases/ansible 2016-05-14 12:31:43 +02:00
Martin Geno
b700426a3b add Flags and MeshviewerStatistics for old meshviewer nodes.json 2016-05-12 17:43:23 +02:00
Martin Geno
8099228798 add Flags and MeshviewerStatistics for old meshviewer nodes.json 2016-05-11 21:37:42 +02:00
Martin Geno
54e54f8256 add Flags and MeshviewerStatistics for old meshviewer nodes.json 2016-05-11 21:30:54 +02:00
root
18acdd7642 config influxdb host 2016-04-29 12:39:53 +02:00
root
756d9e3697 diffrent interface names 2016-04-29 08:25:45 +02:00
Geno
da75ff993a save really graph fix 2016-03-23 16:22:12 +01:00
Julian Kornberger
a7479d5a19 Add test for nodes.Update() 2016-03-21 12:26:08 +01:00
Julian Kornberger
150d9b3297 Add tests for graph 2016-03-20 20:00:02 +01:00
Julian Kornberger
b252274253 Add test for reading the config.yml 2016-03-20 19:57:49 +01:00
Julian Kornberger
eb04fd0049 Load previously saved nodes.json 2016-03-20 19:57:49 +01:00