Skip to main content

Documentation

Complete guide to setting up website monitoring with PingZen. API documentation, code examples, and best practices.

Bot Allowlisting Guide

PingZen identifies itself via User-Agent header and X-PingZen-Check header. Use this guide to allowlist PingZen monitoring requests in your firewall or WAF.

How PingZen Identifies Itself

  • User-Agent: PingZen/1.0 (+https://pingzen.dev/docs/bot)
  • X-PingZen-Check: monitor_id=<ID>
  • Documentation: https://pingzen.dev/docs/bot

User-Agent:

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 PingZen/1.0 (+https://pingzen.dev/docs/bot)

Probe IP Addresses

All monitoring requests originate from these IP addresses. Add them to your firewall allowlist.

API endpoint for current IPs:

GET /api/v1/probe/ips

Cloudflare WAF

  1. Go to Security → WAF → Custom Rules
  2. Create a rule: if http.user_agent contains "PingZen" then Allow
    (http.request.headers["x-pingzen-check"] eq "true")
  3. Or allowlist by IP address using the IPs above

Tip: IP-based rules are more reliable than User-Agent rules since headers can be spoofed.

AWS WAF

  1. Create an IP set with PingZen probe IPs
  2. Add a rule to your Web ACL: if source IP is in the IP set, then Allow

Other WAFs / Firewalls

General approach for any firewall or WAF:

  • Allow requests with X-PingZen-Check header
  • Allow requests with User-Agent containing "PingZen"
  • Allow requests from PingZen probe IP addresses (most reliable)

Verify Configuration

After allowlisting, run an on-demand check from your PingZen dashboard to confirm your monitor receives successful responses.

Common Questions

What protocols can I monitor?

PingZen supports 23 protocols: HTTP/HTTPS, WebSocket (WS/WSS), TCP, UDP, ICMP Ping, gRPC, DNS, WHOIS, SSL certificates, Email (SMTP/IMAP/POP3), FTP/FTPS, DNSBL, PageSpeed, SOCKS5, MTProxy, API Check, and Transaction. You can monitor websites, APIs, servers, databases, and any network service.

How fast can I get alerts?

Telegram alerts are delivered within 1-2 seconds of detection. Slack and Discord notifications arrive almost instantly. You can configure multiple alert channels for redundancy.

Can I organize monitors by project?

Yes! PingZen supports workspaces, which let you organize monitors by project, environment, or team. Each workspace can have its own alert configurations and team members.

Is there an API for automation?

Absolutely. PingZen provides a full REST API with OpenAPI documentation. You can create, update, and delete monitors programmatically.

How do status pages work?

Status pages are public, branded pages showing your services' uptime. You can display real-time status and allow customers to subscribe for updates.

What happens if I reach my monitor limit?

We'll notify you when approaching your limit. You can pause some monitors or contact us for increased capacity. We never stop monitoring without warning, ensuring your critical services stay protected.

Ready to stop missing downtime?

Join thousands of teams who trust PingZen. Setup takes 30 seconds.