Commit Graph

387 Commits

Author SHA1 Message Date
Geno 4de49c6d16 Add codecov for test coverage to see sunburst (#77) 2017-10-13 13:10:10 +02:00
Geno b8921052b6 [TEST] increase test coverage of package runtime to maximum (#75) 2017-10-12 15:25:00 +02:00
Martin Geno 3649bdd1c3
[DOC] fix config parameter 2017-10-02 00:44:21 +02:00
Martin Geno 4aa8acabfc cmd yanic-query fix help and print ip-address 2017-10-01 17:09:12 +02:00
Julian Kornberger cbb5f2e59b Switch to cobra for the CLI 2017-10-01 17:09:12 +02:00
Julian K f4650213b8 [TASK] add per-link statistics (#57)
ATM: support only influxdb
2017-09-27 13:55:02 +02:00
Igor Scheller b5a694a7a4 [BUGFIX] Fixed Graphite naming (#72)
* Bugfix: Graphite compatibility with meshviewer

* Bugfix: Bad message: Router type not sanitized

* Refactoring: Implemented replaceInvalidChars function for Graphite
2017-08-06 12:39:16 +02:00
Julian Kornberger 2148a7de28 Fix division by zero to calculate memory usage
Closes #41
2017-07-06 11:42:03 +02:00
kb-light fd7e712282 influxdb: replace log.Fatal() by log.Print()
Fatal() calls os.Exit(1), which causes yanic.service to fail if database is not reachable.
2017-06-29 12:40:27 +02:00
Geno 550e76ae4f
[DOC] update README 2017-06-14 21:33:15 +02:00
hexa- de968473cd [BUGFIX] yanic-import-timestamp: properly parse timestamps with strptime (#67)
Also some additional refactoring and more verbosity.
2017-06-14 09:47:41 +02:00
Julian K 7f554bd6d6 [TASK] Delay startup until a multiple of the period since zero time (#68) 2017-06-14 09:44:15 +02:00
Andreas Rammhold 88975d2566 [TASK] add database type graphite (#65) 2017-06-01 22:52:14 +02:00
kb-light 214a03866e [TASK] add job tag to influxdb database type (#44) 2017-06-01 18:17:32 +02:00
Martin Geno dc24c8b250
[TASK] init systemd restart after 5 seconds 2017-05-22 12:12:13 +02:00
Malte Blättermann d20277a4c4 [DOC] usage example comment (fix rename to yanic) #59 2017-04-19 23:52:13 +02:00
Julian Kornberger 237e011068 Pass the time to addPoint 2017-04-18 03:10:16 +02:00
Julian Kornberger 0df8f5d615 Remove Gateway field 2017-04-18 03:08:09 +02:00
Julian Kornberger 8b8b1441ba Rename and move database methods 2017-04-18 02:42:26 +02:00
Julian Kornberger c47214fc49 Remove reference to node-informant
Is not maintained any more
2017-04-18 01:24:48 +02:00
Julian Kornberger fb8e944f74 Remove remaining pieces of respond-collector 2017-04-18 01:17:57 +02:00
Julian Kornberger ecfd860d15 Simplify incrementation 2017-04-18 01:09:55 +02:00
Julian Kornberger dbaa19d13a Rename methods and add comments 2017-04-17 20:48:46 +02:00
Julian Kornberger 81368deb78 Divide meshviewer/nodes.go into multiple files 2017-04-16 20:27:25 +02:00
Julian K 98451979f6 [TASK] travis test with more Go versions (#55) 2017-04-16 09:07:28 +02:00
Geno f135249795 [TASK] Make yanic more modular for multiple databases (#33) 2017-04-10 18:54:12 +02:00
Julian Kornberger 5502c0affe Fix airtime calculation 2017-04-09 05:23:03 +02:00
Geno b131fac626 [TASK] import firstseen (#47) 2017-03-26 08:53:21 +02:00
Geno c4d8fbd4df [TASK] Allow binding to arbitrary ports for respondd querying (#48)
Allow binding respondd to a specific port
2017-03-21 00:53:02 +01:00
Geno 4550887f69 [DOC] describe webserver (#49) 2017-03-19 11:03:38 +01:00
Geno 8175afd43b [TASK] Add model, firmware_base and firmware_relase tag to node statistics. (#43)
Thank you to: lemoer git@irrelefant.net

https://paste.irrelefant.net/Liengie9.txt
2017-03-15 23:26:34 +01:00
Julian a3e3ea7589 [BUGFIX] omit longitude and latitude in location if empty (#42) 2017-03-15 15:04:40 +01:00
Geno 49a153b7a2 [BUGFIX] Memory calc for meshviewer (#38)
Discussed in https://github.com/FreifunkBremen/yanic/issues/35
2017-03-13 18:36:39 +01:00
Geno a68e13d311 [TASK] implement gateway_nexthop (#39)
https://github.com/freifunk-gluon/gluon/pull/795
2017-03-13 12:15:22 +01:00
Zaunei 8fcf9c496e Fix Typo in INSTALL.md (#37) 2017-03-12 16:09:18 +01:00
Geno 016e2dc50d [BUGFIX] graph.go runs into deadlock (#32) 2017-03-07 16:47:58 +01:00
Geno ed049cfb55 [BUGFIX] fix no id in graph.json (#31) 2017-03-07 11:47:41 +01:00
Martin Geno 56b14bfe60
[TASK] Store gateway6 from gluon-package gluon-radv-filterd (fixed #30) 2017-03-06 20:23:06 +01:00
Geno 12a09716fc [TASK] Remove nodes without links from graph.json (#22)
* [TASK] [models] graph.json should only save nodes with links

* [TASK] [models] graph.json should only save nodes with links and there main mac (with tests)
2017-03-06 09:52:39 +01:00
Geno d5aa4772a0 Update INSTALL.md 2017-03-05 21:02:36 +01:00
Geno c3353ec599 [DOC] Installation 2017-03-05 20:59:03 +01:00
Geno 10963bfc52 Update example config.json
set `webroot` under `[webserver]` to same as json-files
2017-03-05 20:56:41 +01:00
Geno 1bdfa296d2 Rename everthing to Yanic (#28) 2017-03-03 16:19:35 +01:00
Geno 3fc8dff670 [TASK] [Yanic] Update README bagde travis for new name Yanic 2017-03-03 16:00:33 +01:00
Geno c1e302fce3 Update README.md to yanic
#27
2017-03-03 10:57:38 +01:00
Martin Geno 78adbeca62
[TASK] add init system.unit 2017-02-19 18:19:39 +01:00
Geno 3e342ce738 Did not make model and site_code in nodeinfo necessary 2017-02-07 11:33:55 +01:00
Julian Kornberger a67443b342 Listen on first link local unicast address 2017-02-01 18:47:32 +01:00
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