Question
cognizant technology solutions
cognizant technology solutions
IN
cognizant technology solutions
Posted: Aug 1, 2024
Last activity: Aug 13, 2024
Last activity: 13 Aug 2024 13:51 EDT
Closed
How to get fail status by pinging ping url while jvm down in pega?
How to get fail status by pinging ping url while jvm down in pega?
We ran into an issue a few months ago where the application was down on node 2, but TCP port was up, In fact even the HTTPS port was still listening at the JBoss layer, but backend Pega Application was down.
***Edited by Moderator Marije to change type from Pega Academy to Product***
@sivakrishnag
To verify that a Pega Platform instance is running, you can ping the instance by entering the following URL in a browser: http://<<hostName:port/contextName>>/PRRestService/monitor/pingservice/ping.
Pega Platform responds with HTTP Response Code 200 if the instance is available. The response contains JSON text in the following format: {\"node_type\": [\"\"],\"health\": [{\"last_reported_time\": \"\",\"test_name\": \"\",\"status\":\"\"},{\"last_reported_time\": \"\",\"test_name\": \"\",\"status\": \"\"}],\"state\": \"\",\"node_id\":\"\"}.
Any other response codes or time-out indicate that the instance is unavailable
To get a fail status by pinging the ping URL while the JVM is down in Pega, use the following URL:
http://<<hostName:port/contextName>>/PRRestService/monitor/pingservice/ping
⚠ This is a GenAI-powered tool. All generated answers require validation against the provided references.
Pega Application- Health Check
Verifying that an instance is running
@sivakrishnag
To verify that a Pega Platform instance is running, you can ping the instance by entering the following URL in a browser: http://<<hostName:port/contextName>>/PRRestService/monitor/pingservice/ping.
Pega Platform responds with HTTP Response Code 200 if the instance is available. The response contains JSON text in the following format: {\"node_type\": [\"\"],\"health\": [{\"last_reported_time\": \"\",\"test_name\": \"\",\"status\":\"\"},{\"last_reported_time\": \"\",\"test_name\": \"\",\"status\": \"\"}],\"state\": \"\",\"node_id\":\"\"}.
Any other response codes or time-out indicate that the instance is unavailable
To get a fail status by pinging the ping URL while the JVM is down in Pega, use the following URL:
http://<<hostName:port/contextName>>/PRRestService/monitor/pingservice/ping
⚠ This is a GenAI-powered tool. All generated answers require validation against the provided references.
Pega Application- Health Check
Verifying that an instance is running
Pega Ping service FAQs
Health probe end point for Pega required
Check Webservices up or down