pingrobot

PingRobot / Docs

The PingRobot bot

If you saw PingRobot/1.0 in your logs, a PingRobot user has set up an uptime monitor for your site, API or server.

What it does

PingRobot is an uptime monitoring service. Our users choose the URLs, ports and intervals they want watched; we then check them on a schedule and alert the user when a check fails.

  • HTTP(S), keyword and API checks: one request to the configured URL, following redirects (unless the user expects a redirect status). The method is GET unless the user picked another one (HEAD, POST, PUT, PATCH or DELETE) with their own headers and body, usually for their own API. For keyword and API checks we read at most the first 512 KB of the response.
  • SSL certificate checks: on HTTPS monitors, about once a day we open a TLS connection to read the certificate, then close it. No request is sent.
  • DNS checks: we look the record up through Cloudflare's public DNS resolver; your server isn't contacted.
  • Port checks: we open a TCP connection to the configured host and port and close it again. No data is sent.
  • Frequency: once every 1 to 60 minutes per monitor, as configured by the user. When a check fails, we repeat it once from a second location to confirm.

We don't crawl links, submit forms, run JavaScript or load images and other assets.

How to recognise it

RequestUser-Agent
Uptime and keyword checksPingRobot/1.0 (+https://pingrobot.io/bot)
Alert webhooks we send to our usersPingRobot-Webhook/1.0 (+https://pingrobot.io/docs/webhooks)

Checks run on Cloudflare's network, so they don't come from a fixed list of IP addresses. To allow them through a firewall or bot protection, match the user agent, or better a secret header as described below.

Allow checks through Cloudflare

If a monitor shows Blocked, Cloudflare is answering our checks with a challenge page, so we can't tell whether the site is up. Only the site's owner can change this:

  1. In PingRobot, edit the monitor, open Advanced request and add a header with a long random value, such as X-Uptime-Check.
  2. In Cloudflare, go to Security → Security rules and create a custom rule that matches that header and value, with the action Skip. Select what is issuing the challenge: managed rules, Super Bot Fight Mode, or your other custom rules.
  3. If you use Under Attack mode, add a configuration rule that lowers the security level for the same match.
  4. Cloudflare's Bot Fight Mode (the Free plan's option) can't be skipped by any rule. Turn it off, or use Super Bot Fight Mode on a paid plan.

A secret header is safer than matching the user agent, which anyone can copy. The monitor returns to normal after the next check that gets through.

We don't try to get around bot protection: it is the site owner's decision who gets through. If the site isn't yours, ask its owner or pause the monitor.

Stop or report checks

If you didn't expect these requests, for example if someone is monitoring a site you own without permission, or the checks cause you problems, email hello@pingrobot.io with the URL or host. We'll look into it and stop the checks where appropriate. Our terms only allow users to monitor services they own or are allowed to monitor.