ClusterLabs / ha_cluster_exporter

Prometheus exporter for Pacemaker based Linux HA clusters
Apache License 2.0
79 stars 35 forks source link

"'corosync' collector scrape failed: corosync parser error: could not parse members in corosync-quorumtool output: could not find membership information" #171

Closed iglov closed 4 years ago

iglov commented 4 years ago
OS ubuntu 20.04

# prometheus-ha-cluster-exporter --version
version 1.1.0+git.1594637514.c1eae0c
built with go1.14.4 linux/amd64 2020-07-13T11:10:51+00:00

# corosync -v
Corosync Cluster Engine, version '3.0.3'
Copyright (c) 2006-2018 Red Hat, Inc.

# corosync-quorumtool -V
corosync-quorumtool version: 3.0.3

# corosync-quorumtool -s
Quorum information
------------------
Date:             Fri Jul 17 14:00:20 2020
Quorum provider:  corosync_votequorum
Nodes:            2
Node ID:          1
Ring ID:          1.16d
Quorate:          Yes

Votequorum information
----------------------
Expected votes:   3
Highest expected: 3
Total votes:      3
Quorum:           2  
Flags:            Quorate Qdevice 

Membership information
----------------------
    Nodeid      Votes    Qdevice Name
         1          1    A,V,NMW node1.local (local)
         2          1    A,V,NMW node2.local
         0          1            Qdevice
stefanotorresi commented 4 years ago

duplicate of #170

iglov commented 4 years ago

@stefanotorresi you should change there issue name - remove version of corosync, this is confusing.

stefanotorresi commented 4 years ago

good point, @iglov, done!

iglov commented 4 years ago

@stefanotorresi thx 4 ur time!