-
Notifications
You must be signed in to change notification settings - Fork 489
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
base: master
Are you sure you want to change the base?
Conversation
Fixed unit test for vm_info check
…ore -> AssertionError; Limited Except Cases to AssertionError
…red_keys entry is present
@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. |
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.