What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags

View all Tags

How to monitor a disk mount in linux



I have a Red Hat enterprise server with disk mount points I need to monitor. Is there a way to monitor those mount points within PRTG?

disk prtg red-hat

Created on Oct 1, 2014 5:28:32 PM

2 Replies




Thank you very much for using PRTG. I'm afraid there is no direct sensor to monitor mount-points. You could try using Custom Sensors though.

best regards

Created on Oct 6, 2014 7:25:03 AM by  Torsten Lindner [Paessler Support]



Here is an example which works for me, my first shell script.

  1. Send the file within /var/prtg/scriptsxml
  2. Add sensor SSH Advanced
  3. In the sensor, add parameter which should match with column 6 when running df -h

result="<?xml version='1.0' encoding='Windows-1252' ?>\n"

for i in $@
	if  df -h | awk '{print $6'} | grep $i ; then

		result+="   \t<result>\n"   
		result+="   	\t\t<channel>$i</channel>\n"
		result+="		\t\t<Unit>custom</Unit>\n"		
		result+="		\t\t<CustomUnit>(0=NOK; 1=OK)</CustomUnit>\n"	
		result+="		\t\t<value>1</value>\n"
		result+="	\t</result>\n"
		result+="   \t<result>\n"   
		result+="   	\t\t<channel>$i</channel>\n"
		result+="		\t\t<Unit>custom</Unit>\n"		
		result+="		\t\t<CustomUnit>(0=NOK; 1=OK)</CustomUnit>\n"	
		result+="		\t\t<value>0</value>\n"
		result+="	\t</result>\n"

result+="   \t<text>OK</text>\n"

echo -e $result


Created on Jun 4, 2020 3:46:50 PM

Last change on Jun 4, 2020 3:52:53 PM by  Felix Wiesneth [Paessler Support]

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.