Commit Graph

45 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 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 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 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
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 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 6450ae05a5 Calculate total clients if necessary 2016-07-13 16:54:34 +02:00
Martin Geno 719cf13f87 disable link for offline nodes + improve offline state 2016-06-22 09:16:06 +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 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
Geno 11e584183e nodes.json are meshviewer compatible 2016-05-16 09:50:49 +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
Geno da75ff993a save really graph fix 2016-03-23 16:22:12 +01:00
Julian Kornberger eb04fd0049 Load previously saved nodes.json 2016-03-20 19:57:49 +01:00
Julian Kornberger 808135904f Use custom time format 2016-03-20 17:44:35 +01:00
Julian Kornberger d4a9a169f1 Optimize updating nodes 2016-03-20 16:25:33 +01:00
Julian Kornberger 9e863ca336 Rename package to respond-collector 2016-03-15 23:26:30 +01:00
Martin Geno 58035764b7 v2 for nodes.json -> statistics.clients not number 2016-03-14 10:38:09 +01:00
Martin Geno f3403c364c move and rename project 2016-03-13 14:10:33 +01:00
Julian Kornberger d1b315aa6e Copy data structs from node-informant/gluon-collector/data
Some fields are missing there
2016-03-12 16:21:09 +01:00
Martin Geno d275ecf48d init nodes values 2016-03-12 03:48:00 +01:00
Julian Kornberger a575c7132d Mark VPN links 2016-03-07 12:21:05 +01:00
Julian Kornberger 1fd59e6156 Started implementing the graph 2016-03-07 10:26:11 +01:00
Julian Kornberger 646f8c5a9a Use data package from node-informat 2016-03-07 01:37:38 +01:00
Martin Geno c1845d038c fix bug 2016-02-25 21:24:54 +01:00
Martin Geno dc5569cea5 resturctur everything -> commit with a bug 2016-02-25 21:06:37 +01:00
Renamed from nodes.go (Browse further)