Skip to main content

Monitoring for Elrond Network nodes

Project description

vilya

This is Flying Stone's unofficial monitoring (and soon management) tool for Elrond Network nodes. This package is the agent running on the same machine as the node or nodes being monitored.

Features

Compared to other monitoring solutions, vilya is:

  1. secure: all data is sent to a remote machine through the local machine's ssh client, so no need for opening any firewall port, no answering to any requests, no extra software

  2. easily auditable: the code is short and with very few dependencies (and they will go away over time), so you can read and understand the code for yourself before installing or updating it

  3. easy to use: it was written from scratch for the job, so configuration is minimal and implementing new measurements is easy and fast (you need to write a little python, but it looks almost like a configuration file)

  4. lightweight but powerful: it uses less than 1% of th cpu when remotely logging:

    • cpu, memory, disk and network usage every second, plus
    • the node/status API route every round, plus
    • node/p2pstatus, node/heartbeatstatus, validator/statistics every 5-10 minutes, plus
    • the full *:DEBUG log stream
    • more, just read records.py
  5. synchronized to the Elrond Network, so it waits until each block has been signed and sent before doing most of its job

  6. MIT licensed, because it is the shortest and most permissive of all popular licenses

  7. named after Vilya, Elrond's ring and the mightiest of the Three of course :^)

Status

I've been running it without problem on 3 machines each with 2 to 4 of the flying-... nodes over the last few weeks without issues. Its companion dashboard application nodeview is still a work in progress so vilya changing a bit so the two work well with each other.

to install: $ pip3 install vilya

NOTE: as I'm still developing it, some of the configuration is still hardcoded so installing with pip won't work out of the box for now. But if you know a little pythin you can find your way. The only other required configuration is to setup the ssh client for accessing the remote machine. More instruction will follow with the first realease. I'll soon upload to github, but the code of course is already on this page too.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vilya-0.1.0.dev10-py3-none-any.whl (16.5 kB view details)

Uploaded Python 3

File details

Details for the file vilya-0.1.0.dev10-py3-none-any.whl.

File metadata

  • Download URL: vilya-0.1.0.dev10-py3-none-any.whl
  • Upload date:
  • Size: 16.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.9

File hashes

Hashes for vilya-0.1.0.dev10-py3-none-any.whl
Algorithm Hash digest
SHA256 22a4e6723e17b7876dc873ea3f75204cf4e8491371e444ff5f31cc59b814dd12
MD5 3d93987cadc674a5dda4d3792dddd8ca
BLAKE2b-256 5dab5b933e911c4c0d22d198f0763980ebc4335dcaaba6074ba2c00b2eb2c6bb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page