Julian Kornberger
ff42378138
Make linter happy
2022-03-28 04:20:58 +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
genofire
9d836f87c2
[BUGFIX] respondd module encoding
2020-01-07 15:37:09 +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
Martin/Geno
31267858a6
[TASK] change default listing address to ff05::2:1001
...
take a look at: 59a44274cb
2019-05-03 17:35:15 +02:00
Martin/Geno
bd13b99378
[TASK] rename NodeInfo to Nodeinfo (same naming overall)
2019-01-24 02:56:13 +01:00
Martin/Geno
27fde7cd8c
[TASK] improve logging
2019-01-19 20:58:36 +01:00
Martin/Geno
b8792a2691
[BUGFIX] send_no_request
2018-07-27 20:42:03 +02:00
Martin/Geno
7e97b691eb
[TASK] improve autoselect ip_address ( #137 )
2018-05-08 19:32:03 +02:00
Martin/Geno
4e7e2bad46
[TASK] do not send multicast request ( #121 )
2018-05-05 23:30:23 +02:00
Martin Geno
c20e216ed6
[TASK] make yanic babel compatible ( #104 )
2018-05-05 23:30:22 +02:00
Martin Geno
35d6933d31
[TASK] handle domain_code (with filters) ( #119 )
2018-05-05 23:28:46 +02:00
Julian Kornberger
082f8d6c7e
Fix misspells
2018-01-13 17:04:26 +01:00
Julian Kornberger
f5b24dfab2
Move config structs to packages
2018-01-13 15:06:18 +01:00
Martin Geno
d892d1693d
[TASK] extract seperate config to packages
2018-01-13 14:14:39 +01:00
Julian Labus
7324567f91
[TASK] add global statistics for individual sites
2017-12-06 09:30:19 +01:00
Xaver Maierhofer
93321ab3ad
[TASK] Add editorconfig & format code ( #94 )
2017-11-06 00:59:42 +01:00
Martin Geno
82fa527386
[TASK] improve output (filtering, fix links type, new outputs nodelist for freifunkapi and meshviewer-ffrgb v10 NextGen) - #63
2017-11-01 14:27:39 +01:00
Martin Geno
9ee424b912
[BUGFIX] binding listen port
2017-10-26 15:24:04 +02:00
Julian K
dbc1353154
Add support for listening on multiple interfaces ( #80 )
...
closes #79
2017-10-18 18:22:14 +02:00
Julian K
f4650213b8
[TASK] add per-link statistics ( #57 )
...
ATM: support only influxdb
2017-09-27 13:55:02 +02:00
Julian Kornberger
8b8b1441ba
Rename and move database methods
2017-04-18 02:42:26 +02:00
Geno
f135249795
[TASK] Make yanic more modular for multiple databases ( #33 )
2017-04-10 18:54:12 +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
1bdfa296d2
Rename everthing to Yanic ( #28 )
2017-03-03 16:19:35 +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
Julian Kornberger
54cdd39eb8
Clean up Collector struct
2017-01-29 22:56:09 +01:00
Martin Geno
d855248f6a
improve complete code with comments and co (thanks linter)
2017-01-20 22:27:44 +01:00
Julian Kornberger
ab01eb0d9e
Add wireless statistics (airtime)
2016-12-22 20:25:58 +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
ac5858259c
Add measurements for models and firmwares
...
closes #12
2016-12-15 14:30:56 +01:00
Martin Geno
0c18f402a0
fix: collector crash without db
2016-10-18 22:54:45 +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
d57d864ab0
Refactoring
2016-10-03 22:04:01 +02:00
Martin Geno
67c6031fff
multi nodes
2016-06-16 18:03:45 +02:00
Julian Kornberger
97348afa75
Deflate directly
2016-03-19 23:34:40 +01:00
Julian Kornberger
c88d13723a
Request all data types at once
2016-03-19 23:27:02 +01:00
Julian Kornberger
96d8be417c
Fix handling of compressed data
2016-03-19 15:07:44 +01:00
Julian Kornberger
8d471d532a
Use compressed respond data
2016-03-19 01:50:47 +01:00
Julian Kornberger
9e863ca336
Rename package to respond-collector
2016-03-15 23:26:30 +01:00
Martin Geno
f3403c364c
move and rename project
2016-03-13 14:10:33 +01:00
Julian Kornberger
5d9cee48dd
Add initial delay for collectors
2016-03-12 18:26:54 +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
Julian Kornberger
037fe1de05
Print collection type on request
2016-03-12 03:35:35 +01:00
Julian Kornberger
894eabedb8
Start senders immediately
2016-03-12 01:04:22 +01:00