Best way to monitor external vps with cloudflare tunnel

I want to monitor my external web server with a agent. the agent communication is working fine but the registration on port 8000 isn’t working. it can’t get the server certificate. are there any other ways to securely monitor external hosts? i would prefer to use cloudflare tunnels but I’m open to any other suggestions.

The Agent Controller needs to open a connection to your checkmk server (NOT the other way around as the agent works on 6556)

I assume you have FW policies in place for port 8000 with DEST your server and NAT if needed?