ProxMox thin LVMS

Started by alike767, July 24, 2016, 08:40:07 PM

Previous topic - Next topic

alike767

I'd like to monitor free space of my ProxMox lvms.  I have tried with both snmp and native agents and don't get expected results.  FileSystem.Total(/dev/pve/root) returns 10M instead of 34G. 

I have a VG name pve which is installed by default.  When I do an lvdisplay, I get three logical volumes, swap, root, and data. 

Root shows an lv path of /dev/pve/root and is also mounted to root on the file system.  I can see by performing df -h.

Data doesn't show a path in lvdisplay, and it doesn't appear in df -h.  It is used by ProxMox, but it isn't mounted in Linux. 

The lvm is a lvm-thin and I want to monitor disk space as there is over commitment in space.  How can I do this?

I'd rather it be in snmp than netxms native, but either is fine. 

Thanks in advance for any suggestions. 

Victor Kirhenshtein

Hi,

LVM monitoring extension for Linux agent is currently in development, and likely will be part of 2.1-M1 release. You can wait a bit and use NetXMS agent when this function will be available. Currently the only alternative is to create wrapper scripts for lvdisplay and use them as external parameters in agent.

Best regards,
Victor

alike767

Great news that this is coming and I can wait for that feature.