Monitoring of Proxmox without DNS or hostfile?

CMK version: 2.4.0p24
OS version: Docker image on Ubuntu 24.04.2 LTS

Error message:

Agent exited with code 1: Could not connect to Proxmox:8006 (HTTPSConnectionPool(host=‘proxmox’, port=8006): Max retries exceeded with url: /api2/json/access/ticket (Caused by NameResolutionError(“HTTPSConnection(host=‘proxmox’, port=8006): Failed to resolve ‘proxmox’ ([Errno -2] Name or service not known)”)))

I noticed suggestion to add the hostname to the DNS. But I don’t have a DNS server. And I am not that thrilled to add something to a hostfile in a docker image. So can I just use IP information as I have set the IP addres in the host within CheckMK allready.

Duh … Totally missed the option under the Proxmox rule.

Then I missed the SSL certificate issue ….

Now it works halfway.

The Check_MK service reports:

[special_proxmox_ve] Success, [piggyback] Success (but no data found for this host), execution time 0.5 sec

But the Check_MK Discovery service reports:

Services: all up to date, Host labels: all up to date, [agent] Communication failed: [Errno 111] Connection refusedCRIT, execution time 0.0 sec

So I propably missed something. But it escapes me at the moment what I missed.

Just reschedule the discovery service. It likely still has old information.

Apparantly that was the kick in the groin it needed. It now seems to be happy. (Or to scared to complain anymore.:winking_face_with_tongue: )