New Question
 
 
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

200.000 administrators have chosen PRTG to monitor their network. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free PRTG
Download >>

 

What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

Learn more

 

Top Tags


View all Tags


Monitoring LVM free space

Votes:

0

Your Vote:

Up

Down

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

lvm monitor prtg

Created on Feb 19, 2019 10:51:11 AM by  VilleDeReze (0) 1

Last change on Feb 20, 2019 10:59:40 AM by  Stephan Linke [Paessler Support]



1 Reply

Votes:

0

Your Vote:

Up

Down

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

Created on Feb 20, 2019 11:13:23 AM by  Stephan Linke [Paessler Support]



Please log in or register to enter your reply.


Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.