...
rmr_probe [-h host:port] [-t timeout-seconds]
The rmr_probe application sends a message with the type RIC_HEALTH_CHECK_REQ and expects a response with the RIC_HEALTH_CHECK_RESP message type. The payload of the message is expected to be UTF-8 (ASCII) where the first token is either "OK" or "ERR". Any subsequent tokens are optional and serve as an extended "reason". The state and reason are written to standard error.
If a response with ERR is received, or no response within the timeout period is received, the exit code is 1 (bad), otherwise the exit code is 0 (good).