Skip to main content
11-Garnet
April 28, 2025
Solved

How to Ping and check if the service is up and running from Thingworx's Thing service ?

  • April 28, 2025
  • 3 replies
  • 781 views

I have a requirement where the client wants to check if all their servicers are up and running. They are asking for a Mashup with layout and various point on the layout indicating the location of that server.

 

I am checking for a provision in thingworx Thing service to perform Ping operation and check. Need support on how to achieve this with RhinoJS in Thingworx.

Best answer by VladimirRosu_116627

The Ping operation is something that is specific to an IP and it is not related to HTTP services, technically speaking.

You can have the server interface happily responding to a PING, while the ThingWorx server is down.

You can replicate this behavior, somehow, if you define a list of external HTTP Services, to which you connect via the ThingWorx Content Loader snippets and get the reply back, and you measure the response time (this approach would require finishing some other details, but that's it overall).

 

3 replies

19-Tanzanite
April 28, 2025

The Ping operation is something that is specific to an IP and it is not related to HTTP services, technically speaking.

You can have the server interface happily responding to a PING, while the ThingWorx server is down.

You can replicate this behavior, somehow, if you define a list of external HTTP Services, to which you connect via the ThingWorx Content Loader snippets and get the reply back, and you measure the response time (this approach would require finishing some other details, but that's it overall).

 

17-Peridot
April 29, 2025

To get ping results of IP/FQDN, you can use following extension.

TWX_PingRequest from Github.

16-Pearl
May 6, 2025

Hi @SV_10197221,

It appears that a response in this post answers your question.  For the benefit of other Community Members who may have the same question, it would be great if you could designate it as the Accepted Solution.

In the event that this response did not answer your question, please post your current status so that we can continue to support.

Thanks for using the PTC Community!

Regards,