Skip to content

Holo-Host/net-stats-daemon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

net-stats-daemon

Ownership Info

Codeowner: @peeech Consulted: @jetttech Informed: None

HPOS daemon for collecting statistics from holoport and PUSHing them to database via match-service-api.

Currently script is collecting following information:

  Holo Network    # can be one of devNet, alphaNet, flexNet...
  Channel         # nix-channel that HPOS is following
  Model           # HP or HP+
  SSH status      # is SSH enabled?
  ZT IP           # IP address on Zerotier network
  IP address      # IPv4 address on internet
  Holoport ID     # base36 encoded public key of the host
  ChannelVersion  # The git revision channel that HPOS has downloaded
  HposVersion     # The git revision that HPOS is currently running

Once collected payload is signed with holoport's private key and sent to match-service-api.

Prerequisites

Location of an hpos-config.toml file is hard-coded in keypair.rs module. Binary needs an env var DEVICE_SEED_DEFAULT_PASSWORD for unlocking this file.

Debugging

export RUST_LOG=DEBUG; cargo run for debugging info.

Decision log

Decisions made around architecture and functionality are saved in docs folder.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages