Update tunnel health checks frequency (2)
Last updated Aug 24, 2026 By default, Cloudflare servers send health checks to each GRE, Cloudflare Network Interconnect (CNI), or IPsec tunnel endpoint you configure to receive traffic from Magic Transit.
You can configure the health check frequency through the dashboard or the API to suit your use case. For example, if you are connecting a lower-traffic site that does not need immediate failover and you prefer a lower volume of health check traffic, set the frequency to low. On the other hand, if you are connecting a site that is extremely sensitive to any issues and you want proactive failover at the earliest sign of a potential problem, set this to high.
Available options are low, mid, and high.
- To create or edit your tunnel, refer to Add tunnels.
- Change the Health check rate to your desired rate. For example, Low.
- Save your changes.
You can adjust the health check frequency by updating your GRE, IPsec, or CNI tunnels.
The following example adjusts tunnel health check frequency to low. Note that this command applies to GRE, IPsec and CNI tunnels:
curl "https://api.cloudflare.com/client/v4/accounts/%7Baccount_id%7D/magic/ipsec_tunnels/%7Bipsec_tunnel_id%7D" \
--request PUT \
--json '{
"health_check": {
"rate": "low"
}
}'
Note
Magic Transit customers with Customer Metadata Boundary enabled for the European Union can access GRE, IPsec, and CNI (Cloudflare Network Interconnect) health check and traffic volume data in the Cloudflare dashboard and through the API. This ensures that customers who need to be General Data Protection Regulation (GDPR) compliant can access all Magic Transit features.
Was this helpful?
YesNo
On this page
{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/magic-transit/network-health/update-tunnel-health-checks-frequency/#page","headline":"Update tunnel health checks frequency","description":"Update tunnel health check frequency.","url":"https://developers.cloudflare.com/magic-transit/network-health/update-tunnel-health-checks-frequency/","inLanguage":"en","image":"https://developers.cloudflare.com/magic-transit/network-health/update-tunnel-health-checks-frequency/og.png?v=7b35d6a849d9b328","dateModified":"2026-08-24","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}
description: Use Magic Transit analytics to monitor network performance and troubleshoot potential issues. title: Analytics image: https://developers.cloudflare.com/magic-transit/analytics/og.png?v=7d95d83f5abe14ac
Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/magic-transit/llms.txt
Use this file to discover all available pages before exploring further.
Docs