Skip to content
Browse docs
Docs / Uptime monitoring / Uptime monitor types: website, keyword, port, DNS and email

Uptime monitor types: website, keyword, port, DNS and email

Pick the kind of uptime monitor by what you need to know: that a page or API answers, that a page still shows something, that a server accepts connections, that a domain’s DNS records are right, that its email records keep mail arriving, or that a scheduled job ran.

Kind Checks Down when
Website An HTTP or HTTPS request to a page or API endpoint The request fails or times out, the certificate is invalid, the status is not one you expect, or a check on the answer fails
Keyword The same request, then the page’s HTML As Website, or the text is missing (or present, if you choose “not contain”)
Port A connection to a host and port The port refuses the connection or does not answer in time
DNS A domain’s records of one type There is no record of that type, or the records lack a value you expect
Email A domain’s MX, SPF, DKIM and DMARC records A record it watches disappears or stops being valid, or a change lowers protection, until it is undone or you accept it
Heartbeat Nothing: your job calls a link Monity gives you No call arrives in time. See heartbeat monitoring

Monity checks from its own servers on the internet, so the address must be public. Addresses on a private network (localhost, 192.168.x.x and the like) are refused with “The address points to a private network Monity cannot check”. A workspace can have one monitor per address: the editor links to the one that already checks it.

Website: status codes and checks on the answer

Enter a page or an API endpoint. Without http:// it is checked over https. Under When it counts as down:

  • Good status codes: 200-399 by default. Use codes and ranges, for example 200-299, 301 or 4xx for an endpoint that should answer 401 when signed out.
  • Checks on the answer: up to 10, and all must pass. Each reads a JSON value (a path such as $.status or $.data[0].ok) or a Header, and compares it with equals, does not equal, contains, does not contain, is less than, is greater than, exists or does not exist. Use this for a health endpoint that answers 200 even when something behind it is broken, for example $.status equals ok.
  • Alert when responses are slow: an alert when three checks in a row take longer than the time you set, in milliseconds.
When it counts as down for an API monitor: good status codes 200-399, a certificate warning 14 days before expiry, a domain registration warning 30 days before, a Header check that content-type contains application/json, and the slow-response switch

When a check on the answer fails, the incident says which one, for example “$.status is “degraded”, expected “ok””.

Request options

Open Request options to change how the request is made: the Method (GET, HEAD, POST, PUT, PATCH, DELETE or OPTIONS), Headers such as an API token, a Body for POST, PUT and PATCH (sent as JSON when it looks like JSON, otherwise as text, unless you set Content-Type), Follow redirects (on by default) and Accept an invalid certificate.

Request options opened: Method GET, a header Accept set to application/vnd.github+json, Add a header, and the Follow redirects and Accept an invalid certificate switches

Keyword: a page still shows the right thing

A page can answer 200 and still be broken: an empty shop, an error message, a maintenance page. A Keyword monitor makes the same request as a Website monitor, then looks for your text. Choose whether The page must contain or not contain it, for example “Add to cart”, or “Something went wrong” with “not contain”. Tick Match upper and lower case exactly if case matters.

A Keyword monitor for python.org/downloads: the page must contain Download Python, with the case-sensitive option below
The HTML, not the screen

The text is searched in the page’s HTML as the server sends it. Text that only appears after the page’s scripts run in a browser is not there. To check what a visitor sees, use a page monitoring task or a browser test.

Port: mail servers, databases, SSH

Enter a public host name or IP address and the Port, for example 587 for mail submission, 5432 for PostgreSQL or 22 for SSH. Monity opens a connection and counts the port as up when it is accepted.

A Port monitor for mail.example.com on port 587, named Mail server (SMTP)

DNS: records that point where they should

Enter the domain or host name, choose the Record (A, AAAA, CNAME, MX, TXT or NS) and, optionally, values it Must include, separated by commas. With nothing in Must include, any answer will do. Monity asks public resolvers (1.1.1.1 and 8.8.8.8), so you see what the rest of the internet sees.

A DNS monitor for example.com: the MX record type, which must include aspmx.l.google.com

Use it to catch an MX record that stopped pointing at your mail provider, an SPF or verification TXT record that was deleted, or an A record changed by someone else.

Email: mail keeps arriving and stays out of spam

Choose Email and enter the domain your email addresses use (the part after @). Under DKIM selectors you can add your own; Monity also tries the usual ones for Google, Microsoft 365, Mailchimp, SendGrid, Zoho, Proton and Fastmail. Click Look up to see the records Monity will watch, any problem they have now, and what the monitor costs, before anything is created. One Email monitor watches all of a domain’s records and counts as one task.

  • Down when a record it watches disappears or stops being valid: two SPF records, more than 10 SPF lookups, +all, a DMARC record without a policy, or a DKIM key gone.
  • Down until you accept it when a change lowers protection: a weaker DMARC policy, a weaker SPF all, or mail moved to another provider. It stays down until the change is undone, or until you accept it: if the change was yours, click Accept these records on the monitor’s page and Monity watches the records as they are now.
  • One notice for any other change, such as a new SPF include; the new value is watched from then on.
  • A lookup that gets no answer is “couldn’t check”, not down, unless the domain’s own DNS has not answered for 30 minutes.

Certificate and domain expiry

Every HTTPS monitor reads the certificate on each check, and every monitor except a heartbeat looks up when its domain’s registration ends, once a day. The monitor’s page shows both, and each can send one warning before the date:

Two cards from a monitor's page: SSL certificate 76 days, until 17 January 2027, and Domain registration 463 days for monity.ai
  • Certificate warning: 3, 7, 14 (the default) or 30 days before it expires, or No warning. One warning per certificate, so a renewed certificate gets its own.
  • Domain registration warning: 7, 14, 30 (the default) or 60 days before it expires, or No warning. Some registries, such as .de, offer no expiry lookup; the monitor’s page says so.
Kamil, Alex and Martyna Median reply under 6 hours

Have a question?

Pricing, security, or scoping - pick a route and you will land in a real person's inbox.