-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Request: Push selected gateway as influx statistic? #173
Comments
A gateway is also just a node from respondd / yanic view, so there is no easy data struct, to store somethink like this nice. It is possible to save for every node there gateway - but i do not know any influxdb select to group it afterwards on a nice way. The connected neigbours are not enought? Do you have any idea to handle it? (maybe influxdb insert query or pullrequest)
Hope it could help on a way. |
@lemoer maybe this could become a field provided by wgpeerselector, after the first merge in gluon is done? |
@AiyionPrime I guess, you misunderstood the issue here. The "selected ipv6-gateway" is the information about the router advertisement server selected by radv-filterd and "selected ipv4-gateway" is the information equivalent to the selected gateway in However, the scope of this issue is to be able to visualize this information as a time series. Currently yanic only exposes this to the nodes.json iirc, but not to influx. We solved this downstream: (I think, we did this using a shell script by parsing the nodes.json or so...) I still think, it would be nice for other communities as well. But I am probably not going to implement in yanic, as we have a working solution... |
Thanks for clarifying. |
Wouldn't it be possible to add the string mac from here: Lines 18 to 19 in 6b4b954
and just write it together into the influxdb as a new tag here: yanic/database/influxdb/node.go Lines 35 to 36 in 6b4b954
We would also profit from this feature :) |
Would you like to add code to push this statistics into Influx DB so they are available as time series? It would be helpful to have this stats in our Grafana Dashboards, so we can infer whether a DHCP server (or so) is not running.☺️
The text was updated successfully, but these errors were encountered: