Nethermind.HealthChecks.dll
plugin that allows you to monitor your Nethermind node better. It leverages the power of AspNetCore.Diagnostics.HealthChecks. It simply adds an/health
endpoint 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 eth_getBalance
.Nethermind.HealthChecks.dll
plugin will be automatically loaded on Nethermind start.--HealthChecks.*
flags or by adding a "HealthChecks"
section to the config file. --JsonRpc.Enabled true
health
endpoint is now available at localhost:8545/health
by default (if your --JsonRpc.Port
is 8545
). The health
endpoint can be configured via --HealthChecks.Slug
parameter e.g. --HealthChecks.Slug /api/health
. We can if it is working with curl
:/healthchecks-ui
and will allow seeing node's health on a nice UI. To view the UI simply go to http://localhost:8545/healthchecks-ui
.--HealthChecks.WebhooksEnabled true
and add the --HealthChecks.WebhooksUri
which can be found in your Slack app configuration.