Proxmox_ve_vm_backup Service not found

CMK version:2.2.0p17
OS version:Debian GNU/Linux 11 (bullseye)

Error message:Can’t find the Service/Check for proxmox ve backup

Hi,

I have a running proxmox ve node, monitored in checkmk with special agent proxmox_ve.
I want to check the vms, and configured them the right way i get all data I need expect proxmox_ve_vm_backup.

Agent outpout:

<<<<vm-test01>>>>
<<<proxmox_ve_vm_info:sep(0)>>>
{"name": "vm-test01", "node": "pve01", "status": "running", "type": "qemu", "vmid": "100"}
<<<proxmox_ve_mem_usage:sep(0)>>>
{"max_mem": 4227858432, "mem": 1514811392}
**<<<proxmox_ve_vm_backup_status:sep(0)>>>**
**{"last_backup": {"started_time": "2024-02-27 21:00:00+0100", "total_duration": 44.0, "transfer_size": 34359738368, "transfer_time": 43}}**
<<<proxmox_ve_vm_snapshot_age:sep(0)>>>
{"snaptimes": [1706776028]}
<<<<>>>>

I recieve the data in the agent, but in checkmk there is no service in service discovery, while proxmox_ve_vm_snapshot_age and proxmox_ve_vm_info is found by service discovery.

Has anyone an Idea where the problem is?

best,
Patrick

Hi,

what version of proxmox are you running?
I am running 8.1.4 and my output looks a little bit different.

E.g.

<<<proxmox_ve_vm_backup_status:cached(1709426144,450):sep(0)>>>
{"last_backup": {"archive_name": "/mnt/pve/NAS/dump/vzdump-qemu-119-2024_03_03-00_36_27.vma.zst", "archive_size": 5700000000, "started_time": "2024-03-03 00:36:27+0100", "total_duration": 209.0, "transfer_size": 21474836480, "transfer_time": 205}}

In the GUI

Did you give your API User the PVEAuditor permissions?
My guess would be it’s either an parsing problem due to the missing sections in the output or an permission problem so that the API User can’t get all the infos.

br
Mike

Edit: Thinking about it a little bit more, if it would be anything of the above, it should show you an “plugin crashed” (or whatever it is called) failure.
You haven’t by accident disabled the check either in the rules or on the host?

Good morning,

thanks for your reply!

I’m running proxmox ve 8.1.4, with a connected proxmox backup server version 3.1-4.

The monitoring user is in the group @read_only, so he should have the role pve_auditor.
I have checked the ruleset again and can’t see any rule where I accidentaly disabled the check.

best,
patrick

Hi,

Permissions should be fine then.

I just tested this with an PBS as well and still the check works although i still have a little bit of a different output.

<<<proxmox_ve_vm_backup_status:cached([1709653085](tel:1709653085),90):sep(0)>>>
{"last_backup": {"backup_amount": [105999499](tel:105999499), "backup_time": 62.84, "backup_total": [6456409588](tel:6456409588), "started_time": "2024-03-05 15:09:21+0100", "total_duration": 68.0}}

Do you see the backup section in the piggyback data of your checkmk host?
Should be in /opt/omd/sites/<sitename>/tmp/check_mk/piggyback/<VM Name>

br
Mike