Commit Graph

383 Commits

Author SHA1 Message Date
genofire 773545643c fix reading toml for output and database 2022-04-14 00:14:09 +02:00
genofire 18c0362021 depends update 2022-04-14 00:04:49 +02:00
Julian Kornberger 578a45c19f Change toml parser 2022-03-28 04:41:32 +02:00
Julian Kornberger 4261ad2288 Remove gitlab template 2022-03-28 04:25:50 +02:00
Julian Kornberger ff42378138 Make linter happy 2022-03-28 04:20:58 +02:00
Julian Kornberger 61d159f3c5 Switch to Github Actions 2022-03-28 04:20:58 +02:00
Julian Kornberger e53b349cce Upgrade dependencies 2022-03-28 03:38:10 +02:00
Julian Kornberger 7ed13518a9 Upgrade dependencies 2021-11-19 20:10:22 +01:00
micw d4bd98a133 Explain how to receive old and new gluon nodes 2021-11-14 10:44:28 +01:00
Matthias Schiffer 2c0b3c74fc [TEST] Update check-testfiles to python3
The CircleCI golang image does not contain Python 2 anymore.
2021-10-02 19:47:59 +02:00
Matthias Schiffer 552b84f630 collector: set IPV6_MULTICAST_IF on UDP socket
Required to use the correct interface for non-link-local bind address.

Closes: #167
2021-10-02 19:47:59 +02:00
Matthias Schiffer 0349e372ac collector: move net.InterfaceByName() call out of getUnicastAddr()
Preparation for setting IPV6_MULTICAST_IF in listenUDP().
2021-10-02 19:47:59 +02:00
aiyion.prime bb0b23bff4 data: add WireGuard struct
resolves #183
2021-09-22 13:00:55 +02:00
dependabot[bot] 4a9089b099
Bump github.com/tidwall/gjson from 1.6.0 to 1.6.5 (#205)
Bumps [github.com/tidwall/gjson](https://github.com/tidwall/gjson) from 1.6.0 to 1.6.5.
- [Release notes](https://github.com/tidwall/gjson/releases)
- [Commits](https://github.com/tidwall/gjson/compare/v1.6.0...v1.6.5)

---
updated-dependencies:
- dependency-name: github.com/tidwall/gjson
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-28 10:36:29 +02:00
citronalco 94858fb06f Add Ingolstadt to user list 2021-06-23 09:18:20 +02:00
Geno 04bcaceb2c [DOC] improve of database.influxdb 2021-05-27 18:55:33 +02:00
Milan edad6061cc
[DOC] Fix "Communities using Yanic" info in README (#201)
Drop Kiel
2021-05-14 21:43:33 +02:00
lemoer 3aac902632
[BUG] fix target.hostname of links
Before this commit, the value of target.hostname was incorrect.
It was accidentially pointing to the hostname of the source of
the link. This means target.hostname was equal to source.hostname.

Fixes: #197
Fixes: 0325aad24e
PR: #200
2021-04-03 05:11:33 +02:00
lemoer a76df9b9ac
[TASK] add output raw-jsonl
PR at github: #199

This output takes the respondd response as sent by the node and includes
it in a Line-Delimited JSON (JSONL) document. In this format each line
can be interpreted as separate JSON element, which is useful for json
streaming. The first line is json object holding the timestamp and
version of the file. Then there follows one line for each node, each
containing a json object.

An example output looks like this:

    {"version":1,"updated_at":"2021-03-27T21:58:48+0100","format":"raw-nodes-jsonl"}
    {"firstseen": ..., "lastseen": ..., "online":true, "statistics": {...}, "nodeinfo": {...}, "neighbours":null, "custom_fields":null}
    {"firstseen": ..., "lastseen": ..., "online":true, "statistics": {...}, "nodeinfo": {...}, "neighbours":null, "custom_fields":null}
    {"firstseen": ..., "lastseen": ..., "online":true, "statistics": {...}, "nodeinfo": {...}, "neighbours":null, "custom_fields":null}
    {"firstseen": ..., "lastseen": ..., "online":true, "statistics": {...}, "nodeinfo": {...}, "neighbours":null, "custom_fields":null}
    ...

Signed-off-by: Leonardo Mörlein <git@irrelefant.net>
2021-03-29 16:12:26 +02:00
lemoer 0325aad24e
Add hostnames to database-output of link
Grafana is currently not able to resolve the target.id or source.id
into a human readable hostname. Therefore reading the neighbour
graphs is quite difficult for humans. To resolve this, we add the
additional tags source.hostname and target.hostname to the influx
link measurements.

In PR  #197
2021-03-26 10:18:29 +01:00
Geno 4103535992 go.mod: update of log (for circleci) 2021-03-24 11:05:21 +01:00
J. Burfeind 0775cfb5b8
[DOC] Mention community Freifunk Rhein-Sieg e.V.
#196

This implements the proposed changes by @cmarxmeier.
This resolves #159

Co-authored-by: cmarxmeier <alladin@routeme.de>
2021-03-24 09:57:24 +01:00
J. Burfeind 89810b8389
[DOC] mention Freifunk Hannover
#195
2021-03-24 09:22:18 +01:00
Geno f4bad7d856 nodeinfo without empty values 2021-03-24 08:57:46 +01:00
Geno 92dd324f5f go.mod: update 2021-03-24 08:45:25 +01:00
Geno 6dc4666ef2 docs: fix branch rename from master to main - Black Lives Matter 2021-02-17 23:25:56 +01:00
genofire aff906d734 black lives matter 2020-06-17 10:14:22 +02:00
genofire e97e481516 Bump dependencies version 2020-05-18 02:53:56 +02:00
Julian Kornberger a95d6ea10d Migrate to Go modules 2020-05-18 00:25:05 +02:00
David Bauer 743dbe3ef5 database: graphite: add support for OWE statistics 2020-04-11 14:38:21 +02:00
David Bauer b5c4931da7 database: influxdb: add support for OWE statistics 2020-04-11 14:38:21 +02:00
David Bauer 050a6da516 runtime: add support for OWE global statistics 2020-04-11 14:38:21 +02:00
David Bauer 4944790e06 data: add support for OWE per-node statistics
Gluon exports information about how many OWE capable clients are
connected to a given node. The OWE client count is already contained in
the wifi* counters and only provides more-specific information.
2020-04-11 14:38:21 +02:00
genofire d4c898d1c9
only show warning on Update Node (during recieving respondd data)
fixes #178
2020-03-21 10:21:47 +01:00
genofire 9d836f87c2
[BUGFIX] respondd module encoding 2020-01-07 15:37:09 +01:00
genofire 5eb75ff9bb
[DOC] improve raw-output 2020-01-05 17:15:44 +01:00
nrbffs 39e8f37eaa docs: add custom fields 2019-12-29 15:41:05 +01:00
nrbffs 9a70560cfb raw output: add custom fields
This will include all configured custom fields in the raw output
under the "custom_fields" key.
2019-12-29 15:41:05 +01:00
nrbffs 70cdb53b49 meshviewer-ffrgb output: add custom fields
This will include all configured custom fields in the meshviewer-ffrgb output
under the "custom_fields" key.
2019-12-29 15:41:05 +01:00
nrbffs 1a1163aaa1 add support for custom fields
At the moment, if one has a custom respondd module which includes custom
fields, Yanic will simply ignore these fields. Communities which have custom
fields have to maintain patches on Yanic to have them available.

This commit allows to define custom fields in the configuration file, which
will cause Yanic to also save the values of these custom fields in its internal
data structures. Output modules can then decide whether they want to include
these fields. For most cases, this should avoid the need for patches in Yanic.
2019-12-29 15:41:05 +01:00
nrbffs ab798f0dd6 refactor: make complete respondd config available during collecting
Right now, only the interface config and site domains are available when
collecting data. Make the complete respondd config available during collecting,
so the collect process can be configured more easily.

Motivation for this change is the support for custom fields.
2019-12-29 15:41:05 +01:00
genofire edfb403884
[DOC] misspell 2019-11-13 13:29:46 +01:00
genofire f3da33b15a
[BUGFIX] package name in output raw 2019-11-13 12:37:54 +01:00
genofire f58ad00fec
[TEST] add output raw 2019-11-13 12:21:50 +01:00
nrbffs 6d310614ca [TASK] add output raw (#169) 2019-11-13 12:14:15 +01:00
Martin/Geno be48b27470
[DOC] update install 2019-10-13 10:48:44 +02:00
genofire c1188378c4
[DOC] update go version 2019-10-12 21:58:14 +02:00
Martin/Geno 99eb11f2ef
[TASK] improve neighbours stats (+ babel support) 2019-05-28 20:14:12 +02:00
Martin/Geno 6e745bf78f
[TEST] improve runtime 2019-05-21 09:56:16 +02:00
Martin/Geno ccdeccd48f
[TEST] improve gitlab-ci 2019-05-21 09:45:04 +02:00