Ping
Ping blocks send a High value from each status node associated with each endpoint when they are responding to Pings and a low value when they do not.
Define how regularly the ping monitor Pings all endpoints by modifying the Ping monitor itself in the Ctrl Designer Nodes view. (Default is every 30 seconds).
The output of the block only updates when a change in connectivity is detected (i.e. a device has stopped or has started responding).
The outputs of the block consist of a received node (pair this with a JSON parser to read in the raw content received by the block when pinging devices) and a Status node for each endpoint that has been defined to send Pings to.
Note: A maximum of ten endpoints can be defined per Ping Monitor.
Output
-
Received - Raw JSON - Connect to a JSON parser to read the raw responses being received by the monitor.
-
Identifier - status - Boolean - Sends a high value when an endpoint is responding, sends a low value when devices stop responding. Values are only emitted upon change of state.
Top Tip: If you want to monitor software that's running on a device that has the ability to host a web-sever, instead of a using a Ping block to check the hardware is running, use a URL monitor to monitor the software directly and ensure it's running.