Commit Graph

189 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
Martin Geno 8a5f907cbe
Some doku 2017-01-30 15:44:49 +01:00
Julian Kornberger 2e9f6fa459 Add flag to disable timestamps 2017-01-30 09:09:49 +01:00
Julian Kornberger fd6a169b18 Use fixed value for the batch timer 2017-01-30 00:52:49 +01:00
Julian Kornberger 54cdd39eb8 Clean up Collector struct 2017-01-29 22:56:09 +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
Martin Geno e586dad6d5 fix json encoding in meshviewer 2017-01-20 13:53:27 +01:00
Geno 8927fe27f5 Merge pull request #15 from Brother-Lal/readmetypos
Update README.md
2016-12-22 22:15:53 +01:00
Ludwig Thomeczek c7aeb97fe5 Update README.md
Typos
2016-12-22 20:58:19 +01:00
Julian Kornberger ab01eb0d9e Add wireless statistics (airtime) 2016-12-22 20:25:58 +01:00
Julian Kornberger ed6e67fa13 Add small query command 2016-12-22 03:59:27 +01:00
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