Xymon Mailing List Archive search

Files test for directory size

2 messages in this thread

list Michael Frey · Thu, 3 Aug 2006 17:54:22 -0400 ·
I have the DIR test set up, but the client is not reporting anything back 
to the server.

I followed the example files from your Hobbit site.

All looks like it should be passing the du command rersults, but the below 
shows up in the client host log file:

[dir:/var/spool/mqueue
]
du: `/var/spool/mqueue\r': No such file or directory

[dir:/var/log/hobbit
]
du: `/var/log/hobbit\r': No such file or directory

I cannot figure out where tie '\r' is being pulled from.

Michael Frey


This message, and any attachments to it, may contain information
that is privileged, confidential, and exempt from disclosure under
applicable law.  If the reader of this message is not the intended
recipient, you are notified that any use, dissemination,
distribution, copying, or communication of this message is strictly
prohibited.  If you have received this message in error, please
notify the sender immediately by return e-mail and delete the
message and any attachments.  Thank you.
list Henrik Størner · Fri, 4 Aug 2006 00:53:14 +0200 ·
quoted from Michael Frey
On Thu, Aug 03, 2006 at 05:54:22PM -0400, Michael Frey wrote:
I have the DIR test set up, but the client is not reporting anything back 
to the server.

I followed the example files from your Hobbit site.

All looks like it should be passing the du command rersults, but the below 
shows up in the client host log file:

[dir:/var/spool/mqueue
]
Shame on You :-) You've edited the client-local.cfg file with a
Windows editor, which uses <CR><LF> as the line terminator, instead
of the one true Unix way of only <LF>.

Strip the <CR> - a.k.a ctrl-M - characters from the file, and it should
be allright.


Regards,
Henrik

PS: Please dont cc me on mails going to the Hobbit list. I've got enough
    mail in my inbox already.