Nethermind.HealthChecks.dllplugin that allows you to monitor your Nethermind node better. It leverages the power of AspNetCore.Diagnostics.HealthChecks. It simply adds an
/healthendpoint to the JSON RPC service which can be used to check the Nethermind's liveness - verify if the node is synced and has at least one peer. Useful when you don't want to query the node before it's able to provide you data available only for fully synced nodes like
Nethermind.HealthChecks.dllplugin will be automatically loaded on Nethermind start.
--HealthChecks.*flags or by adding a
"HealthChecks"section to the config file.
healthendpoint is now available at
localhost:8545/healthby default (if your
healthendpoint can be configured via
--HealthChecks.Slug /api/health. We can if it is working with
/healthchecks-uiand will allow seeing node's health on a nice UI. To view the UI simply go to
--HealthChecks.WebhooksEnabled trueand add the
--HealthChecks.WebhooksUriwhich can be found in your Slack app configuration.