How to check if one of the brokers on both sides is down.
Hi Community,
I wanted to check if one of the brokers on both side is down due to HA switch or similar issue.
Is there any option available to find out if both sides are down or only one side is down ? I have checked the System logs but I can only see the HA redundancy state changes or VPN_BRIDGING_LINK_DOWN.
Kindly let me know your suggestions.
Thanks.
Best Answer
-
Hi techrahul95,
you can query the health check:
Most often the health-check port is 5550,
so, something like
curl http://<broker-ip>:5550/health-check/guaranteed-active
Should give you meaningful responses.
For sure, you can also use SEMP to query the state of the messaging vpn.
Have a nice day.
Uli
1
Answers
-
Hi techrahul95,
you can query the health check:
Most often the health-check port is 5550,
so, something like
curl http://<broker-ip>:5550/health-check/guaranteed-active
Should give you meaningful responses.
For sure, you can also use SEMP to query the state of the messaging vpn.
Have a nice day.
Uli
1 -
Thank you @uherbst for resolving the query.
I shall check it with curl or SEMP monitoring commands.
Have a nice day.
Regards,
Rahul
0