library
turbot/uptimerobot
OverviewPipelines
0
Triggers
0
Variables
GitHub

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

NameTypeRequiredDescriptionDefault
keyword_typenumberNoThe type of keyword monitoring. Required for keyword monitoring. Possible values are 1. Exists, 2. Not Exists.-
keyword_valuestringNoThe keyword value of the monitor. Required for keyword monitoring.-
credstringYesName for credentials to use. If not provided, the default credentials will be used.default
friendly_namestringYesThe friendly name of the monitor.-
urlstringYesThe URL/IP of the monitor.-
typenumberYesThe type of the monitor. Possible values are 1. HTTP(s), 2. Keyword, 3. Ping, 4. Port, 5. Heartbeat.-
sub_typenumberNoThe 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).-
portnumberNoThe port of the monitor. Required for port monitoring.-

Outputs

NameDescription
monitorThe created monitor detials.