I want to get informations from the “df -h” command in CheckMK from my VM in Proxmox.
I installed already an CheckMK Agent on my Host and I added a new Host and run the service discovery. It only returns the Memory, Backup and Info of the VM but not a single Filesystem.
(Maybe a dumb question, but im a newbie) - Do I have to install the CheckMK Agent on the VM to get the Filesystems?
If yes, I tried to install the agent with wget https://…/check-mk-agent_2.2.0p2-1_all.deb and sudo apt install check-mk-agent_2.2.0p2-1_all.deb.
An Error occured: “check-mk-agent_2.2.0p2-1_all.deb is not a Debian format…”
Maybe you guys can help me … like I said, im newbie
yes, the Proxmox check is the view of the hypervisor layer, for vm OS internal things you will have to install the checkmk agent in your vms.
I would first update checkmk to 2.2p26 and then retry to install the “new” agent version.
You can also try to download the files from the checkmk webinterface and copy it manually to the server, if something in between interferes the download.
Can you download the file successfully, if you use the exact same link from the wget command in a private browser tab without authentication ?
Agent install is required on the -to-monitor host.
And the first issue you are facing is a corrupt package it seems when you download it via wget.
Have you tried as an alternative to download the agent-binary/package via curl?
curl -o check-mk-agent_2.2.0p2-1_all.deb https://FQDN-OF-MONITORING-SERVER/SITENAME/check_mk/agents/check-mk-agent_2.2.0p2-1_all.deb --insecure
# insecure only needed if it is a self-signed certificate