Open haeiven opened 1 year ago
Hi,
Can you specify which APIs, specific values, and permissions might be needed to gain this information?
Thanks!
Hello,
https://pve.proxmox.com/pve-docs/api-viewer/#/cluster/status
This can return a cluster state or a node status, depending if it's running in a cluster or no.
Needed informations if cluster:
needed permission: Sys.Audit in /
Best regards,
Thanks for the pointer to the docs and what info might be useful
needed permission: Sys.Audit in /
Is this the same as "PVEAuditor" that we document in the permissions section of the plugin readme?
i think yes, i can't verify right now.
Hello, I've recently made the external plugin for this purpose, but it uses different method to get quorum status from cluster node: instead of using Proxmox API, it gather status directly from corosync cluster engine, which means it can be used to monitor other software that uses corosync (Asterisk or Pacemaker). Currently I'm using this plugin on one of my small Proxmox clusters and it working perfectly.
Use Case
Actually, the proxmox input plugin is only to gather VMs info, but do not give any informations about the cluster state.
Reporting the quorum state and stats about votes, etc... would help to create alerts.
Expected behavior
Reporting VMs stats + quorum state (and probably some other stats)
Actual behavior
Reporting VMs stats
Additional info
No response