<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none"><!--P{margin-top:0;margin-bottom:0;} P{margin-top:0;margin-bottom:0;}--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Thanks Norbet,</p>
<p><br>
</p>
<p>I'll take a look at that file and see what I can come up with.</p>
<div id="Signature">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<font size="2" face="Verdana, Geneva, sans-serif"><span style="font-size:10pt"></span></font><i><font size="2" face="Verdana, Geneva, sans-serif"><span style="font-size:10pt"></span></font></i>
<blockquote><i><font size="2" face="Verdana, Geneva, sans-serif"><span style="font-size:10pt">   ________________________________________________<br>
<br>
    Jean-Pierre Pitout [ MTN South Africa ]<br>
    Senior Linux Engineer (RHCA)<br>
    IS Client Server Line-Of-Business Linux<br>
    ISClientServerLine-of-Business_Linux.ZA@mtn.com<br>
<br>
<br>
</span></font></i></blockquote>
</div>
</div>
<div style="color: rgb(33, 33, 33);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>From:</b> Norbert Kriegenburg <norbert.kriegenburg@de.ibm.com><br>
<b>Sent:</b> 14 May 2018 15:11<br>
<b>To:</b> Jean-Pierre Pitout [ MTN South Africa ]<br>
<b>Cc:</b> Jeremy Ruffer; xymon; Xymon<br>
<b>Subject:</b> Re: [Xymon] xymon-client: Exclude directory from being checked by client.</font>
<div> </div>
</div>
<div>
<p><font size="2">As these df calls are located in the xymonclient-linux.sh (for your linux systems) on the client side, you have to add your FS to the EXCLUDES variable in this script, like
</font><br>
<font size="2">EXCLUDES="$EXCLUDES -x additional_fs_type_to_ignore"</font><br>
<br>
<font size="2">But these excludes only work for FS types, not for mount points.</font><br>
<font size="2">Of course you can throw away all the messages (simply add 2>/dev/null after the df calls), but if there is a stale mount or other reason that causes df to hang, this will not help.</font><br>
<br>
<font size="2">Norbert </font><br>
<br>
<br>
<br>
<img alt="Inactive hide details for "Jean-Pierre Pitout [ MTN South Africa ]" ---14/05/2018 14:52:24---Hi Jeremy, thank you for your resp" width="16" height="16" border="0" src="cid:1__=4EBB081EDFD4F0CF8f9e8a93df938690918c4EB@"><font size="2" color="#424282">"Jean-Pierre
 Pitout [ MTN South Africa ]" ---14/05/2018 14:52:24---Hi Jeremy, thank you for your response! We're running RHEL and the xymon-client is using df for disk</font><br>
<br>
<font size="2" color="#5F5F5F">From: </font><font size="2">"Jean-Pierre Pitout [ MTN South Africa ]" <Jean-Pierre.Pitout@mtn.com></font><br>
<font size="2" color="#5F5F5F">To: </font><font size="2">Jeremy Ruffer <jeremy.ruffer@gmail.com></font><br>
<font size="2" color="#5F5F5F">Cc: </font><font size="2">xymon <xymon@xymon.com></font><br>
<font size="2" color="#5F5F5F">Date: </font><font size="2">14/05/2018 14:52</font><br>
<font size="2" color="#5F5F5F">Subject: </font><font size="2">Re: [Xymon] xymon-client: Exclude directory from being checked by client.</font><br>
<font size="2" color="#5F5F5F">Sent by: </font><font size="2">"Xymon" <xymon-bounces@xymon.com></font><br>
</p>
<hr style="color:#8091A5" size="2" width="100%" noshade="" align="left">
<br>
<br>
<br>
<font face="Calibri">Hi Jeremy, thank you for your response! </font><br>
<br>
<font face="Calibri">We're running RHEL and the xymon-client is using df for disk checks.
</font><br>
<br>
<font face="Calibri">Recently Docker was installed and configured to use specific mount point for devicemapper (/app2/docker/devicemapper). Not sure if this is standard as it was configured by the developers.
</font><br>
<br>
<font face="Calibri">Some issue is causing the client to hang when checking disk utilisation on this mount point. The issue could be with df itself but I thought excluding it from the check would be the simplest option.</font><br>
<br>
<font face="Calibri">Regards,</font>
<ul>
<ul>
<i><font size="2" face="Verdana">________________________________________________<br>
<br>
Jean-Pierre Pitout [ MTN South Africa ]<br>
Senior Linux Engineer (RHCA)<br>
IS Client Server Line-Of-Business Linux<br>
ISClientServerLine-of-Business_Linux.ZA@mtn.com<br>
<br>
</font></i></ul>
</ul>
<hr size="2" width="100%" align="left">
<br>
<b><font face="Calibri">From:</font></b><font face="Calibri"> Jeremy Ruffer <jeremy.ruffer@gmail.com></font><b><font face="Calibri"><br>
Sent:</font></b><font face="Calibri"> 14 May 2018 14:34</font><b><font face="Calibri"><br>
To:</font></b><font face="Calibri"> Jean-Pierre Pitout [ MTN South Africa ]</font><b><font face="Calibri"><br>
Cc:</font></b><font face="Calibri"> xymon</font><b><font face="Calibri"><br>
Subject:</font></b><font face="Calibri"> Re: [Xymon] xymon-client: Exclude directory from being checked by client.</font><font color="#212121" face="Calibri">
</font><br>
<font color="#212121" face="Calibri"></font><br>
<font color="#212121" face="Calibri">What is the platform and why does checking it cause a problem?
</font><br>
<br>
<font color="#212121" face="Calibri">If you are Linux or Unix it may help to add a switch to the df command.</font><br>
<br>
<font color="#212121" face="Calibri">Regards</font><br>
<br>
<font color="#212121" face="Calibri">Jeremt</font><br>
<br>
<font color="#212121" face="Calibri">On Mon, 14 May 2018 13:27 Jean-Pierre Pitout [ MTN South Africa ], <</font><a href="mailto:Jean-Pierre.Pitout@mtn.com"><u><font color="#0000FF" face="Calibri">Jean-Pierre.Pitout@mtn.com</font></u></a><font color="#212121" face="Calibri">>
 wrote:</font>
