[Xymon] xymon-client: Exclude directory from being checked by client.

Norbert Kriegenburg norbert.kriegenburg at de.ibm.com
Mon May 14 15:11:47 CEST 2018


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
EXCLUDES="$EXCLUDES -x additional_fs_type_to_ignore"

But these excludes only work for FS types, not for mount points.
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.

Norbert





From:	"Jean-Pierre Pitout [ MTN South Africa ]"
            <Jean-Pierre.Pitout at mtn.com>
To:	Jeremy Ruffer <jeremy.ruffer at gmail.com>
Cc:	xymon <xymon at xymon.com>
Date:	14/05/2018 14:52
Subject:	Re: [Xymon] xymon-client: Exclude directory from being checked
            by client.
Sent by:	"Xymon" <xymon-bounces at xymon.com>



Hi Jeremy, thank you for your response!

We're running RHEL and the xymon-client is using df for disk checks.

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.

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.

Regards,
         ________________________________________________

          Jean-Pierre Pitout [ MTN South Africa ]
          Senior Linux Engineer (RHCA)
          IS Client Server Line-Of-Business Linux
          ISClientServerLine-of-Business_Linux.ZA at mtn.com



From: Jeremy Ruffer <jeremy.ruffer at gmail.com>
Sent: 14 May 2018 14:34
To: Jean-Pierre Pitout [ MTN South Africa ]
Cc: xymon
Subject: Re: [Xymon] xymon-client: Exclude directory from being checked by
client.

What is the platform and why does checking it cause a problem?

If you are Linux or Unix it may help to add a switch to the df command.

Regards

Jeremt

On Mon, 14 May 2018 13:27 Jean-Pierre Pitout [ MTN South Africa ], <
Jean-Pierre.Pitout at mtn.com> wrote:
  Hi guys,

  Does anyone know how I can exclude a directory from being checked by
  xymon-client for disk checks?

  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.

  Regards,
  JP Pitout

  "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.
  "



  “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. ”
  _______________________________________________
  Xymon mailing list
  Xymon at xymon.com
  http://lists.xymon.com/mailman/listinfo/xymon
“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. ”
_______________________________________________
Xymon mailing list
Xymon at xymon.com
http://lists.xymon.com/mailman/listinfo/xymon



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20180514/261c9728/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20180514/261c9728/attachment.gif>


More information about the Xymon mailing list