[Xymon] Dir size check "Could not determine size of directory"

Henrik Størner henrik at hswn.dk
Wed Feb 12 06:55:50 CET 2014


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




More information about the Xymon mailing list