-
Notifications
You must be signed in to change notification settings - Fork 501
Proxmox ve plugin additions #785
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
Conversation
@mo-ki do you have any info on when we can expect a merge? Or do we still have to adjust/improve something? |
Hi, we'll do our best to review this pull request as soon as possible. Thank you for your patience. |
Hey @NikCheckmk, thanks for the quick reply. Let us know if we can help |
@phauch @fdriessler Thank you for the PR. Could you please refactor the Valuespecs to use the "new" RuleSpec v1 API: The API documentation for rule sets can be found in your Checkmk site on the same page as the Check API under Rulesets > Version 1. Edit: Also for a plugin this size we would appreciate some basic tests. like: https://github.com/Checkmk/checkmk/blob/master/tests/unit/cmk/plugins/fritzbox/agent_based/test_fritz.py |
Refactors are done and should be part of this PR now.
Lastly, a question regarding the Data Rate Parameters that are used in proxmox_ve_vm_backup_status, proxmox_ve_disk_throughput and proxmox_ve_network_throughput: |
Hello @fdriessler, thank you for the changes so far. Definitely looks better already. Would you be able to rebase the change and create one commit per plugin? This makes it easier for us to review the changes internally. As to your question regarding the use of the DataSize: Yes, you should use DataSize and add a Label with "/s" as we did in the disk_io.py:
|
Hi @NotANormalNerd, I've tried to use a Label to add a /s before, but even if I copy it 1:1 from your example, it ends up not showing up.
|
I see. I have talked with the frontend team and this indeed seems like missing functionality with a existing API, I will open a (internal) Ticket for this case. If there is only one magnitude you can adopt the title and either use "Read Levels (per second)". Usage of the DataSize is definitely encouraged in this case. |
I have read the CLA Document and I hereby sign the CLA or my organization already has a signed CLA. 1 out of 3 committers have signed the CLA. |
a848cc3
to
ed64873
Compare
Hi @NotANormalNerd, |
hi @fdriessler, we define So it would be amazing if you could do one commit per plugin:
You can see my changes for the I am sorry if this is more work for you and we are already working on updating the contribution guidelines to be more clear about that. It will help us tremendously to assign developers internally to review the changes. |
PLW1508: Invalid type for environment variable default; expected `str` or `None` Change-Id: Ia150d0d1cfe1402afcf496efc81dc68aee40a602
Change-Id: Ic7cd082ea4c2ed7e96bc387b22ab67b2f8e48ed2
…oldest_levels to be Float
…am usage in check accordingly
e347092
to
0efef54
Compare
hi @NotANormalNerd, commits have been split now. If anything else is left to do I'd be happy to help out. |
Good Morning @fdriessler, I will take this over now and give it into internal review. |
CMK-21675 Part of PR #785 Change-Id: I44dcb010721a337ca593a1f6e5e05d3f810680ff
CMK-21675 Part of PR #785 Change-Id: I546ca1ca3871a752213b3597b3bb7ed59be257d9
CMK-21675 Part of PR #785 Change-Id: Ib59407b1d4f1bc10dc88860a8a5788cded4b096a
…s of VMs/CTs CMK-21675 Part of PR #785 Change-Id: Id078aa2aabb491de3d101225320c7e712feb1fdb
… VMs/CTs CMK-21675 Part of PR #785 Change-Id: I0fb198335d2189d46e87e7ee43d04bd22bd95b79
CMK-21675 Part of PR #785 Change-Id: I5f8103339d2addf134b796f770a9086f8951c2e9
@fdriessler Most changes are merged already from your PR. There are two or three outstanding that are awaiting a review. I had to refactor some of the commits and make sure they are up to our code quality standard and internal CI. Please take some time to review the commits to see which changes I made. Author attribution is still completely with you. As soon as everything is merged I will close this PR. |
CMK-21675 Part of PR #785 Change-Id: I24a5978d2d586700c167647023befed548a23177
CMK-21675 Part of PR #785 Change-Id: I6b28a7cfc5653dd941d6de0499a8f934e9ac4ce2
General information
This PR adds 3 checks and changes 1 to extend monitoring of Proxmox guests that do not use a checkmk guest agent,
to allow monitoring of cpu, disk and network throughput as well as uptime, even if the guest doesnt use a Guest Agent.
Proposed changes
This PR is for the most part a extension of the proxmox_ve plugin, to improve monitoring of piggyback only guests.
Following changes were introduced:
Additional Check:
Changed:
Additionally, 2 check_parameter files were renamed, so that all check_parameters for proxmox_ve follow a common naming scheme.