[Xymon] Dir size check "Could not determine size of directory"
Betsy Schwartz
betsy.schwartz at gmail.com
Wed Feb 12 15:22:54 CET 2014
That was it, thank you! A space at the end of the file name.
On Wed, Feb 12, 2014 at 12:55 AM, Henrik Størner <henrik at hswn.dk> wrote:
> On 12-02-2014 03:37, Betsy Schwartz wrote:
>
>> ! /mm/foo/request/chkpt
>> Could not determine size of directory /mm/foo/request/chkpt
>>
>> client-local config:
>> [foo.example.com]
>> dir:/mm/foo/request/chkpt
>>
>> analysis.cfg:
>> HOST=foo.example.com <http://foo.example.com>
>>
>> DIR /mm/foo/request/chkpt yellow size<25622560
>>
>> Looking at client data I see:
>>
>> [dir:/mm/foo/request/chkpt ]
>> 2627096 /mm/foo/request/chkpt
>>
>> Any thoughts?
>>
>
>
> The only thing that sticks out to my eye is that there seems to be some
> whitespace after the directory name in the client data:
>
> > [dir:/mm/foo/request/chkpt ]
>
> I think this might be the cause - when the client runs the 'du' command,
> it is passed to a shell which will ignore the trailing whitespace; but the
> analysis module back on the Xymon server treats it as a valid part of the
> directory name and so it cannot match the name from the client data with
> the name from the analysis.cfg file.
>
> Could you check the client-local.cfg file and see if there is a trailing
> space in the "dir:/mm/foo/request/chkpt" line ?
>
>
> Regards,
> Henrik
>
> _______________________________________________
> 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/20140212/f5488be2/attachment.html>
More information about the Xymon
mailing list