Ad Widget

Collapse

Proxmox: API service not available - Unknown Error (520)

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Maxi
    Junior Member
    • Jan 2025
    • 3

    #1

    Proxmox: API service not available - Unknown Error (520)

    Hello,

    As the title suggest, I am experiencing an issue with the template "Proxmox VE by HTTP"
    To setup I have followed this guide:

    I have also verified my setup according to this video:


    I have installed Zabbix agent 2 on multiple nodes across multiple datacenters and it works well.
    When trying to create another host with Proxmox VE by HTTP to monitor the clusters I get problem 'Proxmox: API service not available'
    When checking last value, I am getting 'Unknown Error (520)'

    The same issue occurs on any node, any cluster.
    These are different setups, with different Proxmox versions installed but all yield the same result.

    I have checked the connection from Zabbix server to Proxmox with the same host, PVE.TOKEN.SECRET and PVE.TOKEN.ID using CURL and it is authenticated successfully.
    At the moment I am lost and don't know how to continue debugging. Any kind of help would be greatly appreciated.

    Thank you!
  • Answer selected by Maxi at 12-02-2025, 16:15.
    tokke77
    Junior Member
    • Jul 2024
    • 3

    I've had the same issue. Found it in this topic: https://www.zabbix.com/forum/zabbix-...te-not-working
    My zabbix is on redhat and I had to run this command: setsebool -P zabbix_can_network 1

    Also you dont need the {$PVE.URL.HOST} if you add the proxmox servers as agents.

    Comment

    • Maxi
      Junior Member
      • Jan 2025
      • 3

      #2
      Still relevant - any insights?

      Comment

      • PZakrzewski
        Junior Member
        • Dec 2024
        • 12

        #3
        hey, how are your macros configured?
        Did You setup the API token properly in proxmox?

        Click image for larger version

Name:	Screenshot 2025-02-03 at 11.35.56.png
Views:	2487
Size:	100.4 KB
ID:	498373

        Comment

        • tokke77
          Junior Member
          • Jul 2024
          • 3

          #4
          I've had the same issue. Found it in this topic: https://www.zabbix.com/forum/zabbix-...te-not-working
          My zabbix is on redhat and I had to run this command: setsebool -P zabbix_can_network 1

          Also you dont need the {$PVE.URL.HOST} if you add the proxmox servers as agents.

          Comment

          • Maxi
            Junior Member
            • Jan 2025
            • 3

            #5
            Originally posted by tokke77
            I've had the same issue. Found it in this topic: https://www.zabbix.com/forum/zabbix-...te-not-working
            My zabbix is on redhat and I had to run this command: setsebool -P zabbix_can_network 1

            Also you dont need the {$PVE.URL.HOST} if you add the proxmox servers as agents.
            Thank you! this solved my problem.

            Comment

            Working...