Proxmox agent discovery issue (Traefik)

Hi,
I have my proxmox monitoring working fine but when I try to use the proxmox specific agent it does not work. I have local SSL with Traefik so “https://pve1.xxx.xxx.xxx” points to “https://192.168.x.x:8006”.
But even when I change the “port=8006” to “port=443” the agent fail.

[Check_MK]

agent] Success, [special_proxmox_ve] Agent exited with code 1: Caught unhandled ConnectionError(HTTPSConnectionPool(host='pve1.xxx.xxx.xxx', port=8006): Max retries exceeded with url: /api2/json/access/ticket (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f0c6106db50>: Failed to establish a new connection: [Errno -5] No address associated with hostname'))) in /omd/sites/cmk/lib/python3/cmk/special_agents/utils/agent_common.py:135CRIT, execution time 2.0 sec

[Check_MK Discovery]

no unmonitored services found, no vanished services found, no new host labels, [special_proxmox_ve] Agent exited with code 1: Caught unhandled ConnectionError(HTTPSConnectionPool(host='pve1.xxx.xxx.xxx', port=8006): Max retries exceeded with url: /api2/json/access/ticket (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f2709d3ff10>: Failed to establish a new connection: [Errno -5] No address associated with hostname'))) in /omd/sites/cmk/lib/python3/cmk/special_agents/utils/agent_common.py:135CRIT```



**CMK version:**
Free (trial)
**OS version:**
Docker
**Error message:**
See above
**Output of “cmk --debug -vvn hostname”:** (If it is a problem with checks or plugins)
Command does not work

in 99% of connect issues with HTTPS it is related to SSL certs. Run then same query with curl or wget

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.