mjtrangoni / pacemaker_exporter

Prometheus exporter for Pacemaker high availability resource manager
Apache License 2.0
9 stars 7 forks source link

resource metrics not parsed correctly #4

Open wat101 opened 6 years ago

wat101 commented 6 years ago

Host operating system: output of uname -r 3.10.0-862.6.3.el7.x86_64

pacemaker_exporter version: output of pacemaker_exporter --version pacemaker_exporter, version 0.0.1 (branch: master, revision: 893a693) build user: cloud@test-dhcp build date: 20180824-09:16:20 go version: go1.9.1

pacemaker_exporter command line flags No flags used

pacemaker version crm_verify -$ Pacemaker 1.1.18-11.el7_5.3 Written by Andrew Beekhof

The issue: pacemaker_resource_active or other resource related metrics only shows resource directly under resources section, does not show resource under section. for example, below resources are not counted for:

wat101 commented 6 years ago

rabbitmq resource in below section under are not counted

<??resources??>

mjtrangoni commented 6 years ago

Hi @wat101, You are right, I have to add support for this and more elements too. Please be patient.