I can assure you that I’ve tried all available options through the GUI, but I just can’t get the “proxmox_ve_vm_snapshot_age” service to appear.
Here’s a brief description of my setup:
CheckMK instance
Multiple Proxmox nodes with the CheckMK agent installed
Monitoring of the nodes via the agent works perfectly fine.
Now I would like to monitor the snapshot age of individual VMs. Here’s the process I followed:
I configured the Proxmox API integration in CheckMK — everything works without any issues.
I set the folder containing all Proxmox nodes to use "Configured API Integrations and CheckMK agent."
I created a rule on the folder to enable the service "Proxmox VE VM Snapshot Age" for the nodes.
I ran a service discovery.
The strange thing is that although the rule seems to match (matching by node name is correct), the service itself does not appear on a test node.
Given the various steps involved, it’s very possible that I might have missed a simple option somewhere. I would appreciate any hints or suggestions!
Hi,
Thank you very much! It seems that was exactly the simple solution I had overlooked.
Is there also a service or tool to display snapshots on the Proxmox node level or even cluster-wide?
For example, to show the number of snapshots or, ideally, also their age?
If one of the answers helped you solve your question, please mark it as the solution. This way, you thank the person who helped you and also indicate that the question has been resolved. This, in turn, helps others who come across the same question.
This was very helpful, but unfortunately I still can’t see the service on the VMs.
After activation and service discovery, CheckMK complains that a “Connection refused” error occurs on port 8006.
This makes sense because there is no service listening on that port on the VM.
I’m confused – is it only possible to get metrics either via the CheckMK agent or the Proxmox special agent?
My understanding is that you fetch the data from the proxmox-nodes via the special-agent and then the service is discoverable in the vm-services.
To avoid any misunderstanding, could you please take another look at my previous question above?
Please read about piggyback data in the Checkmk documentation.
The special agent assigned to the Proxmox hosts queries the Proxmox API and gathers data about the VMs including snapshot info. This is then “delivered” to the VM hosts via the piggyback mechanism.
The services will automatically show up on the VM host when the names match.