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 EBE3C68B2A for ; Fri, 15 Jan 2021 10:13:15 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id D5982227C6 for ; Fri, 15 Jan 2021 10:12:45 +0100 (CET) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [212.186.127.180]) (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 3A79C227B9 for ; Fri, 15 Jan 2021 10:12:44 +0100 (CET) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 0354444D0C; Fri, 15 Jan 2021 10:12:44 +0100 (CET) Date: Fri, 15 Jan 2021 10:12:34 +0100 From: Fabian =?iso-8859-1?q?Gr=FCnbichler?= To: pve-user@lists.proxmox.com, sam@lorch.net References: <9deb517da529b746fed36bd69d7895c6@lorch.net> In-Reply-To: <9deb517da529b746fed36bd69d7895c6@lorch.net> MIME-Version: 1.0 User-Agent: astroid/0.15.0 (https://github.com/astroidmail/astroid) Message-Id: <1610701788.cjsty5xk9w.astroid@nora.none> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-SPAM-LEVEL: Spam detection results: 0 AWL 0.028 Adjusted score from AWL reputation of From: address KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [proxmox.com] Subject: Re: [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 09:13:16 -0000 On January 15, 2021 8:59 am, Samuel Lorch wrote: > Dear all, >=20 > recently i have deployed allot of small Proxmox VE Clusters which now=20 > have a need for Monitoring. I have used Influx and Grafana to monitor=20 > Containers and VM's in the past and was very surprised to see that the=20 > External Metric Server doesn't supply any Metrics about the Cluster=20 > status (eg if quorate, number of votes, ...) even though this data is=20 > available in the api (pvesh get /cluster/ha/status/current or pvesh get=20 > /cluster/ha/status/manager_status). After investigating the source a bit=20 > with my limited knowledge of perl i think that all needed librarys=20 > already exists and that one could with very low effort add this data to=20 > the External Metric Servers Metrics. >=20 > Is there a reason why these Metrics aren't exposed here or has this just=20 > been forgotten about? likely the latter >=20 > Is this something that the Proxmox team could implement? yes. might be worth opening an enhancement request over at=20 https://bugzilla.proxmox.com not that for clusters, corosync also provides quite some metrics via=20 corosync-cmapctl -m stats that might be interesting to pick up as well.. >=20 > This would make the External Metric Server a good & simple option for=20 > Monitoring Clusters as nothing has to be installed on the Hosts=20 > themselves and its now Configurable via the GUI. >=20 > Thanks in advance > Samuel >=20 > _______________________________________________ > pve-user mailing list > pve-user@lists.proxmox.com > https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user >=20 >=20 >=20 =