I have monerod running on my VPS server and would like to know if it ever fails or isn't running. What is the best way to monitor this service and have it alert me on telegram or some other app?

1 Answer 1


There are lots of ways this can be achieved. The simplest is to make use of the daemons RPC interface and call a method like get_height or get_info. When you start monerod, I'd recommend starting with the --restricted-rpc flag (to restrict it to view only commands). Then just configure your firewall to allow inbound connections to port 18081 (or a different port if you changed from the default via --rpc-bind-port).

As an alternative to opening up for inbound connections, you could write a cron job that runs on the same host, which again uses the RPC interface, but emails you if there are issues.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.