library
turbot/uptimerobot
Get Involved
Version
Pipeline: Create Monitor
Create new monitors of any type.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run uptimerobot.pipeline.create_monitor \ --arg 'friendly_name=<string>' \ --arg 'url=<string>' \ --arg 'type=<number>'
Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = uptimerobot.pipeline.create_monitor args = { friendly_name = <string> url = <string> type = <number> }}
Params
Name | Type | Required | Description | Default |
---|---|---|---|---|
conn | connection.uptimerobot | Yes | Name of UptimeRobot connection to use. If not provided, the default UptimeRobot connection will be used. | connection.uptimerobot.default |
friendly_name | string | Yes | The friendly name of the monitor. | - |
url | string | Yes | The URL/IP of the monitor. | - |
type | number | Yes | The type of the monitor. Possible values are 1. HTTP(s), 2. Keyword, 3. Ping, 4. Port, 5. Heartbeat. | - |
sub_type | number | No | The sub-type of the monitor. Required for port monitoring. Possible values are 1. HTTP(80), 2. HTTPS(443), 3. FTP(21), 4. SMTP(25), 5. POP3(110), 6. IMAP(143), 99. Custom Port(99). | - |
port | number | No | The port of the monitor. Required for port monitoring. | - |
keyword_type | number | No | The type of keyword monitoring. Required for keyword monitoring. Possible values are 1. Exists, 2. Not Exists. | - |
keyword_value | string | No | The keyword value of the monitor. Required for keyword monitoring. | - |
Outputs
Name | Description |
---|---|
monitor | The created monitor detials. |
Tags
recommended = true