Health check of the explorer
Closed this issue · 1 comments
gperezalba commented
Hi guys,
I'm using the block-explorer for a private network in an AWS instance. I need a kind of health check so that the domain to access to the service stops/restarts. Something like a HTTP GET which returns a 200 OK, or some api to check the status would be very useful. Something like 'connection' in https://github.com/Alethio/ethstats-network-server/blob/master/docs/WEBSOCKET-API.md but I need simple HTTP GETs...
Also I need it for the ethstats network-server and dashboard.
Thanks in advance
Guillermo
gperezalba commented
After a while I answer myself:
Health checks can be done with curl -v http://IP:port/health-check
in block-explorer and ethstats dashboard. It returns a 200 OK.
Hope it helps somebody.