Documentation

Configuring Cloudflare WAF

If your website is protected by Cloudflare, it might block our monitoring requests, resulting in false "Down" alerts. Follow this guide to whitelist our monitoring agent.

Why does this happen?

Cloudflare's "Bot Fight Mode" or WAF rules often block automated requests (bots) to protect your site. Since our uptime monitor is an automated script, it can be mistaken for a malicious bot.

Solution: Whitelist our User-Agent

The most reliable way to allow our monitor is to create a WAF Custom Rule that bypasses security checks for our specific User-Agent string.

User-Agent String

Uptime-Monitor/1.0 (Innovadevs; +https://uptime.innovadevs.com)

Step-by-Step Instructions

1

Go to WAF Custom Rules

Log in to your Cloudflare dashboard, select your domain, and navigate to Security > WAF > Custom Rules.

2

Create a New Rule

Click Create rule and give it a name like "Allow Uptime Monitor".

3

Configure the Expression

Set the rule to match our User-Agent:

  • Field: User Agent
  • Operator: contains
  • Value: Uptime-Monitor/1.0
4

Choose Action

Set the action to Skip and check all WAF options (or specifically "Super Bot Fight Mode" if available). Alternatively, use Allow if strictly IP-based (less recommended for dynamic IPs).