Proxmox and Zabbix Unknown Error (520)

ubu

Renowned Member
Nov 24, 2017
478
107
83
50
Zabbix 6.4 Proxmox HTTP template

zabbix user and token with Audit Privilege, acces with curl works

Zabbix API Access Error Unknown Error (520)

What am i doing wrong? How can i debug the Problem
 
Yes, debugging is more difficult than expected. No idea... :-(

I am using Zabbix 6.2.9 and the Template from https://www.zabbix.com/integrations/proxmox . At least as far as I remember, my installation was done a good time ago.

The only parameters / macros I had to set is

Code:
{$PVE.TOKEN.ID}      --  root@pam!myzabbixid
{$PVE.TOKEN.SECRET}  --  cd1234......uniq..secret

And then... wait. Now every node (with this template assigned) reports all values of the whole cluster...

Good luck!
 
Posting my solution to this old topic for posterity. I had this issue until I went back and read what "Privilege Separation" means, again. With privilege separation enabled, only the permissions assigned to both the user and the api key will applied. So, I could (1) disable privilege separation for the key; or (2) assign the permissions to both the user that I had created as well as to the key that I had created for that user; or (3) recreate the key and assign the new key to a user with at least those permissions that I wanted (e.g. the root@pam user) and then assign only those privileges I wanted Zabbix to have to the key. For whatever reason, I chose option 3 and it got rid of the error..
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!