Skip to main content

URL

The URL monitor block allows a remote webpage or URL to be monitored, ideal for detecting if a webpage is online or not and reading in the data on a webpage to parse and process.

All data received by the block is sent out of the Received node in JSON form.

Pair the URL monitor with a JSON Parser block to read in the page information, or use the Any block to simply detect if a response is being received or not.

The Any block method is ideal for determining if a service is responding or not (i.e. a device with a localhost webpage, or internet service) - this is far more targeted than sending a Ping to the device the process is running on.

The JSON Parser block method allows variables in the response to be examined and logic to be applied in your process based on what the monitor receives.

Define how regularly the URL monitor sends a request to the endpoint being monitored URL monitor itself in the Ctrl Designer Nodes view. (Default is every 30 seconds).

Output

  • Received - Raw JSON - Connect to a JSON parser to read the raw responses being received by the block.

Top Tip: If you simply want to monitor if a device is powered on and connected to a network, instead of a using a URL monitor, check out the Ping monitor type.