NetXMS Support Forum

English Support => General Support => Topic started by: alike767 on July 24, 2016, 08:40:07 PM

Title: ProxMox thin LVMS
Post by: alike767 on July 24, 2016, 08:40:07 PM
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. 
Title: Re: ProxMox thin LVMS
Post by: Victor Kirhenshtein on July 25, 2016, 09:20:29 AM
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
Title: Re: ProxMox thin LVMS
Post by: alike767 on July 25, 2016, 11:26:16 PM
Great news that this is coming and I can wait for that feature.