Skip to content

client count stays "up" for offline nodes #25

@Adorfer

Description

@Adorfer

A node signing off, will be kept in the metrics file with a line like
meshnode_clients{hostname="x",nodeid="y",sitecode="z"} 11
even it's offline for ever.

in plus, if a nodes is renamed, the old one will kept with clients for at least a long, long time: (weeks?)

same file:
meshnode_clients{hostname="camp_benrath27",nodeid="30b5c281075e",sitecode="ffdus"} 3
meshnode_clients{hostname="camp-benrode-mystery-075e",nodeid="30b5c281075e",sitecode="ffdus"} 4

Since i tried to sum up all clients from "meshnode_clients", i get totally bogous readings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions