<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-15"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1">*I think* there is something in the man page or on the
mailing list (i forget where) that said that if you use the DIR
directive, it uses du and you have to specify the size in bytes, so 10m
wont work in this case.  Check the mailing list archives about this..
there is some help out there.  HTH<br>
<br>
Tony<br>
</font><br>
On 09/16/2010 12:47 PM, Martin Flemming wrote:
<blockquote cite="mid:alpine.LRH.2.00.1009161836220.23834@pal31.desy.de"
 type="cite"><br>
Grmmph, you are right ..
  <br>
  <br>
But what'S your exactly problem ...
  <br>
  <br>
No alert or no real test and graph  for this directory ?
  <br>
  <br>
cheers,
  <br>
    martin
  <br>
  <br>
On Thu, 16 Sep 2010, Johan Sjöberg wrote:
  <br>
  <br>
  <blockquote type="cite">When I read that man-page, I understand it as
du is always run on the directory that is specified in
dir:DIRECTORYNAME
    <br>
    <br>
So you should only add this to the correct host in client-local.cfg.
    <br>
dir:/var/adm
    <br>
    <br>
    <br>
>From the man-page:
    <br>
"A directory monitoring entry is used to watch the size of a directory
and any sub-directories. It looks like this:
    <br>
    <br>
    <br>
   dir:DIRECTORYNAME
    <br>
    <br>
The dir:DIRECTORYNAME line defines the filename of the file to monitor.
As with the "log:" entries, a filename enclosed in backticks means a
command which will generate the filenames dynamically. The Xymon client
will run the du(1) command with the directoryname as parameter, and
send the output back to the Xymon server."
    <br>
    <br>
/Johan
    <br>
    <br>
    <blockquote type="cite">-----Original Message-----
      <br>
From: Martin Flemming [<a class="moz-txt-link-freetext" href="mailto:martin.flemming@desy.de">mailto:martin.flemming@desy.de</a>]
      <br>
Sent: den 16 september 2010 15:44
      <br>
To: <a class="moz-txt-link-abbreviated" href="mailto:xymon@xymon.com">xymon@xymon.com</a>
      <br>
Subject: RE: [xymon] monitor a directory size
      <br>
      <br>
      <br>
You've have to add
      <br>
      <br>
dir:`du -k /var/adm`
      <br>
      <br>
in your client-local.cfg ...
      <br>
      <br>
then you've got hte size of your directory
      <br>
<a class="moz-txt-link-freetext" href="https://it-xymon3.desy.de/xymon/help/manpages/man5/client">https://it-xymon3.desy.de/xymon/help/manpages/man5/client</a>-
      <br>
local.cfg.5.html
      <br>
      <br>
cheers,
      <br>
     martin
      <br>
      <br>
On Thu, 16 Sep 2010, Johan Sjöberg wrote:
      <br>
      <br>
      <blockquote type="cite">I don't understand exactly what you mean,
but you need to add it both to
        <br>
      </blockquote>
client-local.cfg and to hobbit-clients.cfg. Both these files are
located on the
      <br>
Xymon server. Client-local.cfg tells the client to send information
about that
      <br>
directory to the Xymon server, and hobbit-clients.cfg tells the server
what
      <br>
to alert on in that information.
      <br>
      <blockquote type="cite"><br>
/Johan
        <br>
        <br>
        <blockquote type="cite">-----Original Message-----
          <br>
From: Kevin Kelly [<a class="moz-txt-link-freetext" href="mailto:kkelly@lifetouch.com">mailto:kkelly@lifetouch.com</a>]
          <br>
Sent: den 16 september 2010 15:08
          <br>
To: <a class="moz-txt-link-abbreviated" href="mailto:xymon@xymon.com">xymon@xymon.com</a>
          <br>
Subject: RE: [xymon] monitor a directory size
          <br>
          <br>
I did add it to client-local.cfg on the client server, is
client-local.cfg a
          <br>
        </blockquote>
      </blockquote>
different
      <br>
      <blockquote type="cite">
        <blockquote type="cite">file?
          <br>
          <br>
-----Original Message-----
          <br>
From: Johan Sjöberg [<a class="moz-txt-link-freetext" href="mailto:johan.sjoberg@deltamanagement.se">mailto:johan.sjoberg@deltamanagement.se</a>]
          <br>
Sent: Thursday, September 16, 2010 7:47 AM
          <br>
To: <a class="moz-txt-link-abbreviated" href="mailto:xymon@xymon.com">xymon@xymon.com</a>
          <br>
Subject: RE: [xymon] monitor a directory size
          <br>
          <br>
Have you added it to client-local.cfg as well?
          <br>
          <br>
/Johan
          <br>
          <br>
-----Original Message-----
          <br>
From: Kevin Kelly [<a class="moz-txt-link-freetext" href="mailto:kkelly@lifetouch.com">mailto:kkelly@lifetouch.com</a>]
          <br>
Sent: den 16 september 2010 14:40
          <br>
To: <a class="moz-txt-link-abbreviated" href="mailto:xymon@xymon.com">xymon@xymon.com</a>
          <br>
Subject: RE: [xymon] monitor a directory size
          <br>
          <br>
Still nothing!
          <br>
          <br>
-----Original Message-----
          <br>
From: Williams, Doug (Consultant-RIC)
          <br>
        </blockquote>
      </blockquote>
[<a class="moz-txt-link-freetext" href="mailto:Doug.Williams@dexone.com">mailto:Doug.Williams@dexone.com</a>]
      <br>
      <blockquote type="cite">
        <blockquote type="cite">Sent: Wednesday, September 15, 2010
4:31 PM
          <br>
To: <a class="moz-txt-link-abbreviated" href="mailto:xymon@xymon.com">xymon@xymon.com</a>
          <br>
Subject: RE: [xymon] monitor a directory size
          <br>
          <br>
You need to reverse  SIZE>10m to SIZE<10m  if wanting to alert if
greater
          <br>
        </blockquote>
      </blockquote>
than
      <br>
      <blockquote type="cite">
        <blockquote type="cite">10m.
          <br>
          <br>
          <br>
-----Original Message-----
          <br>
From: Kevin Kelly [<a class="moz-txt-link-freetext" href="mailto:kkelly@lifetouch.com">mailto:kkelly@lifetouch.com</a>]
          <br>
Sent: Wednesday, September 15, 2010 3:32 PM
          <br>
To: <a class="moz-txt-link-abbreviated" href="mailto:xymon@xymon.com">xymon@xymon.com</a>
          <br>
Subject: RE: [xymon] monitor a directory size
          <br>
          <br>
That had no effect!
          <br>
          <br>
          <br>
          <br>
From: <a class="moz-txt-link-abbreviated" href="mailto:sholmes42@gmail.com">sholmes42@gmail.com</a> [<a class="moz-txt-link-freetext" href="mailto:sholmes42@gmail.com">mailto:sholmes42@gmail.com</a>] On Behalf
          <br>
        </blockquote>
      </blockquote>
Of
      <br>
      <blockquote type="cite">
        <blockquote type="cite">Steve Holmes
          <br>
Sent: Wednesday, September 15, 2010 8:59 AM
          <br>
To: <a class="moz-txt-link-abbreviated" href="mailto:xymon@xymon.com">xymon@xymon.com</a>
          <br>
Subject: Re: [xymon] monitor a directory size
          <br>
          <br>
          <br>
          <br>
On Wed, Sep 15, 2010 at 9:51 AM, Kevin Kelly
<a class="moz-txt-link-rfc2396E" href="mailto:kkelly@lifetouch.com"><kkelly@lifetouch.com></a>
          <br>
wrote:
          <br>
          <br>
    I am trying to use the DIR in hobbit-client.cfg, but not having
          <br>
any luck. Does anyone use this?
          <br>
          <br>
          <br>
          <br>
    Xymon server- hobbit-client.cfg
          <br>
          <br>
    Syntax that I used:
          <br>
          <br>
    DIR         /var/adm  yellow SIZE>10m track
          <br>
          <br>
          <br>
          <br>
    Client- localclient.cfg
          <br>
          <br>
    DIR /var/adm
          <br>
          <br>
          <br>
          <br>
    Any suggestions?
          <br>
          <br>
          <br>
          <br>
          <br>
Try putting the word yellow after the SIZE>10m.
          <br>
          <br>
          <br>
          <br>
Steve
          <br>
--
          <br>
          <br>
Truth never damages a cause that is just. -Mohandas Karamchand Gandhi
          <br>
(1869-1948)
          <br>
          <br>
          <br>
__________________________________________________________
          <br>
____________
          <br>
This email has been scanned by the MessageLabs Email Security System.
          <br>
For more information please visit <a class="moz-txt-link-freetext" href="http://www.messagelabs.com/email">http://www.messagelabs.com/email</a>
          <br>
__________________________________________________________
          <br>
___________
          <br>
          <br>
          <br>
To unsubscribe from the xymon list, send an e-mail to
          <br>
<a class="moz-txt-link-abbreviated" href="mailto:xymon-unsubscribe@xymon.com">xymon-unsubscribe@xymon.com</a>
          <br>
          <br>
          <br>
          <br>
__________________________________________________________
          <br>
____________
          <br>
This email has been scanned by the MessageLabs Email Security System.
          <br>
For more information please visit <a class="moz-txt-link-freetext" href="http://www.messagelabs.com/email">http://www.messagelabs.com/email</a>
          <br>
__________________________________________________________
          <br>
___________
          <br>
          <br>
To unsubscribe from the xymon list, send an e-mail to
          <br>
<a class="moz-txt-link-abbreviated" href="mailto:xymon-unsubscribe@xymon.com">xymon-unsubscribe@xymon.com</a>
          <br>
          <br>
          <br>
          <br>
To unsubscribe from the xymon list, send an e-mail to
          <br>
<a class="moz-txt-link-abbreviated" href="mailto:xymon-unsubscribe@xymon.com">xymon-unsubscribe@xymon.com</a>
          <br>
          <br>
          <br>
          <br>
__________________________________________________________
          <br>
____________
          <br>
This email has been scanned by the MessageLabs Email Security System.
          <br>
For more information please visit <a class="moz-txt-link-freetext" href="http://www.messagelabs.com/email">http://www.messagelabs.com/email</a>
          <br>
__________________________________________________________
          <br>
___________
          <br>
          <br>
To unsubscribe from the xymon list, send an e-mail to
          <br>
<a class="moz-txt-link-abbreviated" href="mailto:xymon-unsubscribe@xymon.com">xymon-unsubscribe@xymon.com</a>
          <br>
          <br>
        </blockquote>
        <br>
        <br>
To unsubscribe from the xymon list, send an e-mail to
        <br>
<a class="moz-txt-link-abbreviated" href="mailto:xymon-unsubscribe@xymon.com">xymon-unsubscribe@xymon.com</a>
        <br>
        <br>
      </blockquote>
    </blockquote>
    <br>
To unsubscribe from the xymon list, send an e-mail to
    <br>
<a class="moz-txt-link-abbreviated" href="mailto:xymon-unsubscribe@xymon.com">xymon-unsubscribe@xymon.com</a>
    <br>
    <br>
    <br>
    <br>
  </blockquote>
  <br>
Gruss
  <br>
  <br>
       Martin Flemming
  <br>
  <br>
  <br>
______________________________________________________
  <br>
Martin Flemming
  <br>
DESY / IT          office : Building 2b / 008a
  <br>
Notkestr. 85       phone  : 040 - 8998 - 4667
  <br>
22603 Hamburg      mail   : <a class="moz-txt-link-abbreviated" href="mailto:martin.flemming@desy.de">martin.flemming@desy.de</a>
  <br>
______________________________________________________
  <br>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
To unsubscribe from the xymon list, send an e-mail to
<a class="moz-txt-link-abbreviated" href="mailto:xymon-unsubscribe@xymon.com">xymon-unsubscribe@xymon.com</a>
  </pre>
</blockquote>
</body>
</html>