/
NuCypher

NuCypher Worker Node Monitoring Suite

Post preview image

As part of the Technical Contributor Phase of NuCypher’s Come And Stake It (CASI) Incentivized Testnet, P2P Validator has collaborated with NuCypher to provide an inexpensive and powerful suite of self-hosted NuCypher node monitoring and alerting services using Prometheus and Grafana. This suite is free and open-sourced so that anyone can make use of it to manage their NuCypher node infrastructure.

The Need

The NuCypher Network is a decentralized network of nodes that uses proxy re-encryption to provide secrets management and dynamic access control services. The network facilitates end-to-end encrypted data sharing between parties without exposing plaintext data or private keys to the nodes.

NuCypher nodes are incentivized to maintain high uptime and availability to readily provide re-encryption services. Persistent downtime will cause nodes to forgo inflation rewards and policy fees. Therefore, identification and resolution of availability issues quickly is a requirement. This solution is aimed at those who independently set up and run the Worker according to the NuCypher documentation, but who do not have enough experience to implement monitoring and alerting on their own. After successfully running a Worker node, the user should be able to check the state of their node and receive timely alerts about issues that need to be addressed immediately.

The Solution

Our goal was to provide a seamless setup, simple configuration and enable the user to obtain up-to-date information about their ongoing node operations and the broader NuCypher network. We implemented a Worker endpoint that provides various node metrics and a Grafana dashboard to allow users to visualize these metrics and assess the state of their node.

Metrics include:

Furthermore, alerts can be provisioned based on these metrics through the dashboard to send timely messages when notable issues arise. Notification mechanisms include Telegram bots, SMS, phone calls, and email notifications. Additional functionality is provided to include images within alert messages and to configure reminders.

Getting Started

To install Prometheus and run your Worker with the metrics endpoint activated, see https://docs.nucypher.com/en/latest/guides/network_node/ursula_configuration_guide.html#prometheus-endpoint.

To set up our monitoring suite, go to https://github.com/p2p-org/nucypher-monitoring, and follow the instructions.

To file bug reports or feature requests, please create an issue on our Github. If you are feeling adventurous feel free to submit pull requests.

Do not hesitate to ask questions in our Telegram chat or contact Alex via [email protected]. We are always ready to help and open for communication.


About P2P Validator

P2P Validator is a world-leading staking provider with the best industry security practices and proven expertise. We provide comprehensive due-diligence of digital assets and offer only top-notch staking opportunities. At the time of the latest update, more than 3 billion of USD value is staked with P2P Validator by over 10,000 delegators across 25+ networks.

Web: p2p.org

Stake NU with us: p2p.org/nucypher

Twitter: @p2pvalidator

Telegram: t.me/P2Pstaking

Subscribe to P2P-economy

Get the latest posts delivered right to your inbox

Subscribe
Pavel Pavlov

Product manager at p2p.org

Read more