[Xymon] Dir size check "Could not determine size of directory"
Betsy Schwartz
betsy.schwartz at gmail.com
Wed Feb 12 03:37:00 CET 2014
Trying to do a directory size alert but I am getting a yellow alert:
! /mm/foo/request/chkpt
Could not determine size of directory /mm/foo/request/chkpt
The directory exists and xymon can read it. It does take a very
long time, up to two minutes. Might there be a timeout and if so might
I be able to change it?
(but that's why we need to alert, because this dir is growing too large...)
-bash-3.2$ whoami
xymon
-bash-3.2$ time du -s /mm/foo/request/chkpt
2627560 /mm/foo/request/chkpt
real 1m29.059s
user 0m0.115s
sys 0m2.259s
client-local config:
[foo.example.com]
log:/var/log/messages:102400
ignore MARK
ignore be2net
dir:/mm/foo/request/chkpt
analysis.cfg:
HOST=foo.example.com
LOAD 12.0 99.0
MEMPHYS 100 101
MEMACT 70 80
MEMSWAP 60 95
DIR /mm/foo/request/chkpt yellow size<25622560
PROC crond 1 -1 yellow
PROC nscd 1 -1 yellow
UP 30m 9999d
Looking at client data I see:
[dir:/mm/foo/request/chkpt ]
2627096 /mm/foo/request/chkpt
Any thoughts?
server and client are both 64-bit RHEL5 running xymon 4.3.10
(hope to update soon!)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20140211/ceed209e/attachment.html>
More information about the Xymon
mailing list