Skip to content

[PVE] Monitor node status when using QDevice. #813

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fodinabor
Copy link

@fodinabor fodinabor commented Apr 24, 2025

General information

When adding a QDevice to Proxmox VE to reach quorum (usually when having an even number of hosts), pvecm shows more info which currently cannot be parsed. Allow parsing this variant as well.

The CheckMK agent's output looks like this after adding a QDevice:

<<<pvecm_nodes>>>

Membership information
----------------------
    Nodeid      Votes    Qdevice Name
         1          1    A,V,NMW vm1 (local)
         2          1    A,V,NMW vm2
         0          1            Qdevice

With this patch, it'll show the nodes as expected:
image

Without this patch, the services just vanished after adding the Qdevice, due to a parsing error.

When adding a QDevice to reach quorum (usually when having an even number of hosts), pvecm shows more info which currently cannot be parsed.
Allow parsing this variant as well.
Copy link

github-actions bot commented Apr 24, 2025

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@fodinabor
Copy link
Author

I have read the CLA Document and I hereby sign the CLA or my organization already has a signed CLA.

@fodinabor
Copy link
Author

recheck

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants