1.4Discover monitors for your site
Discovery tests your site and suggests monitors you can keep. You enter a host, and obsrvly sends real requests to it. You do not need an account or an API key to try it.
Open discovery#
- On the obsrvly home page, enter your site in the field and select Watch it. The buttons Start free and Start with your URL → open the same page.
- If your workspace has no monitors yet, the dashboard opens discovery for you once. To skip it, select skip to the dashboard.
Run discovery#
- Enter a host after the fixed
https://, for exampleapi.acme.io. A host is a name or address, without a path. - Wait for the check under the field. It shows
✓ resolveswhen the name exists on the internet. If it showsdoes not resolve — probing will fail, check the spelling. - Select probe →. You see
Probing <host>…. The probe takes about ten seconds. - Review the results. Everything starts selected. Clear the checkbox of anything you do not want.
- In Region, choose one region for all the monitors you keep.
- Select Save these monitors (or Save this monitor for one).
If you are not signed in, obsrvly asks you to create an account first. Then it creates your monitors on your first visit to the dashboard. If you are signed in, it adds them and opens the dashboard.
obsrvly creates nothing until you save. You can edit every saved monitor later. Your plan's minimum check interval still applies.
What discovery suggests#
| Suggestion | How it is set up |
|---|---|
| Pages and endpoints on your site | A URL monitor with method GET and the assertion status_code equals 200. Each row shows where it came from, such as homepage, health-path or sitemap, and the probe result. |
| TCP services | A TCP monitor for each open service found, shown as host:port. |
| DNS records | A DNS monitor for your address (A) record. Also one for your MX, SPF and DMARC records, if your domain has them. |
| Certificate | A certificate monitor, checked hourly. The row shows the issuer and the days until it expires. |
| Domain expiry | A domain monitor for your domain's registration date. |
A probe result shows the status code and response time, or an error. These errors can appear on a row:
| Error | What to check |
|---|---|
err: could not resolve host | The name does not exist on the internet, or it is only reachable inside your network. |
err: timed out | The site did not answer in time. |
err: connection refused | Nothing is listening at that address. |
err: TLS certificate is not valid | The site's certificate has a problem. Fix it before you add the monitor. |
err: request failed | The request could not complete. Try again or check the address. |
If nothing on your site answers, you see We couldn't reach that URL. Try a different one.
Public sites only#
- Discovery works only for sites that anyone on the internet can reach.
- You cannot enter
localhostor a private address, such as192.168.1.10. The request is refused withprivate/loopback hosts not allowed. - If your site is only reachable inside your network, discovery cannot see it. Add monitors by hand with + new monitor.
- The address must use
httporhttps. If you leave it out, obsrvly addshttps://. - If you probe many times in a row and it stops working, wait a minute and try again.
Scan for subdomains#
When signed in, you can find many subdomains at once. A subdomain is a name under your domain, such as shop.acme.io.
- Select secrets → subdomain scan.
- Enter your domain, for example
acme.io. The whole domain is scanned. - Select Scan.
- Choose the subdomains to monitor. Use Select all or Deselect all to speed this up.
- Choose a Region, then select Add N monitor(s).
Use discovery from the API#
Discovery needs no API key:
export OBSRVLY=https://www.obsrvly.com/api/gw
curl -s "$OBSRVLY/monitor/obsrvly.v1.MonitorConfigService/DiscoverMonitors" \
-H "Content-Type: application/json" \
-d '{"url": "acme.io"}'The reply lists proposals in proposed (web pages), proposedTcp, proposedDns, proposedCert and proposedDomain. A certWarning appears when the certificate has expired. The API creates nothing. To keep a proposal, create the monitor yourself with an API key, for example with CreateUrlMonitor. In the dashboard, you just tick the ones you want.