Skip to content
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

JSON "clients" inconsistebcy: "total" less than "wifi" #122

Open
RalfJung opened this issue Aug 15, 2020 · 2 comments
Open

JSON "clients" inconsistebcy: "total" less than "wifi" #122

RalfJung opened this issue Aug 15, 2020 · 2 comments
Labels

Comments

@RalfJung
Copy link
Contributor

We occasionally see nodes with data like this in the hopglass JSON file:

        "clients": {
          "total": 1,
          "wifi": 2,
          "wifi24": 2,
          "wifi5": 0
        },

This is clearly nonsensical. A possible reason for this is that hopglass gathers these numbers through separate queries at different times. In an attempt to do better merging of these queries, it could use max(wifi, total) as the count actually printed into the JSON.

Cc @nudelkiste

@anoymouserver anoymouserver transferred this issue from hopglass/hopglass Feb 5, 2021
@ghost
Copy link

ghost commented Feb 5, 2021

I believe this inconsistent data is given by respondd even in a single query.

@Adorfer
Copy link

Adorfer commented Feb 6, 2021

"total clients" querries the current (batman) claimtable.
"wifi-clients" querries the wifi driver.
if batman and wifidriver have different gate times or different "keep alive/ttl-values": that's what gluon is reporting.

@ghost ghost added the upstream label Feb 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants