Hello, I want to monitor the available space on an LVM volume under linux via a sensor in Prtg. The value that interests me is the percentage on the "data" volume (ie 100%-7.36%).
host:~# lvs LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert data pve twi-aotz-- 2.79t 7.36 4.07 root pve -wi-ao---- 96.00g swap pve -wi-ao---- 8.00g
Best regards
Article Comments
Hi PRTG Team.
You have a whole bunch of requests to add LVM monitoring. Its a core system stat you need to monitor on linux systems and thus support to monitor it would be needed.
Prompting users to write custom scripts are fine but for basic things like LVM and ZFS monitoring would be needed from your end.
Apr, 2021 - Permalink
Hi there,
We haven't gotten many requests about this yet. If you think that this is a feature that would be a great benefit for multiple customers, you can open an official feature requests, so other users can vote for it as well. This will put more focus on this topic.
How you can open such a request and how we handle those is explained here.
Kind regards,
Birk Guttmann, Tech Support Team
Apr, 2021 - Permalink
You'll need to do this with a custom Sensor I'm afraid. You should be able to parse it via python, similar to this script. Perhaps you can modify it to work with the lvm command as well?
PRTGapi | Feature Requests | WMI Issues | SNMP Issues
Kind regards,
Stephan Linke, Tech Support Team
Feb, 2019 - Permalink