Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: edit-monitor section added

...

edit-monitor: Edit an existing monitor

Synopsis

uptimerobot edit-monitor ID [OPTION] ...

Edit the settings of an existing monitor

 

positional arguments:

ID

ID of monitor to edit

 

optional arguments:

-h, --help

show this help message and exit

 

--api-key STR

Your uptimerobot.com api-key (for account or individual monitor).

 

--name STR

Friendly name of monitor

 

--status N

Status to set the monitor to: one of

   0: paused
   1: running

 

--url STR

URL to monitor

 

--type N

Monitor type. The parameter is one of these integer values:

   1: http(s)
   2: keyword
   3: ping
   4: port

 

--subtype N

Monitor subtype. The parameter is one of these integer values:

   1: http
   2: https
   3: ftp
   4: smtp
   5: pop3
   6: imap
  99: custom

 

--port N

Port to monitor

 

--keyword-type N

When monitoring for keywords (parameter "--type 2"), this integer selects the monitoring type.

   1: exists
   2: not exists

 

--keyword STR

Keyword to monitor

 

--username STR

HTTP username to use for private site

 

--password STR

HTTP password to use for private site

 

--alerts ID [ID ...]

IDs of alert contacts to use

 

 

delete-monitor: Delete a monitor

...