public inbox for pve-user@lists.proxmox.com
 help / color / mirror / Atom feed
* [PVE-User] Cluster Status Missing From External Metric Server Metrics
@ 2021-01-15  7:59 Samuel Lorch
  2021-01-15  9:12 ` Fabian Grünbichler
  0 siblings, 1 reply; 2+ messages in thread
From: Samuel Lorch @ 2021-01-15  7:59 UTC (permalink / raw)
  To: pve-user

Dear all,

recently i have deployed allot of small Proxmox VE Clusters which now 
have a need for Monitoring. I have used Influx and Grafana to monitor 
Containers and VM's in the past and was very surprised to see that the 
External Metric Server doesn't supply any Metrics about the Cluster 
status (eg if quorate, number of votes, ...) even though this data is 
available in the api (pvesh get /cluster/ha/status/current or pvesh get 
/cluster/ha/status/manager_status). After investigating the source a bit 
with my limited knowledge of perl i think that all needed librarys 
already exists and that one could with very low effort add this data to 
the External Metric Servers Metrics.

Is there a reason why these Metrics aren't exposed here or has this just 
been forgotten about?

Is this something that the Proxmox team could implement?

This would make the External Metric Server a good & simple option for 
Monitoring Clusters as nothing has to be installed on the Hosts 
themselves and its now Configurable via the GUI.

Thanks in advance
Samuel



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PVE-User] Cluster Status Missing From External Metric Server Metrics
  2021-01-15  7:59 [PVE-User] Cluster Status Missing From External Metric Server Metrics Samuel Lorch
@ 2021-01-15  9:12 ` Fabian Grünbichler
  0 siblings, 0 replies; 2+ messages in thread
From: Fabian Grünbichler @ 2021-01-15  9:12 UTC (permalink / raw)
  To: pve-user, sam

On January 15, 2021 8:59 am, Samuel Lorch wrote:
> Dear all,
> 
> recently i have deployed allot of small Proxmox VE Clusters which now 
> have a need for Monitoring. I have used Influx and Grafana to monitor 
> Containers and VM's in the past and was very surprised to see that the 
> External Metric Server doesn't supply any Metrics about the Cluster 
> status (eg if quorate, number of votes, ...) even though this data is 
> available in the api (pvesh get /cluster/ha/status/current or pvesh get 
> /cluster/ha/status/manager_status). After investigating the source a bit 
> with my limited knowledge of perl i think that all needed librarys 
> already exists and that one could with very low effort add this data to 
> the External Metric Servers Metrics.
> 
> Is there a reason why these Metrics aren't exposed here or has this just 
> been forgotten about?

likely the latter

> 
> Is this something that the Proxmox team could implement?

yes. might be worth opening an enhancement request over at 
https://bugzilla.proxmox.com

not that for clusters, corosync also provides quite some metrics via 
corosync-cmapctl -m stats that might be interesting to pick up as well..

> 
> This would make the External Metric Server a good & simple option for 
> Monitoring Clusters as nothing has to be installed on the Hosts 
> themselves and its now Configurable via the GUI.
> 
> Thanks in advance
> Samuel
> 
> _______________________________________________
> pve-user mailing list
> pve-user@lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user
> 
> 
> 




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-01-15  9:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-15  7:59 [PVE-User] Cluster Status Missing From External Metric Server Metrics Samuel Lorch
2021-01-15  9:12 ` Fabian Grünbichler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal