Commit Graph

81 Commits

Author SHA1 Message Date
Julian Kornberger 2d43dda380 Send unicast to nodes that did non answer the multicast
Use the state file to store last known IP address.

closes #13
2017-01-30 17:25:23 +01:00
Julian Kornberger fd6a169b18 Use fixed value for the batch timer 2017-01-30 00:52:49 +01:00
Julian Kornberger 82c09ad952 Add configuration option `offline_after` 2017-01-29 21:11:10 +01:00
Julian Kornberger 5062b71318 Clean up timestamp usage 2017-01-29 21:02:03 +01:00
Julian Kornberger 5ca74e51bc Rename nodes_dynamic_path to state_path 2017-01-29 21:02:03 +01:00
Julian Kornberger 4cc93891ee Remove API and simplify webserver 2017-01-29 20:35:50 +01:00
Julian Kornberger c66e1120d3 Make configuration more intuitive and consistent 2017-01-29 20:35:50 +01:00
Martin Geno 724cd8ba51 fix neighbour to influxdb 2017-01-21 04:27:44 +01:00
Martin Geno 2380c7de9a first implementation of neighbours count 2017-01-21 03:12:16 +01:00
Martin Geno d855248f6a improve complete code with comments and co (thanks linter) 2017-01-20 22:27:44 +01:00
Geno 798db6a063 Export multiple versions of JSON for different Meshviewers (#16)
* multi json output format
* fix memory usage in older JSON
* meshviewer versions add detailed comments
* some beautiful fixes in modes/nodes
2017-01-20 14:38:13 +01:00
Julian Kornberger ab01eb0d9e Add wireless statistics (airtime) 2016-12-22 20:25:58 +01:00
Julian Kornberger ac5858259c Add measurements for models and firmwares
closes #12
2016-12-15 14:30:56 +01:00
Julian Kornberger 15487b3d1b Fix possible segfault 2016-12-15 10:42:40 +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 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