<ul>
<font face="Calibri">Hi guys,<br>
<br>
Does anyone know how I can exclude a directory from being checked by xymon-client for disk checks?<br>
<br>
This has to be done client side because it appears to be breaking the client itself. Configuring the server to ignore the check won't prevent the client from trying to run checks on this directory.<br>
<br>
Regards,<br>
JP Pitout<br>
</font><br>
<b><font color="#1F497D" face="Calibri">"This email is confidential. If you have received it in error, you are on notice of its status. Please notify us immediately by reply email and then delete this message from your system. Please do not copy it or use it
 for any purpose, or disclose its contents to any other person as to do so could be a breach of confidentiality. Thank you for your co-operation. "</font></b>
<p><font face="Calibri"><br>
“The information contained in this message is intended solely for the individual to whom it is specifically and originally addressed. This message and its contents may contain confidential or privileged information from MTN Group. If you are not the intended
 recipient, you are hereby notified that any disclosure or distribution, is strictly prohibited. If you receive this email in error, please notify MTN Group immediately and delete it. MTN Group does not accept any liability or responsibility if action is taken
 in reliance on the contents of this information . Note that all personal emails are not authorized by MTN Group. ”
</font><br>
<font color="#212121" face="Calibri">_______________________________________________<br>
Xymon mailing list</font><u><font color="#0000FF" face="Calibri"><br>
</font></u><a href="mailto:Xymon@xymon.com" target="_blank"><u><font color="#0000FF" face="Calibri">Xymon@xymon.com</font></u></a><u><font color="#0000FF" face="Calibri"><br>
</font></u><a href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank"><u><font color="#0000FF" face="Calibri">http://lists.xymon.com/mailman/listinfo/xymon</font></u></a></p>
</ul>
<font face="Calibri">“The information contained in this message is intended solely for the individual to whom it is specifically and originally addressed. This message and its contents may contain confidential or privileged information from MTN Group. If you
 are not the intended recipient, you are hereby notified that any disclosure or distribution, is strictly prohibited. If you receive this email in error, please notify MTN Group immediately and delete it. MTN Group does not accept any liability or responsibility
 if action is taken in reliance on the contents of this information . Note that all personal emails are not authorized by MTN Group. ”
</font><tt><font size="2">_______________________________________________<br>
Xymon mailing list<br>
Xymon@xymon.com<br>
</font></tt><tt><font size="2"><a href="http://lists.xymon.com/mailman/listinfo/xymon">http://lists.xymon.com/mailman/listinfo/xymon</a></font></tt><tt><font size="2"><br>
</font></tt><br>
<br>
<br>
</div>
</div>
“The information contained in this message is intended solely for the individual to whom it is specifically and originally addressed. This message and its contents may contain confidential or privileged information from MTN Group. If you are not the intended
 recipient, you are hereby notified that any disclosure or distribution, is strictly prohibited. If you receive this email in error, please notify MTN Group immediately and delete it. MTN Group does not accept any liability or responsibility if action is taken
 in reliance on the contents of this information . Note that all personal emails are not authorized by MTN Group. ”
</body>
</html>