From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 28820687EF for ; Fri, 15 Jan 2021 09:06:22 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 1875B2222F for ; Fri, 15 Jan 2021 09:05:52 +0100 (CET) Received: from mailout01.virtualhosts.de (mailout01.virtualhosts.de [130.255.79.32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id F3E6422220 for ; Fri, 15 Jan 2021 09:05:50 +0100 (CET) X-PDA-ORIGIN: mailout01.virtualhosts.de Received: (qmail 31992 invoked from network); 15 Jan 2021 07:59:10 -0000 Received: by simscan 1.4.0 ppid: 31988, pid: 31990, t: 0.3793s scanners: spam: 3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout01.virtualhosts.de X-Spam-Status: No, score=0.0 required=10.0 tests=RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,UNPARSEABLE_RELAY autolearn=disabled version=3.4.4 Received: from m2801.wwwsrv.eu (80.83.113.123) by mailout01.virtualhosts.de with ESMTPS (TLS_AES_256_GCM_SHA384 encrypted); 15 Jan 2021 07:59:10 -0000 X-PDA-ORIGIN: m2801.wwwsrv.eu Received: (qmail 12262 invoked from network); 15 Jan 2021 07:59:09 -0000 Received: from localhost (uid 1079) (HELO m2801.wwwsrv.eu) (127.0.0.1) by localhost with SMTP; 15 Jan 2021 07:59:09 -0000 MIME-Version: 1.0 Date: Fri, 15 Jan 2021 08:59:09 +0100 From: Samuel Lorch To: pve-user@lists.proxmox.com Reply-To: sam@lorch.net Mail-Reply-To: sam@lorch.net Message-ID: <9deb517da529b746fed36bd69d7895c6@lorch.net> X-Sender: sam@lorch.net User-Agent: Roundcube Webmail/1.3.16 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-SPAM-LEVEL: Spam detection results: 0 KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment KAM_LAZY_DOMAIN_SECURITY 1 Sending domain does not have any anti-forgery methods RCVD_IN_DNSWL_LOW -0.7 Sender listed at https://www.dnswl.org/, low trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_NONE 0.001 SPF: sender does not publish an SPF Record UNPARSEABLE_RELAY 0.001 Informational: message has unparseable relay lines Subject: [PVE-User] Cluster Status Missing From External Metric Server Metrics X-BeenThere: pve-user@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE user list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jan 2021 08:06:22 -0000 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