Runs ping -O -I {source} {host} on the node and streams the output. Use ?wait=1 to block and receive the ping output.
Requires nodes::service:tg-ping or nodes::remote-execute permission.
Security
JWTAuthorizer
- Mock serverhttps://apidocs.trustgrid.io/_mock/node/{nodeID}/trigger/tg-ping
- https://api.trustgrid.iohttps://api.trustgrid.io/node/{nodeID}/trigger/tg-ping
curl -i -X POST \
'https://apidocs.trustgrid.io/_mock/node/{nodeID}/trigger/tg-ping?wait=1' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"source": "192.168.1.10",
"host": "8.8.8.8"
}'