depends if you have access to the network of your target machine,
"ping" in the context of a remote machine (especially in a foreign network) is normally blocked, typcially all inbound traffic is blocked.
The Thingworx Edge SW (EMS as well as SDKs) provides a firewall-friendly way to implement an outbound communication (from machine to Thingworx server) that includes connectivity status. You noremally leverage this information to detect if machine is running and optionally implement additional monitoring states.
Thingworx Navigate content has a new home! Click here to access the new Thingworx Navigate forum!