Try the RankNibbler SEO API

Check types Beta

A monitor's type decides what it checks. The default is http, a web page, and every monitor created before check types existed is one.

Set type when you create a monitor. It can be changed later with update, along with the settings that type needs.

The nine types

TypeWhat it checksUp whenPage
httpA web page or endpointA 2xx or 3xx response that passes your text checksWebsite
httpcustomA status document your endpoint returnsA named field in the JSON or XML holds the value you expectCustom status page
tcpA TCP portThe port accepts a connection, and any reply you expect arrivesTCP port
udpA UDP portSomething replies to your datagramUDP port
pingA host, by ICMP echoThe host answers the pingPing
dnsA DNS recordThe name resolves, and the answer matches what you expectDNS record
smtpA mail serverThe server greets you, and signs you in when you ask it toMail servers
pop3A mailbox serverThe server greets you with +OKMail servers
imapA mailbox serverThe server greets you with * OKMail servers

Read the live list, with the port and encryption rules for each type, from setting options.

A URL or a host

Duplicates

Two monitors clash only when the type, host and port all match. The same domain can have a website check, a mail check and a DNS record check side by side. A clash returns 409.

When ping isn't available

ICMP needs a raw socket, which a container doesn't always allow. Setting options returns pingAvailable so you can tell in advance. On a checking server without it, a ping check reports ICMP isn't available from this checking server rather than calling the host down, and it isn't retried.

What doesn't change

Filtering by type

List monitors takes ?type= with a comma list, and both the list and the detail return type and port.

Related