Uptime
Overview
The Uptime Component periodically checks if a site is up or down. It sends a message when the site's availability status changes (i.e., the site goes from up to down or vice versa).
Usage
Input Parameters
target
string
The URL of the site to check for uptime. Must start with http://
or https://
.
Output Ports
up
Triggered when the site becomes available. Returns the target URL, status code, and downtime details.
down
Triggered when the site becomes unavailable. Returns the target URL and status code.
Instructions
Set the Target URL
Provide a valid URL in the
target
field.
Monitoring Behavior
The component periodically checks the status of the target site.
If the site is down, it triggers the
down
port.When the site comes back up, it triggers the
up
port with downtime duration details.
Ensure Proper Protocol
Only URLs with
http://
orhttps://
are allowed.
Notes
Status Codes Handling:
A
5xx
response is considered a down status.Successful responses indicate the site is up.
State Persistence:
The component remembers the last known state of the site to detect status changes.
Time Tracking:
When a site goes down, the downtime duration is recorded and sent once it comes back up.
Last updated